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.

DarkBASIC Professional Discussion / playing and loading animation

Author
Message
Jon wu
11
Years of Service
User Offline
Joined: 4th Nov 2013
Location:
Posted: 6th Feb 2014 17:21
so I loaded an animation into my game and I tried to play it if it collided with something but it says the animation doesn't exist heres the code


Hasty
chafari
Valued Member
19
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 6th Feb 2014 18:49
Hi Jon Wu
Take a look to the example attached.

I'm not a grumpy grandpa

Attachments

Login to view attachments
Jon wu
11
Years of Service
User Offline
Joined: 4th Nov 2013
Location:
Posted: 11th Feb 2014 16:58
couldn't load the example, can you put it on the conversation

Hasty
Derek Darkly
13
Years of Service
User Offline
Joined: 22nd Sep 2011
Location: Whats Our Vector, Victor?
Posted: 11th Feb 2014 17:21
Looks like you need to load the animation before your main loop, instead of after.

Login to post a reply

Server time is: 2025-05-15 05:12:33
Your offset time is: 2025-05-15 05:12:33