[GAME] survival game (the best game ever existed)
hi
hi
the story
every one is dead :)
wich is nice by the way :D
what happend
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
the end.
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
almost all the informations u need are in the wiki page and the how to play page
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.
leader board
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?)
stuff
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
#potatoisme
lol i'm in!
@Duvangamer3845
@Duvangamer3845
my best score with shotgun
@potatojs cool, you need to make the best points with the shotgun
sorry i don't think i'm gonna participate :)
when i open the game my pc start crying it runs in 9 fps lol
@Duvangamer3845
@Duvangamer3845
with minigun (best so far)
@NoNameByProgram only shoguns are valids
lol nice!
@NoNameByProgram
@Duvangamer3845 aight imma join
@Duvangamer3845 next round idea: highest score without moving
@Warhawk947 sounds cool
I tryed useing this as a strat
@Warhawk947
@potatojs You did an amazing job.
Very addictive game as well. I am more than impressed
thanks a lot :) @abdullahrajput9
hey @potatojs how do you switch guns? Other than that this is really good:)
thanks :)
you use number keys 1 for the pistol 2 for the minigun ect..
@clawstrike
oh ok, thanks @potatojs. Really good game
"Dani"
This potato guy liked milk or smth?
when did yall learn to code and maybe where
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)
@JamirVega
good luck :)
@JamirVega
wow only two months of JS? @potatojs
yep :)
@BobTheTomatoPie
This file cannot be displayed:
lol you really using the small window? open it in a new tab! but nice
:)
@abdullahrajput9
@potatojs tks add me k!
added u :)
@FluidCycling
@FluidCycling So what? look at mine!😏
@Daniel3210 Don't impersonate the CSS destroyer
This is a very GOOD GAME :D did you use html?
https://fonts.google.com/ and some ez css :)
@MatthewX
no.
i'm a spaguety [email protected]
yeah good job :)
i also did my first special thingy at 150 [email protected]
lol yeah that's why python = CRINGE
and the picture is nice
:)
@DavidLi17
@potatojs i need help pls https://repl.it/talk/ask/how-to-make-a-block/51949
@potatojs Also i need help if you can help that would be nice :) url:https://repl.it/talk/ask/Help-im-not-sure-what-the-problem-is/52250
but you shouldn't save sensitive data because users can change them any time from the console.. you can use localStorage in stuff like a todo list app where users are the ones infected if they change [email protected]
localStorage.setItem('item','value')
here you store a value in a item
something like you can say
localStorage.setItem('userHighScore',highScore)
============
localStorage.getItem('item')
is getting one of the items you already stored
there is i think 5 deferent methods but those are the ones i use :)
@MatthewX
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 ;)
@MatthewX
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 :)
didn't work?REPEAT
those are the stuff i do
@MatthewX
@potatojs I finished the game! :) come play it when you wake up ;) https://repl.it/talk/share/GAMEParkour/52372
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
@potatojs hello! long time no see can u check this out pls? https://repl.it/talk/share/GAMESTUDY-CLICKER/61001
That was a quick repl. @potatojs
yeeeeah
@PizzaisGood
Well anyways Good [email protected]
thanks :)
@PizzaisGood
Np :) @potatojs
Um- if you seen a comment like this its just me from a diff acc- but i forgot the pass in that acc- So, um when i tried adding random pics and stuff to make dif enemies it just like- loading for eternity
Pls help
i like it but when i fork it and put random pictures for enemies- it doesn't do anything- just says loading.... pls help
Little did he know that he would make one of the best browser games ever
I think this is the best game ever existed in replit.
really cool this is one of best games in here
wanna play 1 of my games??
if yes copy paste this to window https://agario-solo-p5-p5.hilkin2008.repl.co/
@Blackout4344 bro that's amazing!
Thanks!! @potatojs
it's hard
I got 44
kewl
I got 239!
does the leaderboard update automatically or do you manually enter the scores
@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 )
You need to add ammo and reload to make it harder, but other than that nice game!
thanks :)
it is actually really hard when u start unlocking new guns and fighting stronger [email protected]
@potatojs yeah, but it's really fun! I like it well done!
thanks :)
@DynamicSquid
@DynamicSquid like you survival game? i think that detail its some fastidious
i don't know what is fastidious...
is it a bad thing?
@Duvangamer3845
fas·tid·i·ous
/faˈstidēəs/
adjective
very attentive to and concerned about accuracy and detail.
"he chooses his words with fastidious care"@potatojs
lol
thanks :P
@CatR3kd
@DynamicSquid pls my parents died yesterday, and i have corona , and my dog has cancer, and tomorrow is my birthday, can u pls make me a moderator for one day. PRETTY PLS
ok
@youaremine
so the next time you wanna fight don't fight in the comment section of my project....ok?
@youaremine