PDA

View Full Version : Space Invaders remade



NKN
06-11-2013, 01:29 AM
I made a space invaders game in Java for lols.

Basically all you have to do to start is click the up arrow, and then you're off!
http://puu.sh/3cZZb.png

Code: https://github.com/NKNScripts/SpaceInvaders/
Jar file is in the .rar


Sorry for the messy code, my first time doing something like this, it's pretty.. all over the place.

Ian
06-11-2013, 01:47 AM
Getting past Lv17 is impossible, they pretty much just teleport to the bottom.

Also they only bounce off the wall if the top block of that column is there, if the middle or bottom of the column then they will just go right through the wall.

Sin
06-11-2013, 01:49 AM
Nice :D

NKN
06-11-2013, 01:52 AM
Getting past Lv17 is impossible, they pretty much just teleport to the bottom.

Also they only bounce off the wall if the top block of that column is there, if the middle or bottom of the column then they will just go right through the wall.

only happens sometimes.
you killed the ones it didn't check yet, and then the one that is left has already been checked. D:

happy hippo
06-11-2013, 01:54 AM
aweshummmm havent played in years ha

grats
06-11-2013, 01:56 AM
rofl

have it send a score when you lose I'll webanize it


SOME HEALTHY COMPETITION

Ian
06-11-2013, 02:26 AM
New Record!

http://i.imgur.com/w3mPctW.png

E: Tweaked my script a bit, got even higher. At this level many of the bullets get missed because it bounces too fast :p

http://i.imgur.com/eRNxnMu.png

E1: Here's the code if anyone's interested:

program NKNSpaceInvaderRemakePlayer;
{$I SRL/SRL.Simba}
begin
WriteLn('Waiting For FKey1');
repeat
Wait(100)
until(IsFKeyDown(1));
WriteLn('Press FKey2 to Stop');
Wait(1000);
repeat
PressKey(vk_up);
until(IsFKeyDown(2));
end.

NKN
06-11-2013, 03:54 AM
New Record!

http://i.imgur.com/w3mPctW.png

E: Tweaked my script a bit, got even higher. At this level many of the bullets get missed because it bounces too fast :p

http://i.imgur.com/eRNxnMu.png

E1: Here's the code if anyone's interested:

program NKNSpaceInvaderRemakePlayer;
{$I SRL/SRL.Simba}
begin
WriteLn('Waiting For FKey1');
repeat
Wait(100)
until(IsFKeyDown(1));
WriteLn('Press FKey2 to Stop');
Wait(1000);
repeat
PressKey(vk_up);
until(IsFKeyDown(2));
end.

Dare you to try now

Ian
06-11-2013, 04:25 AM
Dare you to try now

Now a bot does it just as well as a real player, but because of the massive speed increase in this version it becomes impossible for either around level 5.

NKN
06-11-2013, 02:07 PM
Now a bot does it just as well as a real player, but because of the massive speed increase in this version it becomes impossible for either around level 5.

I think I added the wrong jar file.

grats
06-12-2013, 02:01 AM
I reckon you guys are mad cuz I am top score

http://i.imgur.com/5X5veHl.jpg

rj
06-17-2013, 03:39 PM
http://img819.imageshack.us/img819/2064/pji.png

Did it legit..

samerdl
06-21-2013, 06:42 PM
How about a pause button? had to interact with something else on my laptop and i failed on level 2. Cant pause the game =(

Wetish
06-27-2013, 05:13 AM
Did it legit

http://i.imgur.com/Xxn35xk.png

NKN
06-27-2013, 02:19 PM
Did it legit

http://i.imgur.com/Xxn35xk.png

lol