[UPDATE!][Game] Survive2D: will you survive? (prob not)
HELLO HELLO
hello go HELLO HELLOOOOOOOOOOOOOOOOOOOOOOOO
UPDATE1:
don't worry your progress won't be removed (hopfully):
- fixed the tabs thing now time won't pass if you are not playing
- added a leaderboard that you can enter by sending a screenshot of the number of days you survived
- there is arrows pointing towards enemies that are outside the window
- you heal when you kill enemies
- random bug fixes
yes you can tell i ACTUAllY lisened to the feedback, (about the "i'm too busy to update the game" thing, a blender render was taking too long so added the most requested stuff while it's rendering to not waste time)
UPDATE2:
added a pause menu, also keybinds for the tools, fixed some bugs :D
oh and also added a footer for all the smart people that exposed me, :P
also thanks for all the updoots i guess, i mean 170+ i think this is my most updooted post lmao, (because it's no where near the most post i've put effort into)
UPADTE3:
you know what day it is...
UPDATE DAYYY!!!!
-
enemies now are slower at the day, and to make things fair for them they are a bit faster at night
-
added a grenade launcher
-
running on floor makes you faster so now floors are actuall usefull
-
ou can open and close the pause menu using the p in your keyboard
-
i maybe added other stuff but i forgot so yeah..
-
didn't add a mini map, i changed my mind for various reasons
netlify app will be updated in a couple of minutes
ABOUT the leaderboard
so your old screenshots won't count bacause the game was update too much
gameplay
you move with the arrow keys or WASD, you shoot/build/attack using your mouse.
you unlock a tool by clicking on it, it will show you the tool stats as well as the tool price, after that, you can upgrade it by clicking on it while it's selected. if nothing happens then the tool is maxed.
you can also sell building by clicking them while selecting a building tool,
your goal is to survive for as many days as you can, so be aware the zombies and the demons, you can camp, you can fight, you can run do whatever it takes to survive, your health regenerates when it's daytime and you killed all the enemies.
about
this is a quick thing i made for two reasons:
-
- i wanted to fix the abomination that was this game, i mean, the buildings don't stick to a grid???!! it was so stupid, i didn't play his game but i liked the idea. 2D survival game with building and shooting elements..
-
- i wanted to practice typescript so i can move on to postegres and react with typescript and stuff
source code
wow this is really cool! great job!!
@ruiwenge2 thank you so much :P
my favourite thing in this project was the quadtree, it turned the game from a power point presentation to a faster, but equally ugly power point presentation.
@potatojs It's not THAT ugly.
Here is a tip for the newer or worse players: don't under any circumstances get a sword. Get a wooden axe, wooden pickaxe, stone pickaxe, and then immediately go for the shotgun, sniper, or pistol. Killing the enemies will take up too much time without a gun, so i recommend getting the shotgun. Keep getting materials throughout the night to. Also, dont lock yourself in a box. You cant break your own blocks so you will most likely die. Your welcome.
@LiamWhitley it got me to day 83
@CheeseTheRat in fact, you can break your blocks :) just click on then with the mouse, you don t break tjem
zombs.io world gen lmao
@DeanMagee lmao
Its been really fun, especially since the most recent update, and ill be checking in for new updates in the future, and I do have only one tip for the game as of right now, is that you should maybe add more ores, or maybe even more enemies to make it even harder! As of right now though, there's little to no flaws of the game, and I really like the kind of style that it is made in.
@DamienCochran1 thanks :D i'll consider your suuggestions for the future updates, glad you liked the game
https://www.twitch.tv/playerr_dev streaming survive2d :D
@playerrdev Im on school laptop atm this is the only assets I have atm.
well done well made
@DestinNicol thanks :D
@potatojs
Hello! Love your game! I just want to know how you learned to code this... did you use like a website to help you learn or by school...?
(I really want to learn how to make stuff like this)
@AmiteshJinka i'm self though, i started learning from the coding train channel some javascript and programming in general, then ouce i mastered OOP i started leanring some css, html, dom manipulation etc from channels like the net ninja, dev ed, web dev simplified...
then i was interested in physics, so started leanrning some high school physics from khan academy, also some linear algebra and calculus 1 (didn't finish it tho because i did'nt have time) the i've spent about 6 mounth learning about computer science principles from the computer science crash course, and some google searches, then i got interested in networking and full stack-dev so i learned nodejs, express, mongoDB, react, firebase, graphQL, typescript, in this order, THEN i got interested in devops, i bought a raspbery pi, learned, ssh, nginx, docker, port forwarding and netwroking topics from channels like travery media and hussein nasser, that was a couple of weeks ago, then i made this game in 5days just to practice my typescript skills, posted it here, and now i'm learning blender for fun. i took some courses in btween that i can't really remenber where i learned them like design fundemantals, color theory, python, data science and machine learning, but i wasn't much interested in any of these so stoped learning them.
helpful websites and channels:
free code camp (one of the best resources, has everything you need about web dev, i took most of there courses)
W3schools
css tricks
fireship.io
etc.. (i don't remember anymore)
i'm consider myself a hobiest, i'm not planning to work in the software dev industry, so all the stuff i said sould be taken with a grain of salt
the best advice i can give is, don't worry about how much time it took you to learn something, don't compare yourself to others and never think about quiting
@potatojs
Thanks about that (You told me your complete life story, didn't ya?). I don't think I'll be going that much deep into coding; I may stick to what I know now and continue to learn off other people's code.
@AmiteshJinka lmao yes, because everything i learned contrubuted somehow to where i am now.
why? learning new tech is the best! because the more you learn the more insane stuff you can make, you aren't bound anymore by the limitations of tech you know now, for example, if you don't know nodejs (or a backend tech) you can't make an online game, if you don't know design principles you can't make a beautiful app, if you didn't box2D or matterjs you can't make an accurate physiscs simulation, the more you learn the more "boundless" the stuff you can make became.
@potatojs Wow, wise words. Thanks!
if you didn't box2D or matterjs you can't make an accurate physiscs simulation
And if you didn't know physics you couldn't be able to do without them and make something even better lol...
@Baconman321 lmao you are kidding right? creating a well-tested documented feature rich physics engine that's "even better" than box2d sounds like a fever dream to me...
EDIT: ok i didn't phrase it well... what i meant is that of course you can spend a couple years of your life creating the next best physics engine but why? if your goal is simple collision detection, or a simple particule system, or a simple game with basic physics then go for it, create your systems from scratch won't take more than a day anyways, but for accurate physics simulation there is nothing i tried that matched box2D or even was close, software that uses 2d physics like unity didn't choose box2d because "they don't know physics", they chose it because they value their time
@potatojs Well, if everyone had that mindset there would not be box2D (or any other physics engine) at all!
I mean, now that there are good physics engines you don't need to do physics yourself, yeah.
But sometimes, it's fun to simulate physics using your own knowledge versus using a library or plug-in.
And, no. I'm not kidding.
@Baconman321 i don't think the day the creator of box2d decided to write a physics engine there was a lot of good physics engines choices that we have today, yes ik writing your own stuff from scratch is fun when your own stuff is something simple enough, like a particule system for your game, but creating your own box2d? idk it's sounds tidious to me, after all everyone has their own preferences
@Baconman321 i don't think the day the creator of box2d decided to write a physics engine there was a lot of good physics engines choices that we have today, yes ik writing your own stuff from scratch is fun when your own stuff is something simple enough, like a particule system for your game, but creating your own box2d? idk it's sounds tidious to me, after all everyone has their own preferences
@potatojs Yeah, but if they had the mindset that they don't want to write their own physics engine and instead use a simpler, lower quality physics engine then it would be harder to make a game with good physics.
Anyways, the point was that if you don't know something you can't use it to make something beautiful (or better).
@Baconman321 They made box2d because they didn't have the equivelent to box2d and writing box2d was nessisary. They made it to save people time. Now you don't need to write your own, but if you want to, by all means, go for it!
@PixelRunner I know, that's what I was saying.
Review of the game.
In some ways, this reminds me of Minecraft, but it's lots more fun. The 2d style really gives me some nostalgia with those BR adobe flash games.
Overall its a 9/10
UPDATE1:
don't worry your progress won't be removed (hopfully):
fixed the tabs thing now time won't pass if you are not playing
added a leaderboard that you can enter by sending a screenshot of the number of days you survived
there is arrows pointing towards enemies that are outside the window
you heal when you kill enemies
random bug fixes
yes you can tell i ACTUAllY lisened to the feedback, (about the "i'm too busy to update the game" thing, a blender render was taking too long so added the most requested stuff while it's rendering to not waste time)
UPDATE2:
added a pause menu, also keybinds for the tools, fixed some bugs :D
oh and also added a footer for all the smart people that exposed me, :P
also thanks for all the updoots i guess, i mean 170+ i think this is my most updooted post lmao, (because it's no where near the most post i've put effort into)
UPADTE3:
you know what day it is...
UPDATE DAYYY!!!!
enemies now are slower at the day, and to make things fair for them they are a bit faster at night
added a grenade launcher
running on floor makes you faster so now floors are actuall usefull
ou can open and close the pause menu using the p in your keyboard
i maybe added other stuff but i forgot so yeah..
didn't add a mini map, i changed my mind for various reasons
netlify app will be updated in a couple of minutes
ABOUT the leaderboard
so your old screenshots won't count bacause the game was update too much
gameplay
you move with the arrow keys or WASD, you shoot/build/attack using your mouse.
you unlock a tool by clicking on it, it will show you the tool stats as well as the tool price, after that, you can upgrade it by clicking on it while it's selected. if nothing happens then the tool is maxed.
you can also sell building by clicking them while selecting a building tool,
your goal is to survive for as many days as you can, so be aware the zombies and the demons, you can camp, you can fight, you can run do whatever it takes to survive, your health regenerates when it's daytime and you killed all the enemies.
about
this is a quick thing i made for two reasons:
i wanted to fix the abomination that was this game, i mean, the buildings don't stick to a grid???!! it was so stupid, i didn't play his game but i liked the idea. 2D survival game with building and shooting elements..
i wanted to practice typescript so i can move on to postegres and react with typescript and stuff
source code
@omaewashendieru lmao that's A LOT of days, you are gonna stay in the leaderboard for a while...
Please update this, its amazing, i love it.
Cool!
Did you build this on Replit? The nodejs app simply redirects you to netlify
@notTussiez no i coded it in vscode, pushed it to github, hosted it in netlify from github, i then created this node app that rediects you to there. i couldn't host it in repl :(
@potatojs From what I know, VSCode is pretty useful. I'll have to try it sometime.
:(
@notTussiez vscode is the perfect ide, (for me at least),
@potatojs i was wondering, is there a set chance that 2 of the giant devils will spawn every night (9 and after)? I was on night 9 and one spawned at the beginning and one at the end.
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
WHY AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
@LiamWhitley I WAS SO CLOSE TO TOP 3 AND THIS HAS TO HAPPEN
@LiamWhitley also i can prove that this is mine if anyone doubts me but it will have to be in a google drive because i cant upload videos into here.
Nerf the demon giants
i can't move help quick im about to get killed by zombies help someone fast
make so 1000 mats per hit plz
i got so far but could not screen shot it.... sad
I LOVE IT JUST LIKE MINECRAFT (but a little different)
Hey, this is a cool game (think I already commented before) so I wanted to ask - have you started development on any other games recently'?
I have some ideas for many small additions/changes that would make a pretty huge update.
I made it to day 17, but I didn't know what day it was until it showed me on screen or I died. You should definitely consider adding a little counter somewhere in the corner of the screen showing what day I'm on in real-time.
Also, I find it frustrating that sometimes I realize that I shouldn't have placed that wall or floor down and can't break it. this may have been added intentionally for balancing purposes, but I think I should at least be able to break it and get some of the resources back.
This may be a commonly discussed issue, but the day/night cycle is too fast. I think that the day could last about 5-10 minutes and the night could last 2-5 minutes.
A better font choice. The font of the UI doesn't really fit the game IMO, because you are using tahoma over a game that deserves something like bangers or schoolbell or some other handwriting font (that is not comic sans lol). I think that just changing the font could really improve the polish of the game so much.
Also the main menu really doesn't fit the game either. It looks really bland, just a white backdrop with default HTML buttons. I think that this just needs some color, maybe some gameplay footage or a camera constantly panning over the game's terrain, and, of course, a better font once again.
None of these are required to make your game finished, but this is less required: 2d lighting and postprocessing. This will definitely make the game look like a different game.
Anyway, that is all I could think of for now! Happy game dev (idk wat am I supposed 2 say)!! I definitely hope to see some of these features added!
the sprites could definitely be improved as well. The trees don't look that good. Im not sure how I feel about the grid pattern grass as well. The art style is fine but I think some little cartoon shadows here and there for the sprites would improve it.
This game somehow reminded me of Minecraft. But with creatures way more creative! Maybe you should add more things, so that we can do more. You can add gold ores, maybe? And add armor, like Minecraft. Anyways...
REMEMBER TO TAKE how to survive a zombie apocalypse, it'll come in HANDY in this game
This is the BEST GAME EVER
For the next part, I think that you wouldn't want to watch it. Sorrowful suffering in silence...
And very dramatic, too...
DUN DUN DUN
Me suffering the worst possible death ever. Hey, at least it was my first try!
Scene 1: A whole evil mob chasing me
Scene 2: A super evil and annoying mob CHASING ME (uh-oh)
Scene 3: A SUPER SUPER SUPER SUPER SUPER EVIL CROWDED MOB CHASING ME TO DEATH (DUN DUN DUN)
30 minutes later...
Day 5... more zombies and devils and big zombies... yawn
Day 6: More zombies, devils, and big ZOMBIES. Eek
Day 7: Yay, my first wall delayed at least 100 evil creatures in a mob... whew!
Day 8: Uh-oh, new creatures coming in. EXTRA BIG DEVILS CARRYING EXTRA BIG WEAPONS... UH-OH
My last day on Earth... anyways it was 9 days of torture LOL
3 days later...
450 days (I don't have the pfp sadly, because the tab blanked out, but I do have a pfp for another thing, I unlocked all items and upgraded them to the highest level possible).
Congrats to me!
AND A NEW HIGHSCORE (with pfp)!
@CodingElf66 hhh thanks :D
but unfortunately i'm not gonna update it :(
if it is i hard 2hours+ feature prob not gonna add it, but if it is something simple like a new enemie... maybe?
@potatojs And I think you put too much zombies btw.
@CodingElf66 Oof. Good first try. I didn't know that you had to press space and I literally died when the first zombie wave came lol. At least my record was 10 days.
@UltimatePython Wow. Wanna have a competition?
@CodingElf66 I got to day 50 ez.
For some reason, there a lotta stone in the left section of the map, especially near the left border.
Upgrade sword to iron, then it all ez from there.
I was able to take down the super big axe demon with a sword fairly easily without getting hit.
Oh and: don't waste your materials on walls, they don't help much
@Baconman321 ehh WAAAAAAT?
i don't get passed day 20 without cheating :(
i forget if i fixed that bug... but basically when i was making the genStone function, i made a limit to the amount of stone that can be spawned, when the loop reaches that limit is just returns out of the function. the problem is the loop generates rocks starting from the top-left corner (the 0, 0) so there is a change you won't find any stone in the bottom right corner (width, height) :D
@potatojs I got to 450 days, then I pretty much got bored. Once you get the 100 damage gun, you're really unstoppable. But the problem with that one is that it is like 1 shot per 5 secs. I'm actually not kidding.
@potatojs A new enemy! Ok, you can put Minecraft characters, I guess.
@potatojs Technically I left the tab running, so I was at day 18 or so.
But it's not too hard to get to level 20+.
You should make stone regenerate, so far I haven't seen that happen.
@potatojs Maybe add a spider?
@CodingElf66 450DAYS!?!
Thats like 900min/15hours of playing, bruh
@Baconman321 it does, just move around the map don t stay in one area
@potatojs Dude I forgot to close the tab when I was like at 75 days then when I woke up to play again it went there. The day night cycle. lol
@CodingElf66 Ok is there a reward for beating the highest score
@Nathanielx3rd i'm not sure, but I don't think so. You thought upvotes? Well, at least CodingElf got his 8 upvotes for this comments lol
if you close and reopen the tab and click continue the stone, trees, etc with [email protected]
@komainu no they won't
@potatojs it worked for me
@potatojs is not that hard shotgun is OP
@Baconman321 And guns in case you don't want to get close to the big axe guy.
@FlaminHotValdez I used to be able to ez take down the big ax guy with just a sword, but now that they are faster it is a lot harder. I have still done it though, but with a much higher failure rate.
@Baconman321 I just don't risk it lol he 2 hits me
could you show me how to change the amount of recieved items when you use a tool? not for leaderboard, just for fun.
@potatojs my first run, i didn't know i could upgrade tools
@lverde do you want to buff the amount or nerf it? and why?
PLEASE MAKE THE ZOMBIED BURN IN DAY LIGHT THEY R VERY ANNOYINGGG @potatojs
@CodingElf66 my school didnt have how to survive a zombie apocalypse :( it seems like a useful class and I definitely would want to learn how to live.