Page 1 of 1

Sokoban Clone (more of a tech demo than anything)

Posted: Tue Feb 26, 2013 9:53 pm
by veethree
So i haven't programmed in a while, And because of that i decided to write a little sokoban clone. It's far from finished and only has 1 level (there's 2 in the game files, But no way to get to the 2nd one without altering the code, and I'm not sure the 2nd one is possible), But the basic mechanics work. And the reason i'm posting this is cause i'd like some feedback on the code. There are probably better ways to do a lot of the things I'm doing, And I'd like to know what those ways are :)

So if you have time to look over my code and perhaps give some feedback/suggestions, I'd highly appreciate it.

EDIT: Forgot to mention the controls, WASD or arrow keys

Re: Sokoban Clone (more of a tech demo than anything)

Posted: Wed Feb 27, 2013 8:58 pm
by markgo
Hey it works! Nothing much to comment. I like that you have a code to convert a picture to a map.

Re: Sokoban Clone (more of a tech demo than anything)

Posted: Wed Feb 27, 2013 9:08 pm
by pakoskyfrog
What i can say is, nice coding. Well crafted !
The thing i could advise you to do is add objects/classes, that will bring you the possibility to have more than one of the same and interchange stuff. What i have in mind is your map (btw, i love the littles png file ^^)
You could also make a destroyer/reloader... It's up to you, it's you game :)
And kudos for the engine, seems perfect ^^