(almost) perfect ball collisions

Post here your demos and examples with the source files.
Forum rules
Always post the games with a screenshot.
The file must have the ged and data files (complete game source)
Use the forum attachment to post the files.
It is always better to use the first post to put the game files

(almost) perfect ball collisions

Postby jimmynewguy » Fri Jun 19, 2009 11:15 pm

I got bored and made this almost perfect ball physics demo, it's only almost perfect because i haven't found any problem so i know there must be :)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Red - stationary
white - moves with no gravity
blue - moves with gravity (sometimes go crazy)

EDIT:
actually on the collision on any actor for x2 it should be +(width/2) not - :) srry
Attachments
sn.PNG
Screenie
BallPhysics.zip
Ball Physics
(48.37 KiB) Downloaded 201 times
Working on a probably too ambitious project! Wild-west-adventure-RPG-shooter-thing.
User avatar
jimmynewguy
 
Posts: 1137
Joined: Sat Mar 31, 2007 6:27 pm
Score: 89 Give a positive score

Return to Game Demos

Who is online

Users browsing this forum: No registered users and 1 guest