Archive for the ‘Hypno-Joe Development.’ Category

First peeks at Uhf-Edit

Tuesday, June 2nd, 2009

Okay so I decided to just start making the editor, instead of planning out every little detail.  Here are some screenshots and a few notes.

This first one is a translucent block over the background.  This was ultimately scrapped.

UhfEdit0001 The next two are how the editor looked when I had camera problems.  Turns out I wasn’t turning it back into local space.  I turned from local coordinates to world coordinates, and then i need to go back to local.  Essentially the tile (individual grid cell) wasn’t lining up to the map which was world space.

MapEdWrongMapEdWrong2 These last two are how they were supposed to look, which was good if you didn’t move the mouse outside the map.

MapEdRight MapEdRight2 Finally the corrected version.

UhfEditSS01

I just decided I wanted gray on black instead of white on gray.  And fooled around with the grid size.  See this is going to be a bit different than traditional map editors.  I wanted the kind of flexibility a tile map gives you but I wanted the ability to place images of any size anywhere.  So basically whatever the tile grid is set to, the “tile” which is any arbitrarily sized graphic object (will include animations and stuff later), the tile will be placed in the upper left corner depending on what grid cell you’re in.  You’ll also be able to change the tile and map sizes in realtime.  What this means is if you have a big 64×64 texture but you want to put a 32×32 texture directly on top of it in the center, you simply change the grid size from 64 to 32, and you can automatically place tiles in increments of 32.  If you set the grid cell size to anything lower than the minimum (probably 8×8) there won’t be any grid and you can place tiles anywhere on the map up unto the boundaries of the map.  Even if it hangs off.  However the map will be clipped at it’s edges, so if you hang something off the edge you might only see part of it.  This is just a start.  Right now I’m figuring out what keys and controls to use to manipulate the tile and map sizes.

Keith