Page 1 of 1

slime game

Posted: Sat Jul 19, 2014 4:03 am
by soidev
Hello there!
Here is a little game I've been working for a while. I'm still working on it, so there is some stuff that doesn't work as it supposed to.
It is a puzzle platformer game, with level editor and online browser.
You may get the most up-to-date version here.

Update: map format was redone on 22 of july, so if you downloaded the game before that, please update

Image
Image
Image
sorry for my english

Re: slime game

Posted: Sat Jul 19, 2014 4:37 am
by master both
The game looks really polished and fun, unfortunately it errors everytime I lose.Image

Re: slime game

Posted: Sat Jul 19, 2014 9:34 am
by Jasoco
Adorable art style. Awesome.

Re: slime game

Posted: Sat Jul 19, 2014 11:45 am
by Germanunkol
I like the art style as well!

I got an error when blowing myself up with a bomb:

Code: Select all

Error: slime.lua:124: attempt to index global 'mslime' (a nil value)
stack traceback:
	slime.lua:124: in function 'update'
	main.lua:355: in function 'update'
	[string "boot.lua"]:434: in function <[string "boot.lua"]:399>
	[C]: in function 'xpcall'
I can't find any levels online... I could only create my own and test them - intended?

Edit: One more thing: Since there's no music I was extremely shocked when the first bomb went of... my sound was set to a relatively high level. It scared me O.o... maybe add background/ambiente music so this doesn't happen?

Re: slime game

Posted: Sat Jul 19, 2014 12:08 pm
by soidev
master both wrote: it errors everytime I lose.
Germanunkol wrote:I got an error when blowing myself up with a bomb
Fixed.
Germanunkol wrote:I can't find any levels online... I could only create my own and test them - intended?
The problem seems to be on your side, the log shows other people loading maps. Can you access http://soidev.ddns.net/slime/maps/mapList?

Also, did anyone try to publish your map? What message does is show, if any?

Re: slime game

Posted: Sat Jul 19, 2014 1:28 pm
by Germanunkol
Now I can access it. Weird. Maybe my connection was down.

I notice you're distributing Lua files as maps... Do you do verification on the server side that no malicious code is transmitted? And do you sandbox the Lua code when loading?
If you ever want to distribute the game beyond this forum, you should probably do both of the above...

Re: slime game

Posted: Sat Jul 19, 2014 1:37 pm
by soidev
Germanunkol wrote:Do you do verification on the server side that no malicious code is transmitted?
Yeah, I do, although it needs improvement. Right now it checks if the file matches a certain pattern.
Germanunkol wrote:And do you sandbox the Lua code when loading?
I'll get on it soon.

Re: slime game

Posted: Fri Aug 22, 2014 9:25 am
by Robin
You probably want to either use JSON or kikito's sandbox thingy for maps, to avoid security problems.