Results 1 to 15 of 15

Thread: Space Invaders remade

  1. #1
    Join Date
    Mar 2012
    Location
    127.0.0.1
    Posts
    3,383
    Mentioned
    95 Post(s)
    Quoted
    717 Post(s)

    Default Space Invaders remade

    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!


    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.
    Attached Files Attached Files
    Last edited by NKN; 06-11-2013 at 02:10 PM.

  2. #2
    Join Date
    Jun 2012
    Posts
    4,867
    Mentioned
    74 Post(s)
    Quoted
    1663 Post(s)

    Default

    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.

  3. #3
    Join Date
    Dec 2011
    Location
    Toronto, Ontario
    Posts
    6,424
    Mentioned
    84 Post(s)
    Quoted
    863 Post(s)

  4. #4
    Join Date
    Mar 2012
    Location
    127.0.0.1
    Posts
    3,383
    Mentioned
    95 Post(s)
    Quoted
    717 Post(s)

    Default

    Quote Originally Posted by BMWxi View Post
    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:

  5. #5
    Join Date
    Feb 2013
    Posts
    303
    Mentioned
    4 Post(s)
    Quoted
    124 Post(s)

    Default

    aweshummmm havent played in years ha

  6. #6
    Join Date
    Feb 2007
    Location
    Colorado, USA
    Posts
    3,716
    Mentioned
    51 Post(s)
    Quoted
    624 Post(s)

    Default

    rofl

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


    SOME HEALTHY COMPETITION
    The only true authority stems from knowledge, not from position.

    You can contact me via matrix protocol: @grats:grats.win or you can email me at the same domain, any user/email address.

  7. #7
    Join Date
    Jun 2012
    Posts
    4,867
    Mentioned
    74 Post(s)
    Quoted
    1663 Post(s)

    Default

    New Record!



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



    E1: Here's the code if anyone's interested:
    Simba Code:
    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.

  8. #8
    Join Date
    Mar 2012
    Location
    127.0.0.1
    Posts
    3,383
    Mentioned
    95 Post(s)
    Quoted
    717 Post(s)

    Default

    Quote Originally Posted by BMWxi View Post
    New Record!



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



    E1: Here's the code if anyone's interested:
    Simba Code:
    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

  9. #9
    Join Date
    Jun 2012
    Posts
    4,867
    Mentioned
    74 Post(s)
    Quoted
    1663 Post(s)

    Default

    Quote Originally Posted by NKN View Post
    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.

  10. #10
    Join Date
    Mar 2012
    Location
    127.0.0.1
    Posts
    3,383
    Mentioned
    95 Post(s)
    Quoted
    717 Post(s)

    Default

    Quote Originally Posted by BMWxi View Post
    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.

  11. #11
    Join Date
    Feb 2007
    Location
    Colorado, USA
    Posts
    3,716
    Mentioned
    51 Post(s)
    Quoted
    624 Post(s)

    Default

    I reckon you guys are mad cuz I am top score

    Last edited by grats; 06-16-2013 at 01:10 AM.
    The only true authority stems from knowledge, not from position.

    You can contact me via matrix protocol: @grats:grats.win or you can email me at the same domain, any user/email address.

  12. #12
    Join Date
    Sep 2010
    Posts
    5,762
    Mentioned
    136 Post(s)
    Quoted
    2739 Post(s)

    Default



    Did it legit..

  13. #13
    Join Date
    Sep 2008
    Posts
    754
    Mentioned
    8 Post(s)
    Quoted
    275 Post(s)

    Default

    How about a pause button? had to interact with something else on my laptop and i failed on level 2. Cant pause the game =(

  14. #14
    Join Date
    Dec 2011
    Location
    United States
    Posts
    960
    Mentioned
    21 Post(s)
    Quoted
    504 Post(s)

    Default

    Did it legit


  15. #15
    Join Date
    Mar 2012
    Location
    127.0.0.1
    Posts
    3,383
    Mentioned
    95 Post(s)
    Quoted
    717 Post(s)

    Default

    Quote Originally Posted by Wetish View Post
    Did it legit

    lol

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •