Grid system - user defined

ShockboltShockbolt Member Posts: 5
edited November -1 in Working with GS (Mac)
A user defined grid & snap system for the scene editor, letting us designers drag and drop the actors into them, for painless level designing, where You need to be accurate. Let's say You're using tiles of 64x64 pixels, You set the grid to that, and a snap of 5-10, so they're easy to align, or any other size that the level would require.

Comments

  • MotherHooseMotherHoose Member Posts: 2,456
    would be nice... but don't think too practical because it would require an large number of options to meet the needs of individual developers. (though someone could do a nice demo with just a few options)

    having worked in non-graphical programming... a ideation of the display space you want to use is vital.
    a large 64x64 pixel grid will not result in a grid that will fit entirely/evenly within the iPhone display. (480x320)

    so the first thing I do in any new programming is set-up a Display Text Actor to show mouseX and one for mouseY...and drag them onto the scene in an unobtrusive area.

    make your other actors initially drag-able and you will be able to see how they look on the display; reposition; and with mouse over the center of them get the correct coordinates from the Display Text for their X and Y... then change their X&Y to those numbers in the editor and delete the drag rules.

    using a drag-able crosshairs Actor... and...understanding that a grid consists of columns and rows...ascertaining the X of the column (across) and the Y of the row (up and down)... allows you to snap to your imagined grid...

    MH
  • ShockboltShockbolt Member Posts: 5
    Well, iTorque 2D has a an adjustable grid function that let You set the X and Y size of the grid as well as snap on X and/or y along with a snap of your choice, so there's not too many factors that need to be baked into this in order for it to happen, 64x64 pixels is not that large considering You have 960x640 pixels on the new iphones. That's what You aim for, then scale the graphics down to also fit the older iphones, the other way around would turn your tiles into ugly.
  • maaboomaaboo Member Posts: 4
    Yes, please!

    Adjustments: Grid size, Snap Size.
    Types: Ortogonal, Hexagonal, Isometric.

    I think it's not too hard to implement, isn't it?
Sign In or Register to comment.