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.

2D All the way! / Set Sprite Image

Author
Message
old rinkly
20
Years of Service
User Offline
Joined: 11th Mar 2004
Location: Devon UK
Posted: 24th Dec 2009 00:30
I can't understand why I get a white blank in place of my sprite when I use Set Sprite Image.
I have a sprite sheet with four lines and I want to go from the end of line 1, to the begining of line 3,without running through line 2.
It's never happened before.
Cheers Old Wrinkly

old rinkly
Grog Grueslayer
Valued Member
18
Years of Service
User Offline
Joined: 30th May 2005
Playing: Green Hell
Posted: 25th Dec 2009 11:57
It's easier to make the sprite image number at the end of the SPRITE command a variable and change that to the sprite frame you want. When the SPRITE command is seen again it will simply change the sprite to the new image number.

Login to post a reply

Server time is: 2024-04-19 07:31:32
Your offset time is: 2024-04-19 07:31:32