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 / Multiple sprites with dim?

Author
Message
JesterDev
21
Years of Service
User Offline
Joined: 22nd Jun 2003
Location:
Posted: 10th Jul 2003 07:21 Edited at: 10th Jul 2003 07:23
I'm tring to get multiple sprites on screen but I cant get it work. I also tried sync, inside the for next loop and right after it. I can get the sprites to appear without the loop but I need to store them in an varible so I can identify them later with ease.



And here is the full source if needed:



Drum
21
Years of Service
User Offline
Joined: 10th Apr 2003
Location:
Posted: 10th Jul 2003 07:53
you have enemies spelt wrong there

hmm im not sure exactly what your trying to do but try this.



This will make 4 sprites theres positions are in relation to E. You can change that.
If you don't understand this i think you should read more into info about arrays.
JesterDev
21
Years of Service
User Offline
Joined: 22nd Jun 2003
Location:
Posted: 10th Jul 2003 08:54
Thanks, couldnt have dont it without you. I managed to modify your code to do what I needed.



Drum
21
Years of Service
User Offline
Joined: 10th Apr 2003
Location:
Posted: 10th Jul 2003 08:58
Great to hear it helped

Login to post a reply

Server time is: 2024-11-24 23:15:59
Your offset time is: 2024-11-24 23:15:59