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 Discussion / Same Mapping problem?

Author
Message
GoldD Dragon27
19
Years of Service
User Offline
Joined: 12th Aug 2005
Location:
Posted: 12th Aug 2005 18:09
I am using DB classic 1.13 and DarkMatter.

I've found code that lets me read POINT() of a BITMAP.
I then manually assign HEIGHT and TEXTURE data per tile (very slow).

I want to then save and recall these LANDSCAPE MATRICES to use in an RPG game I am creating.

I would appreciate any help in doing this more efficiently (DLL hopefully)
TDK
Retired Moderator
22
Years of Service
User Offline
Joined: 19th Nov 2002
Location: UK
Posted: 13th Aug 2005 01:35
Are you using Sync On while you are doing it?

Point is very slow, but if you use Sync On: Sync Rate 0 and have a single Sync line after the loop which does all the scanning, it speeds up a fair bit...

TDK_Man
Sven B
20
Years of Service
User Offline
Joined: 5th Jan 2005
Location: Belgium
Posted: 14th Aug 2005 11:12
I would use files. open to write / open to read commands.
files can be used in many ways.

in the file:


in the program:



Or maybe like this:

in the file:


and in the program:




Cheers.

Immunity and Annihalation makes Immunihalation...

Login to post a reply

Server time is: 2025-05-22 14:00:34
Your offset time is: 2025-05-22 14:00:34