Log In  
Follow
Xero0

R0549n-23

quite an unfinished game

i should be doing homework.

Cart #r0549n_23-2 | 2023-10-17 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
5


update 0.0.2: healing drops and bugfixes.

update Dec 26: no progress- i will wait for picotron and make it on there. the higher resolution will be a benefit to this game.

5
2 comments



A helpful function to create a scrolling menuitem.

function menu(i,opt,func)
	local indx=0
	menuitem(i,"< "..opt[1].." >",
		function(b)
			if(b==112)then
				func(opt[indx+2])
				return
			end
			indx+=b*4-6
			indx%=#opt
			menuitem(i,"< "..opt[indx+1].." >")
		end
	)
end

Demo:

Cart #dobuidowat-0 | 2021-04-04 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
2

2
1 comment