All credit goes to Alesan99. They did everything in this mod.
alesan99 wrote:https://www.dropbox.com/s/19oqhehijd2eqrt/editor.lua
alesan99 wrote:https://www.dropbox.com/s/19oqhehijd2eqrt/editor.lua
That's what it fixes. Works for me...MagicPillow wrote:It doesn't seem to work...
Just in case I wasn't clear enough, I mean the random level selecting outside of the menu that makes you lose your work.
Nope, Doesn't happen to me. Also, in what way does the map change?MagicPillow wrote:I removed the old editor.lua and put the new one in it's place.
*Place Image Here*
The map changes whenever I click where a level select button would be.
Does this happen to anyone else with the new editor?
It switches to another level...zorua7551 wrote:Nope, Doesn't happen to me. Also, in what way does the map change?MagicPillow wrote:I removed the old editor.lua and put the new one in it's place.
*Place Image Here*
The map changes whenever I click where a level select button would be.
Does this happen to anyone else with the new editor?
Does it switch to another map or map level? or do the tiles (or enemies) get screwed up?
Code: Select all
function maintab()
if _G["from" .. editorstate .. "tab"] then
_G["from" .. editorstate .. "tab"]()
end
editorstate = "main"
for i, v in pairs(guielements) do
v.active = false
end
for i, v in pairs(mapbuttons) do
v.active = false
end
guielements["tabmain"].fillcolor = {0, 0, 0}
guielements["tabtiles"].fillcolor = {63, 63, 63}
guielements["tabtools"].fillcolor = {63, 63, 63}
guielements["tabmaps"].fillcolor = {63, 63, 63}
guielements["tabanimations"].fillcolor = {63, 63, 63}
guielements["tabmain"].active = true
guielements["tabtiles"].active = true
guielements["tabtools"].active = true
guielements["tabmaps"].active = true
guielements["tabanimations"].active = true
guielements["colorsliderr"].active = true
guielements["colorsliderg"].active = true
guielements["colorsliderb"].active = true
for i = 1, #backgroundcolor do
guielements["defaultcolor" .. i].active = true
end
guielements["autoscrollcheckbox"].active = true
guielements["musicdropdown"].active = true
guielements["spritesetdropdown"].active = true
guielements["timelimitdecrease"].active = true
guielements["timelimitincrease"].active = true
guielements["portalgundropdown"].active = true
guielements["savebutton"].active = true
guielements["menubutton"].active = true
guielements["testbutton"].active = true
guielements["widthbutton"].active = true
guielements["intermissioncheckbox"].active = true
guielements["warpzonecheckbox"].active = true
guielements["underwatercheckbox"].active = true
guielements["bonusstagecheckbox"].active = true
guielements["custombackgroundcheckbox"].active = true
guielements["customforegroundcheckbox"].active = true
guielements["scrollfactorscrollbar"].active = true
guielements["fscrollfactorscrollbar"].active = true
guielements["backgrounddropdown"].active = true
guielements["foregrounddropdown"].active = true
guielements["levelscreendropdown"].active = true
end
function tilestab()
if _G["from" .. editorstate .. "tab"] then
_G["from" .. editorstate .. "tab"]()
end
editorstate = "tiles"
for i, v in pairs(guielements) do
v.active = false
end
guielements["tabmain"].fillcolor = {63, 63, 63}
guielements["tabtiles"].fillcolor = {0, 0, 0}
guielements["tabtools"].fillcolor = {63, 63, 63}
guielements["tabmaps"].fillcolor = {63, 63, 63}
guielements["tabanimations"].fillcolor = {63, 63, 63}
guielements["tabmain"].active = true
guielements["tabtiles"].active = true
guielements["tabtools"].active = true
guielements["tabmaps"].active = true
guielements["tabanimations"].active = true
guielements["tilesscrollbar"].active = true
guielements["tilesall"].active = true
guielements["tilessmb"].active = true
guielements["tilesportal"].active = true
guielements["tilescustom"].active = true
guielements["tilesanimated"].active = true
guielements["tilesentities"].active = true
guielements["tilesenemies"].active = true
for i, v in pairs(mapbuttons) do
v.active = false
end
end
function toolstab()
if _G["from" .. editorstate .. "tab"] then
_G["from" .. editorstate .. "tab"]()
end
editorstate = "tools"
for i, v in pairs(guielements) do
v.active = false
end
guielements["tabmain"].fillcolor = {63, 63, 63}
guielements["tabtiles"].fillcolor = {63, 63, 63}
guielements["tabtools"].fillcolor = {0, 0, 0}
guielements["tabmaps"].fillcolor = {63, 63, 63}
guielements["tabanimations"].fillcolor = {63, 63, 63}
guielements["tabmain"].active = true
guielements["tabtiles"].active = true
guielements["tabtools"].active = true
guielements["tabmaps"].active = true
guielements["tabanimations"].active = true
guielements["selectionbutton"].active = true
guielements["lightdrawbutton"].active = true
guielements["edittitle"].active = true
guielements["editauthor"].active = true
guielements["editdescription"].active = true
guielements["savesettings"].active = true
guielements["livesdecrease"].active = true
guielements["livesincrease"].active = true
for i, v in pairs(mapbuttons) do
v.active = false
end
end
function mapstab()
if _G["from" .. editorstate .. "tab"] then
_G["from" .. editorstate .. "tab"]()
end
editorstate = "maps"
for i, v in pairs(guielements) do
v.active = false
end
guielements["tabmain"].fillcolor = {63, 63, 63}
guielements["tabtiles"].fillcolor = {63, 63, 63}
guielements["tabtools"].fillcolor = {63, 63, 63}
guielements["tabmaps"].fillcolor = {0, 0, 0}
guielements["tabanimations"].fillcolor = {63, 63, 63}
guielements["tabmain"].active = true
guielements["tabtiles"].active = true
guielements["tabtools"].active = true
guielements["tabmaps"].active = true
guielements["tabanimations"].active = true
guielements["mapscrollbar"].active = true
for i, v in pairs(mapbuttons) do
v.active = true
end
end
function animationstab()
if _G["from" .. editorstate .. "tab"] then
_G["from" .. editorstate .. "tab"]()
end
editorstate = "animations"
for i, v in pairs(guielements) do
v.active = false
end
guielements["tabmain"].fillcolor = {63, 63, 63}
guielements["tabtiles"].fillcolor = {63, 63, 63}
guielements["tabtools"].fillcolor = {63, 63, 63}
guielements["tabmaps"].fillcolor = {63, 63, 63}
guielements["tabanimations"].fillcolor = {0, 0, 0}
guielements["tabmain"].active = true
guielements["tabtiles"].active = true
guielements["tabtools"].active = true
guielements["tabmaps"].active = true
guielements["tabanimations"].active = true
guielements["animationsscrollbarver"].active = true
guielements["animationsscrollbarhor"].active = true
guielements["animationsavebutton"].active = true
guielements["animationselectdrop"].active = true
guielements["animationnewbutton"].active = true
generateanimationgui()
for i, v in pairs(mapbuttons) do
v.active = false
end
end
I don't think so. It could still be something else that is causing it.MM102 wrote:does anyone else get the map reset bug when you use the ceiling entity?
This is what's been happening to me too!Danny wrote:i found the most annoying error, if you edit a level text file in any way (even if you revert to the old changes) the level you edited crashes upon load, even deleting the file and recreating the level doesnt fix this error
MagicPillow wrote:This is what's been happening to me too!Danny wrote:i found the most annoying error, if you edit a level text file in any way (even if you revert to the old changes) the level you edited crashes upon load, even deleting the file and recreating the level doesnt fix this error
I find it's best to keep a backup of the mappack.
alesan99 wrote:Replace the editor.lua with this
https://www.dropbox.com/s/19oqhehijd2eqrt/editor.lua
problem? you are not using love 0.9.0(you can use love 0.9.1 too)GreenScreenBot wrote:alesan99 wrote:Replace the editor.lua with this
https://www.dropbox.com/s/19oqhehijd2eqrt/editor.lua
And that?!?