KLuaPuyo
Stephan Kleinert (2271) 70 posts |
Hi all :) Here’s my next little game… http://code.stephan-kleinert.de/riscos/KLuaPuyo.zip KLuaPuyo is (as the name implies ;)) a PuyoPuyo clone written in Lua. It’s for two players, but there’s also a practice mode for one player included. What’s also included is the matching rlua version, so this thing runs on its own. As with all the diversions I kept coding the last few years, this one could need a little polish here and there (prettier graphics come to mind). p.s.: The controls are i,j,k,l and space for the left player, and 8,4,5,6,0 on the numeric keypad for the right player. I had planned making this configurable, but then other things got in the way… |
Willard Goosey (5119) 257 posts |
A Puyo with a practice mode! Yay! Maybe I can get better at it without some evil player 2 messing me |
GavinWraith (26) 1563 posts |
Congratulations Stephan. Most impressive. By the way, I note that in the !Run file you save LUA_PATH to OLD_LUA_PATH and then define your own LUA_PATH. There is a way round this, because require finds out where to get its argument from package.path and that in turn is initialised by reading the system variable LUA_PATH, or taking a default value if that is undefined. So you can avoid the stuff in !Run by having the line somewhere before you start requiring stuff.
Nice to see RiscLua being used :) |
Stephan Kleinert (2271) 70 posts |
That’s perfect. Thank you very much :) |