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 / Migration issues !

Author
Message
Steve Ancell
18
Years of Service
User Offline
Joined: 16th Feb 2006
Location: Brighton, East Sussex, UK
Posted: 16th Feb 2006 14:09
I just purchased DB-Pro, and I am natively a Blitz3D user/abuser or what other titles can be applied LOL. I found that DB-Pro uses custom types. Does this mean I can itterate through all my objects as easy as 'For myobject.mytype=each mytype' ?, or does DB-Pro use the dreaded DIM(index), as hated by Blitz3D programmers ?.
BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 16th Feb 2006 14:55
I'm afraid you would have to DIM an array of types.

Never used Blitz, but in DB Pro, you might do something like...



Steve Fash
21
Years of Service
User Offline
Joined: 31st Dec 2002
Location: Doncaster, UK
Posted: 16th Feb 2006 15:24

Basic 2d starfield example using types...I converted it from one I originally wrote in Blitz2d, so it'll give you some sort of idea as to the difference between bb2d and dbp types..
(please note, I am not the best of coders, but you should get the idea)

For game/demo music for YOUR PC productions visit:-www.futuredevelopments.org.uk

Login to post a reply

Server time is: 2024-09-24 15:33:22
Your offset time is: 2024-09-24 15:33:22