Collision Map Editor

headkaze · 8730

Offline headkaze

  • Administrator
  • Blue Gene Super Computer
  • **********
    • Posts: 7838
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
« Last Edit: August 25, 2009, 06:18:36 pm by headkaze »



Offline spacefractal

  • RBP Team Member
  • Blue Gene Super Computer
  • *****
    • Posts: 4138
Reply #1 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?

The Musician for the RetroBytes Portal Projects.


Offline headkaze

  • Administrator
  • Blue Gene Super Computer
  • **********
    • Posts: 7838
Reply #2 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.



Offline headkaze

  • Administrator
  • Blue Gene Super Computer
  • **********
    • Posts: 7838
Reply #3 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.



Offline flash

  • Administrator
  • Blue Gene Super Computer
  • **********
    • Posts: 13180
Reply #4 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.


Coding for the love of it!


Offline headkaze

  • Administrator
  • Blue Gene Super Computer
  • **********
    • Posts: 7838
Reply #5 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.



Offline flash

  • Administrator
  • Blue Gene Super Computer
  • **********
    • Posts: 13180
Reply #6 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!!

Coding for the love of it!


Offline headkaze

  • Administrator
  • Blue Gene Super Computer
  • **********
    • Posts: 7838
Reply #7 on: August 25, 2009, 06:52:18 pm
It's a good idea so I implemented it ;)



Offline headkaze

  • Administrator
  • Blue Gene Super Computer
  • **********
    • Posts: 7838
Reply #8 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"



Offline flash

  • Administrator
  • Blue Gene Super Computer
  • **********
    • Posts: 13180
Reply #9 on: September 05, 2009, 06:50:57 pm
This is turning into quite a tool mate :)

Coding for the love of it!