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 / Creating a 2D RPG World Editor and I need help (this question is also for the actual playing of the game too)

Author
Message
Code Ninja
21
Years of Service
User Offline
Joined: 17th Dec 2003
Location: AZ, U.S.
Posted: 3rd Apr 2004 23:19
Here's my problem. I am creating 2D World editor using matrixes, and I'm wondering the following:
-How would I "paint" textures onto the matrix?
-How would I place the character graphics onto the matrix (should i create a matrix over top the other matrix?)?
-how can I create a visual interface in DBC for choosing texures, files to save/load etc.?

any help would be great

thanks in advance
~Code Ninja

Dragael Software
Current Project: 2D RPG Editor (DragnEdit 2D)
Code Ninja
21
Years of Service
User Offline
Joined: 17th Dec 2003
Location: AZ, U.S.
Posted: 6th Apr 2004 01:57
::bump::

Dragael Software
Current Project: 2D RPG Editor (DragnEdit 2D)
BearCDPOLD
21
Years of Service
User Offline
Joined: 16th Oct 2003
Location: AZ,USA
Posted: 6th Apr 2004 09:37
I can give you an idea of how to go about the first two, but for the UI......I'm going to start tackling one of those in the coming weeks so I'll show you how I did it (if it works )later.

If I remember correctly, the matrix texturing commands allow you to texture each individual tile, which could simulate the effect that most 2d editors have with making the maps a multiple of 32x32 and using all 32x32 tiles. Then for detecting where to place each matrix, I remember a couple apps using an actual 3d cursor in the shape of a triangle or bolt or other object and whichever tile it was over was the one that was picked. Then you could texture it with whatever texture was selected.

For character tiles you could just use 3d planes, it's probably a good idea to limit your use of matrices to maps only because sometimes they run a bit slow if you have too many. You could make each plane the same size as a matrix tile, have all the planes at the same height, maybe slightly above the matrix, then it would be simple collision.

A good program to check out is MagicWorld, Robin King just released the source and it implements some of the features you're looking for beautifully.

Crazy Donut Productions, Current Project: KillZone
Web Site Button Does Not Work, Visit Here: http://www.geocities.com/crazydonutproductions/index.html
Code Ninja
21
Years of Service
User Offline
Joined: 17th Dec 2003
Location: AZ, U.S.
Posted: 7th Apr 2004 02:05
cool, thanx BCDP. Is the source on the Magic World site?

Dragael Software
Current Project: 2D RPG Editor (DragnEdit 2D)
BearCDPOLD
21
Years of Service
User Offline
Joined: 16th Oct 2003
Location: AZ,USA
Posted: 8th Apr 2004 02:45
It's not on the old one, but it's on the http://www.robinking.com/allseeingi site.

Crazy Donut Productions, Current Project: KillZone
Web Site Button Does Not Work, Visit Here: http://www.geocities.com/crazydonutproductions/index.html

Login to post a reply

Server time is: 2025-05-23 06:05:13
Your offset time is: 2025-05-23 06:05:13