RetroBytes Portal

Programming => Gameboy Advance & Nintendo DS Coding => Topic started by: headkaze on August 20, 2009, 03:24:12 pm

Title: Collision Map Editor
Post by: headkaze on August 20, 2009, 03:24:12 pm
Here is the first version of ColMapEdit.

Controls

- Mouse Wheel - Zoom In/Out
- Mouse Down - Create Selection
- Mouse Over - Display Value in Toolbar
- "+" and "-" Keys - Add or Subtract a value
- 0-9 Keys - Enter two digits to fill the selection with the value
- Delete Key - Clear selection

Download (http://headsoft.com.au/download/nds/ColMapEdit.zip)
Title: Re: Collision Map Editor
Post by: spacefractal on August 20, 2009, 04:11:09 pm
any plans to use the whole screen, so it dosent missing something? I guess the interface is in the bottom this time?
Title: Re: Collision Map Editor
Post by: headkaze on August 23, 2009, 03:34:50 pm
You can maximize the window to fullscreen or use the scrollbars to move around. There is no real interface yet as I just wanted to get something done quickly so I could start making some collision maps for testing in TDG. There is probably alot I could do to improve it.

What I need to do is change it so you can drag select the grid and then use + and - keys to quickly go through numbers.
Title: Re: Collision Map Editor
Post by: headkaze on August 25, 2009, 05:33:30 pm
Updated ColMap Editor so you can drag and select multiple cells at once and now you use the "+" and "-" keys to add or subtract a value. Values can be from 0x00 to 0xFF. Unfortunately it's a bit hard to read the values at a glance, so you may need to use the mouse to roll over cells to read their value in the toolbar.
Title: Re: Collision Map Editor
Post by: flash on August 25, 2009, 05:45:18 pm
is there a way to have direct value entry mate?

It will take me quite a while to get to 64 for my death collision value. How about when the pointer is over a cell and numerics are press, enter the values? and delete returns 0.

Title: Re: Collision Map Editor
Post by: headkaze on August 25, 2009, 06:17:47 pm
Okay uploaded a new version which allows you to enter two digits to the current selection and delete will clear the selection.
Title: Re: Collision Map Editor
Post by: flash on August 25, 2009, 06:24:41 pm
I really wish my wife was a attentive as you... LOL

Another (sorry) little thing that may also help... If you hold the mouse over a cell, display a little box (that vanishes when mouse moved) that contains the cells value in an easy to read form (i.e black box, white text)

Sorry, I will shut up now!!
Title: Re: Collision Map Editor
Post by: headkaze on August 25, 2009, 06:52:18 pm
It's a good idea so I implemented it ;)
Title: Re: Collision Map Editor
Post by: headkaze on September 05, 2009, 04:57:26 pm
This has been updated with some bug fixes.

- Cut, copy and paste added.
- Export per-pixel colmap's (untested) make sure you have the first color enty as the background as it counts every other pixel as an "on"
Title: Re: Collision Map Editor
Post by: flash on September 05, 2009, 06:50:57 pm
This is turning into quite a tool mate :)