Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

My first applet!! bouncing balls

Options
  • 10-05-2001 2:10pm
    #1
    Registered Users Posts: 2,281 ✭✭✭


    http://www.geocities.com/clanhitk

    mmmmm..... particle physics smile.gif

    - Dead Bank Clerk -
    "Build a man a fire, and he'll
    be warm for a day. Set a man on
    fire, and he'll be warm for the
    rest of his life."


Comments

  • Registered Users Posts: 2,281 ✭✭✭DeadBankClerk


    btw, this is after 1st year tcd cs and vinny's uber leet java lectures smile.gif


  • Closed Accounts Posts: 249 ✭✭boddah


    mmm, looks impresive smile.gif

    Durty auld Morris drums... they're fu*kin' great!!


  • Registered Users Posts: 2,699 ✭✭✭Da Bounca


    thats really cool marc


  • Registered Users Posts: 7,626 ✭✭✭smoke.me.a.kipper


    your first applet?? christ!

    your l337 java skillz 0wn me!

    avatar.gif - Ciaran
    <font face="Verdana, Arial" size="2">"It is hard enough to remember my opinions, without also remembering my reasons for them!"
    -Nietzsche</font>


  • Registered Users Posts: 1,684 ✭✭✭Kraken


    pretty slick m8


  • Advertisement
  • Registered Users Posts: 12,309 ✭✭✭✭Bard


    Excellent work for a first Java applet! Nice one... loads nice and fast too smile.gif

    Bard
    "We do know it was we who scorched the sky..."


  • Registered Users Posts: 21,264 ✭✭✭✭Hobbes


    I managed to bounce mine into the UI... do I win a prize?

    nice.


  • Registered Users Posts: 2,281 ✭✭✭DeadBankClerk


    :P yeh hobbes, unfortunatly the balls can move below the bottom of the area they are confined to by (their speed)pixels :(

    gah.

    well to fix it would take some code, and i am finished with that applet now, im making my game now :0)


  • Registered Users Posts: 1,481 ✭✭✭satchmo


    Well that's definitely a good start, nice one. I'm sure you won't have any problem making your game smile.gif


  • Registered Users Posts: 2,660 ✭✭✭Baz_


    The shame of it all, I wouldn't know where to start to get that thing going, which is why I would like to know if there is any chance of getting the code from you.

    If yes thanks a lot and I'll owe you big, if not no biggie, you'll have my respect always anyway, that is absolutely excellent.

    good stuff.

    Baz_


  • Advertisement
  • Registered Users Posts: 2,518 ✭✭✭Hecate


    http://www.iol.ie/~robertg/software/software.htm

    not as l33t as my java scribbling applet, taken line from o reilly's java examples book! smile.gif


  • Registered Users Posts: 932 ✭✭✭yossarin


    thats lovely - really smooth.

    nice one.


  • Registered Users Posts: 2,281 ✭✭✭DeadBankClerk


    i have the applet files on my u:\ drive in college, and on a zip disc, but i have no zip drive at home redface.gif) there is very little code to get the applet working

    a particle is made up of a point and a vector,

    when it hits the side walls the j element of the vetor is multiplied by minus the "bounce", and when it hits the top or bottom the i element is multiplied by minus the bouce.

    to get gravity, i assume the particles have a mass of 1g, and simply add a vector g with magnitude 9.8 downwards to it every second (in actuall fact i add 1/50 time 9.8 to it every 1/50 seconds)


  • Closed Accounts Posts: 218 ✭✭Void


    Are you people using OpenGL with Java for those applets?? If so, what's the performance like? Does it use hardware acceleration? Can anyone post a link to some sample code? I'd like to see if I can port my engine to java (and how slooooow it would be).


  • Closed Accounts Posts: 61 ✭✭wish


    thats a very cool app for a 1st one.
    nice,, weldone

    life is a glitch...
    ...Then you die


  • Closed Accounts Posts: 1,484 ✭✭✭El_Presidente


    Aye, any chance of sending the source code to me...

    amulle.case2@compapp.dcu.ie


  • Registered Users Posts: 2,281 ✭✭✭DeadBankClerk


    http://www.boards.ie/bulletin/Forum19/HTML/000183.html

    lol.. if opnly u hade looked 2 posts down smile.gif


  • Closed Accounts Posts: 1,634 ✭✭✭Kolodny


    Nice work! ( insert enthusiastic applause!) cool.gif

    Of all the things I've lost, I miss my mind the most.


Advertisement