Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / Sprite Collision Sub Routine. Need some Adivce.

Author
Message
Brent_Seraphim
21
Years of Service
User Offline
Joined: 1st Dec 2002
Location: United States
Posted: 31st Mar 2003 05:54
Hello,

I currently trying to beat the bugs out of my Inventory System...and I'm infested with them. First I've got the part where I can move ItemSprites around the grid, however I'm trying to implement a Sprite Collision Subrotine, in which I check to see if my Freshly placed Sprite collides with more than 1 other sprite.

So basically how could I produce the sprite numbers of the sprites that are collided with my own. Here's my first approach, but I'm having difficulty with the For Commands:




Anyway how would I go about coding a subrotine that checked for 2 or more sprite collisions and gave the sprite numbers of the buggers? Sorry If I'm not that clear.
"Laugh to scorn the power of man..."
Brent_Seraphim
21
Years of Service
User Offline
Joined: 1st Dec 2002
Location: United States
Posted: 31st Mar 2003 06:21
Holy Shazbot! I just had an ephihany...Nevermind guyz...

"Laugh to scorn the power of man..."
matt rochon
21
Years of Service
User Offline
Joined: 15th Mar 2003
Location: Canada
Posted: 31st Mar 2003 07:36
is this a inventory system similar to diablo's?

Login to post a reply

Server time is: 2024-11-24 08:19:43
Your offset time is: 2024-11-24 08:19:43