No, i wrote a mekefile that put all the source in one file and pack the image as a base64 so i don't have to mess with external file on itch.io. Maybe i'll take a look into that, but for the 7drl it worked quite nicely.
Recent community posts
Are you trying to cheat? 8))))))) Just kidding!
The source code can be viewed directly in your browser by right clicking on the page and selecting "view source". I can upload the page and mark it as downloadable so you can have an offline version if you like.
Nice one, but i don't understan the movement scheme ... Sometime i can't go down.
It could be nice to have the game teleport [or move] you to the next level without having to move to the stair.
First of all, thanks a lot!
About your last point ... i had it work differently until a day before the submisson: if you ended your turn in a tile adjacent to an enemy they would spot you. This mechanincs alone redefine the whole game and you had to think twice before move. A friend tested it, didn't understand it and kept asking "why do enemy spot me even in shadow?" ... that's solid and i could not come up with a better solution then to remove it. It's easy, but that's not as bad as i though 8p.
Someone mentioned difficulty levels, i'm thinking about a future release where the "one tile spot" could be in maximum difficulty.
WOW! Nice one! Very intersting game memechanics even if the "controls" are not that intuitive at first. It could have been better to just play the card and then move on the board.
Anyway, again, NICE ONE!
I can say i don't have any other report of a catastrophic failure on all major browser 8)
The game use a canvas, an image and js without any library or any external tool/thing/beemoth.
You can download the page (better the game iframe) and play offline or mess with the code. It's that easy i swear 8p
I'm playing right now with chrome and i used chrome for the whole development ... that's quite strange!
I see the page below, just click in the green highlighted area and then use the keyboard. Does that work?
I also modified the page background to dark gray, now you should see way better where "the game box is", click in it and the use the keyboard.
I know it may be hard at the start, but after some playtrough it should feel less and less hard. At the end you'll find it a little bit too easy ... tust me 8)
I'm thinking about something to make it easier but i can't find a way to not make it trivial ... any suggestion? As a full game it could help to have a tutorial level where samurai do not attack you, but i don't think i'll have time to implement it.
Some basic code to save/load from files in c.
I used it in some c rl I made and it works quite well. It's usefull to save binary data, like the structure of the player/map and load them easly. Keep in mind that this does not support pointer ... if you have pointers in your structure, you must write some custom code to load each chunk of data and then build the final structure.
Hope it helps.