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 / Could not determine parameter type (ADVANCEDSprites)

Author
Message
Swampert
17
Years of Service
User Offline
Joined: 17th Dec 2008
Location: Somewhere in the Interwebs
Posted: 9th Feb 2010 17:17
Every time I use the DXS CREATE SPRITE command, it for some reason cannot determine the parameter type... I'm not sure how to fix this exactly but... hopefully there's a solution.
=PRoF=
23
Years of Service
User Offline
Joined: 17th Mar 2003
Location: Milton Keynes, UK
Posted: 9th Feb 2010 21:41
I'm assuming u remembered to call the DXS INITIALIZE command prior to using any of the Advanced sprite plug in commands?

Also the help files details the command as

Sprite Pointer = DXS CREATE SPRITE FROM IMAGE(Image Number)

Your's is missing the brackets at the end.

Swampert
17
Years of Service
User Offline
Joined: 17th Dec 2008
Location: Somewhere in the Interwebs
Posted: 9th Feb 2010 23:51 Edited at: 10th Feb 2010 00:33
I tried calling DXS INITIALIZE, which did nothing different. However, when I tried using the Parenthesis at the end, I also got the same error.

EDIT:: Fixed. I tried using the parenthesis again and it compiled... I'm a bit confused though. It's not rendering but I'll see what I've missed.

EDIT:: Forgot the DXS BEGIN/END SPRITE RENDER commands. I've got it working

Login to post a reply

Server time is: 2026-06-12 05:10:33
Your offset time is: 2026-06-12 05:10:33