Computer Science Canada Simple Collisions Using Images |
| Author: | TheEvilOne [ Tue Mar 29, 2005 12:59 pm ] |
| Post subject: | Simple Collisions Using Images |
Ok... so most of the pros here are (as I have seen on many other posts) going to swamp me with flaming on this... but thats ok My friend was working on a FFI game for his final project in Turing, and wasnt very good at coordinate programming (as in not very good... I mean he had a hard time getting a sprite to move I programmed this way as a simple work-around for collision. It's simple, and I dont have any animation programmed into it, as its just a demo. bg1 is the collision layer, and everything is pretty well documented. I hope it helps some lazy person out |
|
| Author: | jamonathin [ Tue Mar 29, 2005 2:25 pm ] |
| Post subject: | |
Take a look at this:http://www.compsci.ca/v2/viewtopic.php?t=8175 |
|
| Author: | TheEvilOne [ Tue Mar 29, 2005 2:40 pm ] |
| Post subject: | |
you know... I saw that header and didnt even think that it might be the same... stupid me |
|
| Author: | jamonathin [ Tue Mar 29, 2005 4:43 pm ] |
| Post subject: | |
No worries man, we all mess up when we first start postin in compsci |
|
| Author: | LegendsEnd [ Thu May 11, 2006 11:50 am ] |
| Post subject: | |
*resurrects topic from the depths* Looking at the code i'm just wondering a few things. Is there a reason to use Draw.FillBox(0,0,maxx,maxy,0) over cls? Is there even a point in having that line of code? Also, what's the reason for var CharImage : array char of int, it doesn't seem to do anything |
|
| Author: | Clayton [ Thu May 11, 2006 3:15 pm ] |
| Post subject: | |
plz, if you are going to ask questions about Turing post them in *gasp omg* Turing Help, also plz dont revive dead topics, if you post in Turing Help people will probably be more likely to help you there |
|
| Author: | do_pete [ Thu May 11, 2006 5:40 pm ] |
| Post subject: | |
Relax SuperFreak. As far as I see, cls and drawfillbox are the the same although cls may be faster. |
|