Collision Detection
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
Re: Collision Detection
Thank you.
Re: Collision Detection
That is freakin' sweet. Runs about a constant 90 FPS on my machine (I've only got 1GB of RAM and a 256MB graphics card).
"Any sufficiently advanced technology is indistinguishable from magic." - Arthur C. Clarke
Re: Collision Detection
That app is most likely CPU-bound, though, and would benefit from some partitioning ...
Re: Collision Detection
I wish I easily understood half of what's going on in the code. I mean, I'll eventually get what's happening, but I'm horrid and reading other people's code (a strong hint as to why I'm not a professional programmer).
"Any sufficiently advanced technology is indistinguishable from magic." - Arthur C. Clarke
- Dr. Magnusson
- Prole
- Posts: 22
- Joined: Sun Jul 20, 2008 6:10 pm
Re: Collision Detection
How you're able to have that many objects on screen at the same time with that high FPS is beyond me. Could you try and, instead of making them move around randomly, just have them fall down?
I tried it myself but couldn't quite figure your code out.
I tried it myself but couldn't quite figure your code out.
Re: Collision Detection
Dr. Magnusson: I don't have a solution to your problem (as I am currently posting from work and am useless), but I just wanted to say that your nickname is epic.
Now posting IN STEREO (where available)
- Dr. Magnusson
- Prole
- Posts: 22
- Joined: Sun Jul 20, 2008 6:10 pm
Re: Collision Detection
I take it you're familiar with the Half-Life series :V
Re: Collision Detection
Eh? Around 100 FPS with all the shapes clustered at the bottom. Is that what you meant?Dr. Magnusson wrote:How you're able to have that many objects on screen at the same time with that high FPS is beyond me. Could you try and, instead of making them move around randomly, just have them fall down?
Re: Collision Detection
I think he means gravity.
"Any sufficiently advanced technology is indistinguishable from magic." - Arthur C. Clarke
Re: Collision Detection
There is a gravity option, but I added it after I took the screenshot.
Who is online
Users browsing this forum: Google [Bot] and 4 guests