Page 1 of 1
[solved!] when level is saved, it is no longer playable!
Posted: Sun Oct 06, 2024 7:26 pm
by vinnyg0621
so I noticed a bug in one of my levels after I fiddled around and trying to update the editor, where the player is absolutely
stuck in one vertical line, which is the rightmost block of the level, and I can only jump but I cannot move left or right! this is
so odd! someone help me immediately!!

and, it only happens when and after I save the level to a .lvlx file
Re: [HELP!!] when level is saved, it is no longer playable!
Posted: Mon Oct 07, 2024 2:14 pm
by Shaktool
Does this happen with your other levels? if not, i just think its probable its either corrupt or you probably misplaced/not placed the starting point for player 1/2? This never happened to me.
Re: [HELP!!] when level is saved, it is no longer playable!
Posted: Tue Oct 08, 2024 10:25 am
by Emral
it would help to upload the working and non-working level files. so others can take a look and figure out what's wrong.
Re: [HELP!!] when level is saved, it is no longer playable!
Posted: Tue Oct 08, 2024 4:34 pm
by vinnyg0621
no, it's now happening to every level I make and save. it wasn't doing this before. and when I tested a simple level I made, I didn't save it yet, I just tested it and it started in the right position., but, when I saved it it simply corrupted!
Re: [HELP!!] when level is saved, it is no longer playable!
Posted: Tue Oct 08, 2024 5:29 pm
by mariobrigade2018
vinnyg0621 wrote: ↑Tue Oct 08, 2024 4:34 pm
no, it's now happening to every level I make and save. it wasn't doing this before. and when I tested a simple level I made, I didn't save it yet, I just tested it and it started in the right position., but, when I saved it it simply corrupted!
Try checking if your antivirus is doing anything funny to the game. Also:
Emral wrote:
it would help to upload the working and non-working level files. so others can take a look and figure out what's wrong.
Re: [HELP!!] when level is saved, it is no longer playable!
Posted: Fri Oct 11, 2024 8:16 pm
by vinnyg0621
Emral wrote: ↑Tue Oct 08, 2024 10:25 am
it would help to upload the working and non-working level files. so others can take a look and figure out what's wrong.
I can only upload the non-working level file since only when it's saved it's simply broken.
Re: [HELP!!] when level is saved, it is no longer playable!
Posted: Sun Oct 13, 2024 4:22 am
by Emral
vinnyg0621 wrote: ↑Fri Oct 11, 2024 8:16 pm
Emral wrote: ↑Tue Oct 08, 2024 10:25 am
it would help to upload the working and non-working level files. so others can take a look and figure out what's wrong.
I can only upload the non-working level file since only when it's saved it's simply broken.
Then post that, please.
Re: [HELP!!] when level is saved, it is no longer playable!
Posted: Sun Oct 13, 2024 3:10 pm
by vinnyg0621
Re: [HELP!!] when level is saved, it is no longer playable!
Posted: Sun Oct 13, 2024 3:32 pm
by Emral
I don't have this issue with the file you posted.
Please take a screenshot of the game after pressing F2 and post that. It should show some text in the top left corner.
Also, did you make any changes to your installation of SMBX2?
Re: [HELP!!] when level is saved, it is no longer playable!
Posted: Sun Oct 13, 2024 5:25 pm
by vinnyg0621
Emral wrote: ↑Sun Oct 13, 2024 3:32 pm
I don't have this issue with the file you posted.
Please take a screenshot of the game after pressing F2 and post that. It should show some text in the top left corner.
Also, did you make any changes to your installation of SMBX2?
did you watch the video?
Added in 3 minutes 7 seconds:
Emral wrote: ↑Sun Oct 13, 2024 3:32 pm
I don't have this issue with the file you posted.
Please take a screenshot of the game after pressing F2 and post that. It should show some text in the top left corner.
Also, did you make any changes to your installation of SMBX2?
and here's the image!

Re: [HELP!!] when level is saved, it is no longer playable!
Posted: Mon Oct 14, 2024 1:08 am
by Emral
Yes I watched it.
Please post the contents of the active luna.lua file.
Re: [HELP!!] when level is saved, it is no longer playable!
Posted: Mon Oct 14, 2024 2:22 pm
by vinnyg0621
oh! i fixed it!! so, in my episode script, it said this:
Code: Select all
local targetX = 1000 -- Replace with your desired x-coordinate
function onTick()
local player = Player(1)
player.x = targetX
end
and I removed it, and I can move around again!
problem solved