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 / creating an animated sprite

Author
Message
Stefan p
15
Years of Service
User Offline
Joined: 2nd Nov 2008
Location: Online
Posted: 30th May 2010 01:24
I really can't understand what is wrong with this code. Maybe someone can clarify why it won't work. I just get a black screen.
Image attached


I am mother and father, but never nurse.I'm rarely still, but I never wander. What am I? See my sketch

Attachments

Login to view attachments
Hodgey
14
Years of Service
User Offline
Joined: 10th Oct 2009
Location: Australia
Posted: 30th May 2010 01:41
Hi, I also get a black screen when I create an animated sprite. I think it has something to do with the update. If you read what Lee is going to fix in U75 it mentions correct code for creating an animated sprite. So you could try BETA13 and see if it works then or you can wait until the new update is offically released.

Hope this helps

A clever person solves a problem, a wise person avoids it - Albert Einstein
WickedX
15
Years of Service
User Offline
Joined: 8th Feb 2009
Location: A Mile High
Posted: 30th May 2010 03:21 Edited at: 30th May 2010 04:25
Stefan p

Give this a try.



also, are their really 2520 frames in the animation (40x63), just, asking!

Edit: did'nt notice the download, this code should now work.
Works for me using u74

hope this helped,

Brian
Stefan p
15
Years of Service
User Offline
Joined: 2nd Nov 2008
Location: Online
Posted: 30th May 2010 04:32
ohhhhh, I get my problem thanks I thought I had to put the size of the frames in the across and down variables.

Well thanks a lot.

I am mother and father, but never nurse.I'm rarely still, but I never wander. What am I? See my sketch
WickedX
15
Years of Service
User Offline
Joined: 8th Feb 2009
Location: A Mile High
Posted: 30th May 2010 04:33
Not a problem.
Hodgey
14
Years of Service
User Offline
Joined: 10th Oct 2009
Location: Australia
Posted: 31st May 2010 14:56
Yeah that works for me too . I must say that the description in the DBPro help is misleading.
Quote: "The size of the animation image across
"


Quote: "The size of the animation image down"


Glad that we got that sorted out though, Thanks bndelano!!!

A clever person solves a problem, a wise person avoids it - Albert Einstein

Login to post a reply

Server time is: 2024-09-28 18:31:51
Your offset time is: 2024-09-28 18:31:51