prompt box style, entity prompts improvement, killing entities and particles improvement
This commit is contained in:
@@ -210,24 +210,24 @@ function doEditorEdit()
|
||||
and love.keyboard.isDown("lctrl") ~= true
|
||||
then
|
||||
if selecting_tile ~= nil then
|
||||
if Keybind:checkDown(Keybind.generic.lclick) then
|
||||
if Keybind:checkDown(Keybind.editor.tile_set) then
|
||||
setTile(vertical,horizontal,selecting_tile)
|
||||
elseif Keybind:checkDown(Keybind.generic.rclick) then
|
||||
elseif Keybind:checkDown(Keybind.editor.tile_remove) then
|
||||
setTile(vertical,horizontal,0)
|
||||
end
|
||||
reloadLevelTiles()
|
||||
else
|
||||
if Keybind:checkDown(Keybind.generic.lclick) then
|
||||
if Keybind:checkDown(Keybind.editor.entity_select) then
|
||||
deselectSpawns()
|
||||
selectSpawns(mouse_x,mouse_y)
|
||||
end
|
||||
if Keybind:checkDown(Keybind.generic.rclick) then
|
||||
if Keybind:checkDown(Keybind.editor.entity_move) then
|
||||
moveSpawns(mouse_x,mouse_y)
|
||||
end
|
||||
if Prompt.active_prompt == nil then
|
||||
if Keybind:checkDown({keys={"t"}}) then
|
||||
if Keybind:checkDown(Keybind.editor.entity_modify_archetype) then
|
||||
promptSpawnArchetype()
|
||||
elseif Keybind:checkDown({keys={"d"}}) then
|
||||
elseif Keybind:checkDown(Keybind.editor.entity_modify_data) then
|
||||
promptSpawnArgs()
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user