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 / what's wrong with this??

Author
Message
RebirthAnime
22
Years of Service
User Offline
Joined: 11th Oct 2002
Location:
Posted: 23rd Sep 2003 03:19
anyone know what's wrong with this? my character only shows the walking right animation for all the directions instead of each different one for the different directions
zzabb
21
Years of Service
User Offline
Joined: 25th Apr 2003
Location: Seattle, USA
Posted: 23rd Sep 2003 03:27 Edited at: 23rd Sep 2003 03:29
because the last sprite you do is the right sprite
all of your sprites are in your loop so the last one set is the one showed

try useing only one sprite command
and inside your if statments setting all up,down,right,left to that variable like anypos=up_FRAME, anypos=down_FRAME ect...


sprite 1,xpos,ypos,anypos
sync

My advice is free -
unfortunately you get what you pay for (-:
RebirthAnime
22
Years of Service
User Offline
Joined: 11th Oct 2002
Location:
Posted: 23rd Sep 2003 03:37
I see what you're saying about the anypos thing, but I tried to fool with it and put it in but I couldn't figure out how you were talking about putting it in there ...could you show me what you meant?
zzabb
21
Years of Service
User Offline
Joined: 25th Apr 2003
Location: Seattle, USA
Posted: 23rd Sep 2003 04:13 Edited at: 23rd Sep 2003 04:25
now that i went over it you had another problem
you need to give each of your images different numbers instead of the same ones over and over






My advice is free -
unfortunately you get what you pay for (-:
RebirthAnime
22
Years of Service
User Offline
Joined: 11th Oct 2002
Location:
Posted: 23rd Sep 2003 04:18
well now I'm getting an error at line 20 (the get image line for "down") it's saying it can't grab because of an illegal image area at line 20
zzabb
21
Years of Service
User Offline
Joined: 25th Apr 2003
Location: Seattle, USA
Posted: 23rd Sep 2003 04:24 Edited at: 23rd Sep 2003 04:27
sorry cut and paste prob on my end
i edited my post it should be ok now

My advice is free -
unfortunately you get what you pay for (-:
RebirthAnime
22
Years of Service
User Offline
Joined: 11th Oct 2002
Location:
Posted: 23rd Sep 2003 04:33
ah thanks! it works now
zzabb
21
Years of Service
User Offline
Joined: 25th Apr 2003
Location: Seattle, USA
Posted: 23rd Sep 2003 04:36
i'm glad

i should know better than to cut and paste sections at a time and not the whole thing at once, sorry for the mix up

My advice is free -
unfortunately you get what you pay for (-:

Login to post a reply

Server time is: 2024-11-25 08:47:42
Your offset time is: 2024-11-25 08:47:42