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.

Author
Message
Post Mortem Productions
22
Years of Service
User Offline
Joined: 5th Oct 2002
Location: - Please Select -
Posted: 15th Jun 2003 22:06
How do I use sprites?? I am extremely confused
Trowbee
21
Years of Service
User Offline
Joined: 12th Apr 2003
Location: United Kingdom
Posted: 15th Jun 2003 23:10
In order to use a sprite, you must first get an image to use as the sprite (get image id,x1,y1,x2,y2.

Then, whenever you want to see the sprite, simply type sprite sprite ID, x coordinate, y coordindate, image number.

I realise this isnt a very good explanation, but its easier to see the code than to explain.
ToXic
22
Years of Service
User Offline
Joined: 8th Sep 2002
Location: Australia
Posted: 16th Jun 2003 00:19
a small example of sprite control and collision.
just click the source tab.

ToXic

Login to post a reply

Server time is: 2024-11-24 16:23:18
Your offset time is: 2024-11-24 16:23:18