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.

Dark Physics & Dark A.I. & Dark Dynamix / Tutorial problem, hopefully easily answered :)

Author
Message
DVader
20
Years of Service
User Offline
Joined: 28th Jan 2004
Location:
Posted: 4th Sep 2006 01:08
For some reason I am having trouble getting this code from the tutorial in the Demo version of DP.
Running it brings this error.

Could not determine parameter type of "levels-y" at line 24

I cannot see why this is not working. I have copied it from the tutorial and cannot see an obvious reason why it doesn't like levels-y. Does this work on anyone elses machine? This is probably something stupid I'm missing, but I'm stuck unless I rewrite the object stack a different way. I was just wondering why it doesn't work, when it is the example code.



Check out Project Desert Storm

http://forum.thegamecreators.com/?m=forum_view&t=83458&b=8
Codger
21
Years of Service
User Offline
Joined: 23rd Nov 2002
Location:
Posted: 4th Sep 2006 02:56 Edited at: 4th Sep 2006 03:21
You have included some strange formatting when you copied the code from the demo



Try copying to "MS word" or a text editor then to Dark basic Pro

System
PIV 2.8 MZ 512 Mem
FX 5600 256 mem
DVader
20
Years of Service
User Offline
Joined: 28th Jan 2004
Location:
Posted: 4th Sep 2006 03:01
Isn't that exactly the same code as I posted?

Check out Project Desert Storm

http://forum.thegamecreators.com/?m=forum_view&t=83458&b=8
Codger
21
Years of Service
User Offline
Joined: 23rd Nov 2002
Location:
Posted: 4th Sep 2006 03:14
I don't believe the text of the code is the problem. When I copied your code directly to the DB Pro editor I received the same error that you did.
When I copied to "MS Word" the copied that to DB Pro I get the message cannot load image...

I cannot explain why but suspect that the tutorials have some type of hidden imbedded format that the editor has problems with.


Hope that help

System
PIV 2.8 MZ 512 Mem
FX 5600 256 mem
Mike Johnson
TGC Developer
21
Years of Service
User Offline
Joined: 13th Sep 2002
Location: United Kingdom
Posted: 4th Sep 2006 10:14
Any text using - might be a problem if you copy direct from the help file. You can always load the projects directly from the tutorials folder.
DVader
20
Years of Service
User Offline
Joined: 28th Jan 2004
Location:
Posted: 4th Sep 2006 16:19
Ah, I tried loading it into Notepad but still seemed to have the same error in. Received the full version today so it may have the code in. Guess I'll just have to type it all out manually if not.

Check out Project Desert Storm

http://forum.thegamecreators.com/?m=forum_view&t=83458&b=8

Login to post a reply

Server time is: 2024-03-29 12:58:47
Your offset time is: 2024-03-29 12:58:47