Skip to content
Sign UpLog In
This post is read-only. Explore Repls and connect with other creators on Community.View Community
The info in this post might be out of date, check out our docs instead. View docs
505

[UPDATE!][Game] Survive2D: will you survive? (prob not)

potatojs
potatojs

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:

    1. 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..
    1. i wanted to practice typescript so i can move on to postegres and react with typescript and stuff

source code

here

1 year ago
You are viewing a single comment. View All
22
CodingElf66
CodingElf66

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!

Screenshot 2021-09-02 6.45.19 PM

Scene 1: A whole evil mob chasing me

Screenshot 2021-09-02 6.39.56 PM

Scene 2: A super evil and annoying mob CHASING ME (uh-oh)

Screenshot 2021-09-02 6.40.05 PM

Scene 3: A SUPER SUPER SUPER SUPER SUPER EVIL CROWDED MOB CHASING ME TO DEATH (DUN DUN DUN)

Screenshot 2021-09-02 6.40.12 PM

30 minutes later...

Day 5... more zombies and devils and big zombies... yawn

Screenshot 2021-09-02 7.38.31 PM

Day 6: More zombies, devils, and big ZOMBIES. Eek

Screenshot 2021-09-02 7.38.55 PM

Day 7: Yay, my first wall delayed at least 100 evil creatures in a mob... whew!

Screenshot 2021-09-02 7.40.14 PM

Day 8: Uh-oh, new creatures coming in. EXTRA BIG DEVILS CARRYING EXTRA BIG WEAPONS... UH-OH

Screenshot 2021-09-02 7.40.44 PM

My last day on Earth... anyways it was 9 days of torture LOL

Screenshot 2021-09-02 7.43.46 PM

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).

Screenshot 2021-09-06 4.28.32 PM

Congrats to me!

AND A NEW HIGHSCORE (with pfp)!

Screenshot 2021-09-06 4.36.34 PM

1 year ago
6
potatojs
potatojs

@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?

1 year ago
5
CodingElf66
CodingElf66

@potatojs
And I think you put too much zombies btw.

1 year ago
1
UltimatePython
UltimatePython

@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.

1 year ago
1
CodingElf66
CodingElf66

@UltimatePython
Wow. Wanna have a competition?

1 year ago
4
Baconman321
Baconman321

@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

1 year ago
3
potatojs
potatojs

@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

1 year ago
3
CodingElf66
CodingElf66

@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.

1 year ago
1
CodingElf66
CodingElf66

@potatojs
A new enemy! Ok, you can put Minecraft characters, I guess.

1 year ago
2
Baconman321
Baconman321

@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.

1 year ago
1
CodingElf66
CodingElf66

@potatojs
Maybe add a spider?

1 year ago
2
potatojs
potatojs

@CodingElf66
450DAYS!?!
Thats like 900min/15hours of playing, bruh

1 year ago
1
potatojs
potatojs

@Baconman321
it does, just move around the map don t stay in one area

1 year ago
1
CodingElf66
CodingElf66

@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

1 year ago
1
Nathanielx3rd
Nathanielx3rd

@CodingElf66
Ok is there a reward for beating the highest score

1 year ago
1
UltimatePython
UltimatePython

@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

1 year ago
1
komainu
komainu

if you close and reopen the tab and click continue the stone, trees, etc with [email protected]

1 year ago
1
1
FlaminHotValdez
FlaminHotValdez

@potatojs
is not that hard shotgun is OP

1 year ago
1
FlaminHotValdez
FlaminHotValdez

@Baconman321
And guns in case you don't want to get close to the big axe guy.

1 year ago
1
Baconman321
Baconman321

@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.

1 year ago
1
FlaminHotValdez
FlaminHotValdez

@Baconman321
I just don't risk it lol he 2 hits me

1 year ago
1
lverde
lverde

could you show me how to change the amount of recieved items when you use a tool? not for leaderboard, just for fun.

1 year ago
1
lverde
lverde

@potatojs
my first run, i didn't know i could upgrade tools

1 year ago
1
potatojs
potatojs

@lverde
do you want to buff the amount or nerf it? and why?

1 year ago
2
alexvip434
alexvip434

PLEASE MAKE THE ZOMBIED BURN IN DAY LIGHT THEY R VERY ANNOYINGGG

@potatojs

1 year ago
1
PixelRunner
PixelRunner

@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.

1 year ago