2 player space invaders (applet)

Discussion in 'Programming General' started by slashshot007, Feb 18, 2010.

2 player space invaders (applet)
  1. Unread #1 - Feb 18, 2010 at 8:31 PM
  2. slashshot007
    Joined:
    May 6, 2006
    Posts:
    164
    Referrals:
    0
    Sythe Gold:
    0

    slashshot007 Active Member

    2 player space invaders (applet)

    Yeah I'm pretty proud of this, I will upload the source in a bit but here's a link to the applet

    http://meteora184.home.comcast.net/~meteora184/SpaceInv/classes/SpaceInv.htm

    The only problem is that it can be slow on some computers (example my own) I made this at my school computer which is very fast so when i got home to try it, it ran very slow. I think the solution would be to multi thread, and i only have one thread. Or possible to have only one class. Whatever the reason is, go ahead and try and play. (requires a friend)

    I also have sounds programmed into it, but for whatever reason they do not work (maybe its just firefox) I'll try and see how to get them running as well.

    [​IMG]

    sigh... I do know that sythe has a bad reputation for getting alot of viruses/ etc.

    Idk how to prove that this is legit, but if a mod could verify for everyone that this is NOT anything else besides a corny game I made that would be nice.
     
  3. Unread #2 - Feb 18, 2010 at 9:09 PM
  4. Jimmy
    Joined:
    Jun 24, 2008
    Posts:
    2,421
    Referrals:
    10
    Sythe Gold:
    25

    Jimmy Ghost
    Retired Sectional Moderator $5 USD Donor

    2 player space invaders (applet)

    I'll vouch that it's clean at the moment of my writing this.

    Your sound works find one chrome (I don't see why it shouldn't work find on any browser, as it appears that your audio clips are in the same directory as your class and you are using the methods of the AudioClip class correctly). As a suggestion, you might want to add some code in your modement method that prevents you from moving your ship off of the screen. Also, placing all of your classes in a Jar file is a good idea to implement in the future.
     
  5. Unread #3 - Feb 18, 2010 at 9:37 PM
  6. slashshot007
    Joined:
    May 6, 2006
    Posts:
    164
    Referrals:
    0
    Sythe Gold:
    0

    slashshot007 Active Member

    2 player space invaders (applet)

    yeah i actually had it so that you cannot move off the screen, and i also had it so that the game would end when one player would die (the other player wins)

    but yeahh seems like i didn't save it or something lol so i'll have to update that again.
     
  7. Unread #4 - Mar 6, 2010 at 5:53 AM
  8. Brendan
    Joined:
    Sep 19, 2009
    Posts:
    8,418
    Referrals:
    4
    Sythe Gold:
    18
    Sythe Awards 2012 Winner Christmas 2015 Valentine's Day 2016 Easter 2016 MushyMuncher Tier 1 Prizebox

    Brendan Your friendly neighbourhood cuck
    $50 USD Donor Retired Sectional Moderator

    2 player space invaders (applet)

    Hehe, my dad saw me playing and we had a 1 on 1 match. Thanks for that :p
     
  9. Unread #5 - May 6, 2010 at 9:17 PM
  10. XeNoS
    Joined:
    May 6, 2010
    Posts:
    6
    Referrals:
    0
    Sythe Gold:
    0

    XeNoS Newcomer

    2 player space invaders (applet)

    Cool, did you do this in the SDL graphics API?
     
  11. Unread #6 - Jun 2, 2010 at 6:10 AM
  12. clint999
    Joined:
    Jun 4, 2008
    Posts:
    110
    Referrals:
    0
    Sythe Gold:
    0

    clint999 Active Member

    2 player space invaders (applet)

    Hehe, my dad saw me playing and we had a 1 on 1 match. Thanks for that
     
  13. Unread #7 - Jun 2, 2010 at 2:59 PM
  14. somanayr
    Joined:
    Apr 25, 2010
    Posts:
    114
    Referrals:
    0
    Sythe Gold:
    0

    somanayr Active Member

    2 player space invaders (applet)

    Nice :) I can't do shit with java.
     
  15. Unread #8 - Dec 6, 2012 at 7:14 AM
  16. qwerty0987
    Joined:
    Dec 6, 2012
    Posts:
    1
    Referrals:
    0
    Sythe Gold:
    0

    qwerty0987 Newcomer

    2 player space invaders (applet)

    where's the source code :)
     
  17. Unread #9 - Dec 6, 2012 at 4:32 PM
  18. somanayr
    Joined:
    Apr 25, 2010
    Posts:
    114
    Referrals:
    0
    Sythe Gold:
    0

    somanayr Active Member

    2 player space invaders (applet)

    [deleted]
     
    Last edited: Feb 2, 2023
  19. Unread #10 - Dec 15, 2012 at 10:42 PM
  20. iJava
    Joined:
    Nov 21, 2011
    Posts:
    1,197
    Referrals:
    11
    Sythe Gold:
    485
    Discord Unique ID:
    220055593568829441

    iJava .Previously known as RSGoldRush
    $200 USD Donor New

    2 player space invaders (applet)

  21. Unread #11 - Jan 15, 2013 at 12:45 PM
  22. Snoopchicken
    Joined:
    Jun 13, 2012
    Posts:
    383
    Referrals:
    0
    Sythe Gold:
    0

    Snoopchicken Forum Addict

    2 player space invaders (applet)

    If you want to increase speed, consider using an AOT compiler to create a .exe file of the project. Excelsior makes an excellent software which can aid you in doing this:

    http://www.excelsior-usa.com/jet.html

    Specifically, you'd want to use JetPackII if you want to distribute your game to other computers (the user would have to initially install the game though). However, you can guarantee that your game would work faster if you were to package it into an executable, which isn't reliant on bytecode. Rather, the classes of your project would be converted to x86 code.
     
  23. Unread #12 - Mar 21, 2013 at 4:14 PM
  24. slashshot007
    Joined:
    May 6, 2006
    Posts:
    164
    Referrals:
    0
    Sythe Gold:
    0

    slashshot007 Active Member

    2 player space invaders (applet)

    this is an applet
     
< Heyo guys, Assembly? | twitter acc &/or followers >

Users viewing this thread
1 guest


 
 
Adblock breaks this site