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.

2D All the way! / Board editor for RPGs and other tilebased games

Author
Message
Code Ninja
22
Years of Service
User Offline
Joined: 17th Dec 2003
Location: AZ, U.S.
Posted: 31st Dec 2004 02:35
Well, I'm hoping that for once I can create a useful program, and here is the start of it. Its writen in DBC... It's working really slow on my computer (P2 333Mhz, 265Mb SDRAM) and I was wondering if someone could test it out on a faster computer and see if it runs any better.
There are 2 tiles in the editor you can choose from: press 1 to get a brown tile and press 2 to get a blank tile. Press s to save the board into a BRD file.
If there any suggestions on how to improve on what I have here, they would be much appreciated.
I will be adding a GUI (thanx to MagicWindows).


Dragael Software
Current Project: Nothing worth mentioning
TEH_CODERER
22
Years of Service
User Offline
Joined: 12th Nov 2003
Location: Right behind you!
Posted: 31st Dec 2004 03:11
For some reason only certain sections of the grid work when clicked. Also the red squares that come up aren't always in the centre of the section. It is fairly slow on: AMD Athlon XP 2400, 512MB RAM, GeForce 4 etc.

Realms Of Tutopia: Rise Of Evil
http://www.freewebs.com/elbsoftware/index.htm
Dot Merix
22
Years of Service
User Offline
Joined: 15th Oct 2003
Location: Canada
Posted: 31st Dec 2004 03:12 Edited at: 31st Dec 2004 03:12
It works, but it's slow on my computer aswell.

My sig below tells you my specs.



WindowsXP Home(Service pack 2), Athlon XP 2400+(2.1Ghz), 1GIG Ram, Ati Radeon 9800Pro 128MB.
Code Ninja
22
Years of Service
User Offline
Joined: 17th Dec 2003
Location: AZ, U.S.
Posted: 31st Dec 2004 03:19 Edited at: 31st Dec 2004 03:22
Thanx, andrew and Merix

Okay, I think the main problem is the large sprite i used as the grid... I've edited it and instead of using a sprite w/ transparent black, i just used paste image w/ transparent black...

with the clicking on a square on the grid, you kinda have to hold down the left-click button for a few seconds because for some reason it's stinking slow getting through the loop to the sync command and might not recognize the left-click imediately...

Dragael Software
Current Project: Nothing worth mentioning
Emperor Baal
22
Years of Service
User Offline
Joined: 1st Dec 2003
Location: The Netherlands - Oudenbosch
Posted: 31st Dec 2004 09:12
turn off the sprite backsave state (set sprite nr, 0, 0/1)

TEH_CODERER
22
Years of Service
User Offline
Joined: 12th Nov 2003
Location: Right behind you!
Posted: 4th Jan 2005 04:45
Oh yeah it does work. I guess I didn't hold the mouse button long enough.

Realms Of Tutopia I : Rise Of Evil - A hack+slash RPG
http://www.freewebs.com/elbsoftware/index.htm
Code Ninja
22
Years of Service
User Offline
Joined: 17th Dec 2003
Location: AZ, U.S.
Posted: 4th Jan 2005 06:09
I'm currious: do you think the grid is needed?

Dragael Software
Current Project: Nothing worth mentioning
Code Ninja
22
Years of Service
User Offline
Joined: 17th Dec 2003
Location: AZ, U.S.
Posted: 7th Jan 2005 06:40
I've made a few adjustments to the code to improve speed:
I got rid of capturing/pasting the screen image every loop.
I also added the choice of a few tiles (0-9) at the top of the keyboard.

Main Program


Tileset Functions


I will be adding a GUI later, but at the moment I want to be able to get the tile placement and solidity stuff down pat... maybe even have a layering option... maybe.

Dragael Software
Current Project: Nothing worth mentioning

Login to post a reply

Server time is: 2026-06-11 13:13:44
Your offset time is: 2026-06-11 13:13:44