Closed mabre closed 10 years ago
Basic level editor on branch level-editor. You can choose background music (not yet), background picture and the fluid that is supposed to be in the bottom of the map (water/lava). Left to do:
edges: having material buttons for left edge / right edge would be a simple solution
Would be cool if the material buttons were previews of the material and no ordinary buttons.
OT: Why did you remove a branch?
I have to change the buttons anyway, they cannot look like this, will put a preview in there.
And to clean things up a bit.
@DiniiAntares Are the json-levels ready? Lost track of that.
@Jessypet Yup. Works finde and are in master.
Am 22.06.2014 20:11, schrieb Jessypet:
@DiniiAntares https://github.com/DiniiAntares Are the json-levels ready? Lost track of that.
— Reply to this email directly or view it on GitHub https://github.com/ProPra14/team61/issues/87#issuecomment-46788191.
Okay, level editor works now. Don't know if my laptop is just not in a good mood right now, but could someone try it out and tell me if the drawing of the map is really so damn slow? With the old method for building the terrain (before using renderTerrainBlock) it was much faster..
First thing I see: In setOnMouseClicked
, the code after levelTerrain.replaceBlock(x, y, chosenTerrainType);
is not necessary any more, since replaceBlock
already calls renderTerrainBlock
.
wish: being able to set “stroke width”
ahh thanks, better now! Could do that, but not today
“draw” level grid using terrain types as “colors,” save them to level folder (if new level format is ready in time: choose background image/music)