Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some compatability issues #86

Open
Sterophonick opened this issue Aug 7, 2019 · 4 comments
Open

Some compatability issues #86

Sterophonick opened this issue Aug 7, 2019 · 4 comments
Labels

Comments

@Sterophonick
Copy link

Celeste: Random corruption, multiple players, skipping levels
Tomb of G'Nir: Random 8 and 4s are visible
Rolly: Doesn't Start

@Shoozza
Copy link
Member

Shoozza commented Aug 9, 2019

@Shoozza Shoozza added the bug label Aug 9, 2019
@Shoozza
Copy link
Member

Shoozza commented Aug 9, 2019

Rolly:

=======>8========
Error: api.lua:1089: Error loading lua: [string "rolly.p8"]:1049: ambiguous syntax (function call x new statement) near '('
stack traceback:
        [C]: in function 'error'
        api.lua:1089: in function 'run'
        [string "nocart.p8"]:161: in function <[string "nocart.p8"]:32>
        main.lua:785: in function <main.lua:746>
        [C]: in function 'xpcall'
make: *** [makefile:8: all] Error 1
function distanceinwall(box,checkx,checky,direction)
 local distanceinwall=0

 while mapcol
 (box,distanceinwall*checkx,  --<<<<<< line 1049 <<<<<<
      distanceinwall*checky,0) do
  distanceinwall = distanceinwall + (pixel*direction)
 end

 return distanceinwall
end

@Shoozza
Copy link
Member

Shoozza commented Aug 9, 2019

Tomb of G'Nir:
map rendering issue

function _update()
	if game_state == 0 then
		respawn_timer += 1
		if respawn_timer == 40 then
			respawn_timer = 0
		end
		if btnp(5) then
			game_state = 1
			respawn_timer = 0
			-- blank out map param markers
  	for x=0,127 do
  		for y=60,63 do
  			mset(x,y,0) --<<<<<< should set 8 and 4s etc to black <<<<<<
  		end
  	end
		end 
		return
	end
-- ...

@Shoozza
Copy link
Member

Shoozza commented Aug 28, 2021

rolly.p8 doesn't crash anymore with the latest fix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants