Nuke.io
NUKE.IO
ANTI-NUCLEAR WARFARE GAME
About
This game is about an unknown country attacking your country with nuclear missiles. You'll as a soldier have to use an anti-nuclear warfare truck/gun to destroy the nuclear missiles!
This game was made because there aren't enough HTML5 games on repl.it that actually involve movement and shooting and static websites. However, I am planning to make this multiplayer in version 2 (nuke2.io). Please comment on any concept ideas for how you want to see it!
Gameplay
- Left-arrow to move truck left (or A)
- Right-arrow to move truck right (or D)
- Mouse to aim
- Click to shoot
Mobile
Note: On IOS 13, make sure to request mobile website.
- Press left button to move left, etc.
- Click to shoot
Tips and tricks
This game is more about getting carpal tunnel than shooting accurately.
There's an air strike--just a heads up!
As the time moves right, the speed of the bombs look like this. After the graph ends, if you are on infinite mode, it will repeat itself, and if you are on normal mode, the game would be finished.
Realizations
Although this game is very fun and addicting, there are some things to note:
- The nuclear explosions are way too small. They would cover up the entire page in real life.
- It would be impossible to create that many nuclear bombs: too expensive. (Is there even enough uranium?) And plus, one nuclear detonation is enough to destroy a whole city, so such a concentrated attack would be too useless.
- There has never been a nuclear airstrike as far as I know.
Closing
We need more p5.js games.
PLEASE VOTE UP IF YOU LIKED IT!
Also, comment ideas below for how nuke2.io (multiplayer) should look!
i.e., give comments below for some concept ideas like how gameplay should be, should it be players working together or attacking each other, etc.
HAVE FUN!
Happy coding!
nice
thanks :D @Leroy01010
this is awesome
Thanks! @DUDEMASTER169
lol it just says loading assests
@nN34398Ff wish I could see the working kind, stupid computer
Lol :p
Is this a big thing? It usually takes ~ 40 seconds first load @nN34398Ff
1,289 on infinite, -6231 on regular
Very funny -6231
nice job!
That's really good! @IndyCarter
Ye
The air strike is impossible :p @IndyCarter
ReferenceError: $ is not defined
at /script.js:266:1
ReferenceError: $ is not defined
at setup (/script.js:143:3)
at _setup (https://cdn.jsdelivr.net/npm/[email protected]/lib/p5.js:63048:27)
at _runIfPreloadsAreDone (https://cdn.jsdelivr.net/npm/[email protected]/lib/p5.js:62986:27)
at p5._decrementPreload (https://cdn.jsdelivr.net/npm/[email protected]/lib/p5.js:62995:27)
at Image.img.onload (https://cdn.jsdelivr.net/npm/[email protected]/lib/p5.js:79376:24)
This is all it says
!!!
hmmm ok @nN34398Ff
It doesn't work
I got the early preview xD
there aren't enough HTML5 games on repl.it
There aren't enough games that are not HTML on repl.it lol
Oh and it's too hard. My score was like -20000 xD
But I would love you to make it multiplayer! Well done!
Thank you! Lol @DynamicSquid
I got
-11,711
I think the second game should actually cause objects to be hurled at you (if possible) in higher levels.
I love nuclear war, let the bombs fall... (jk)
lol :P @Thehappysquid
@Coder100 this is cool!
Thanks! @Thehappysquid
It's for me, we are doing the code jam @Thehappysquid
um...
it's so hard
i mean if you don't get the first five or so shots the rest come really fast
should I make it easier? @avibeskrowni
ok Implemented! @avibeskrowni
Tell me if it's still too hard @avibeskrowni
there are plenty of games on repl which is why for a period of time people stopped making them
Oh, ok :p @AdCharity
Meh, could be better
Work will continue again after the code jam @AdCharity
@avibeskrowni and I started a p5 game but I have no idea how to make it multiplayer @Coder100
Ah, you would need a backend like node.js and may I recommend socket.io for real-time web sockets? @bgrubert
@Coder100 You should make a tutorial on that
@bgrubert I don't want to come out as just supporting my channel, but I made a tutorial yesterday out of pure boredom from self-quarantine lol. Here's the link if you actually want to watch it: Link
@SpicedSpices Thank you!
Lol it appears someone has beat me to it :p @SpicedSpices
@Coder100 You can still make a tutorial on repl.it
@Coder100 It's alright lol
My knowledge of it is pretty basic you could probably explain it better
just curious, are you still working on surviv3? @Coder100
After the code jam, yes @SilentShadowBla