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.

Dark GDK / for loops

Author
Message
Oster200
13
Years of Service
User Offline
Joined: 21st Jan 2011
Location:
Posted: 19th Mar 2011 04:03
okay so ive made a for loopbut why is it changing other sprites
you most likley need a code so

this is changing every sprite except for the player how can i change this
WLGfx
17
Years of Service
User Offline
Joined: 1st Nov 2007
Location: NW United Kingdom
Posted: 19th Mar 2011 04:35
The sprites are not assigned to variables they are assigned numbers instead in GDK and DBP. You can assign a number to a variable and use the sprite that way.

Your for loop is reconfiguring the sprites already assigned to their numbers. You have already assigned sprites 1-4 then you re-assign them in the for loop. Also, I think you cannot use sprite 0.

Warning! May contain Nuts!

Login to post a reply

Server time is: 2024-11-19 12:33:50
Your offset time is: 2024-11-19 12:33:50