Lime2D icon indicating copy to clipboard operation
Lime2D copied to clipboard

Object editor

Open Limeoats opened this issue 9 years ago • 1 comments
trafficstars

When the 'o' key is pressed, open an object editor window. In this window, you can select a section of a spritesheet. This is so that the object can be made up of more than one "tile" space.

The object gets rendered right inside Lime2D when placed on the map, but it also acts like a "shape" in many ways. It can be moved around after it is placed. If it is right clicked, an Edit Object menu appears and object properties can be modified. The most important part of this new menu would be the custom properties, which is already implemented for shapes.

An example could be a platform that moves from side to side. It can be placed and a custom property could be "change in X" and a value of 5.0 and a direction of "Right". When the game renders the object, it can have it move to the right 5.0 units.

Limeoats avatar Nov 15 '16 15:11 Limeoats

Also, the ability to set collision properties for these objects. Not exactly sure how to implement this yet, since certain objects can have different collision for different parts of it (a house, for example, would be solid on the bottom but the player can walk behind the roof).

Limeoats avatar Feb 12 '18 16:02 Limeoats