• Advertisement

Archived

This topic is now archived and is closed to further replies.

OpenGl Tile-Based Level-Editor

This topic is 5034 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hey all, I have started making my first tile-based editor, and have run into a problem. What i want to know is a good way to change the tile you are placing , an example ... DrawTile(TILES[0].getTileX(),TILES[0].getTileY()); DrawTile(TILES[1].getTileX(),TILES[1].getTileY()); DrawTile(TILES[2].getTileX(),TILES[2].getTileY()); case VK_CONTROL: TILES[state].setTileX(movx); TILES[state].setTileY(movy); state += 1; break; With the code i am using i can place 49 Ground tiles (DrawTile) And what i want to know is what would be a good way to switch to Placing SkyTiles (DrawSky(floatx,floaty))

Share this post


Link to post
Share on other sites
Advertisement

  • Advertisement