every one is dead :)
wich is nice by the way :D
so the US made a corona virus cure!! but because of some weird error the cure that half the humanity took it already start turning them to zombies!!zombies killed the animals plants and everyone is dead
or... is it?
so humans are dead but a strange creature called dani (that have mind power stuff) decided to protect the only left potato with his life!! so he build a massive wall to protect it!!but the zombies actually... destroyed the wall and eat the potato.
so now.. it's your mission to revange for the potato and kill all the zombies!!
are you strong enghouf?
game play stuff
leader board and rules
because i don't wanna noobs to hack my game there is a bit of hacking resistance kinda thing in the game, so if you try to hack your high score is returned to 0 and you'll be a cheater fro the rest of your life.
to join the leader board just leave a comment containing a screen shot for your highscore from outside the game screen shots from inside are rejected(i need a screen shot for your high score not your current in game score ok?)
so i was thinking about making the leader board process automatic using some back-end but i changed my mind :)
plus i learned a tone of stuff during developing this
- socket.io is pog
- a have a discord account
- i decided to learn phaser and start making some real game
- did u know that you can take game pad inputs in your website using js?
oh i forget the most important stuff!!
enjoy and leave a comment and open on a new tab... this is everythig see ya in 500 special
You need to add ammo and reload to make it harder, but other than that nice game!
HELLO HELLO HELLO HELLO HELLO
i wanna make a championship on this game, the first phase are: SHOTGUNS, the best score with the shotgun pass to the next round, good luck
if i get your question i learned how to code in python 6mounth ago..
but i wasn't learning anything and i left because the oop in pythoin sucks! so i changed to js 2mounths ago and you can say that i'm going pretty well with it :)
i learned js from multiple resources but the main one was the coding train channel
and some W3school (a website)
here you store a value in a item
something like you can say
is getting one of the items you already stored
there is i think 5 deferent methods but those are the ones i use :)
i looked at it but... reading other people code isn't my profision :)
but if i want to think about something did you tryed:
- resetting the rectangle x and y velocity to 0 whenever you enter a new level?
this is actually all i can think about lol
i worked with platformers a lot i never fall in this problem so i have no clue :)
i don't know :(
maybe try the super debugging strategy
the final tool! the console
did you tried opening the dev tool and just consoling out the values? you probably didn't because.. it works every time ;)
open the game in a new tab open the dev tool (f12) and start console loging the values after and before compliting a level, and if you remarke any inexpecting behaviors from the variables, go to that part of the code and start missing around with it! how tio console.log values just write the value you need and hit enter and the magic of the dev tool will return back the value while running the game!
other tip i can give you is just read this page!
and good luck ;)
just try the debuging method, think about any possible solution, try them!
reread your code, analyse it, draw it's flow on a paper, track the code, run the game and start saying in your head: i click this button this function will be called let's check it! no strange behaviors continue!
if you don't FULLY COMPLITLY inderstand a function/a script in your code, try to understand it or if it's not important just delete the thing!
try commenting out script by script and don't never EVER stop trying or give upping on the project :)
those are the stuff i do
yes you can store anything below 5mB but... this isn't efficient cause any one can check the localStorage and get the password
you need some back-end programing(you need to set a server using node.js and express.js then you set a database using something like mongoDB or simpler like neDB)
but for now you don't wanna miss with those things lol
@Roixiong i manually enter the scores :)
i tough about making it automatic (that's why it's in node)
but that will open a lot of problems from people hacking the database to others hacking the game and getting hundreds and automatically enter the leaderboard without me knowing that
( it's a big mess XD )