Page 10 of 11

Re: [LIKO-12 V0.6.0_PRE_07] An open-source fantasy computer made in LÖVE

Posted: Fri Feb 02, 2018 2:06 pm
by RamiLego4Game
Hey all, I've just updated the topic post.

LIKO-12 has been under active development all this time :)

It even made it into Google Play

Re: [LIKO-12 V0.6.0_PRE_07] An open-source fantasy computer made in LÖVE

Posted: Sat Feb 24, 2018 3:20 pm
by Darlex
Wow! This is amazing!

Re: [LIKO-12 V0.6.0_PRE_07] An open-source fantasy computer made in LÖVE

Posted: Sat Apr 21, 2018 5:36 pm
by pgimeno
I saw that PICO-8 had a MazezaM version, so I thought that LIKO-12 should have one too!

mazezam-snapshot.png
mazezam-snapshot.png (7.82 KiB) Viewed 7246 times
Here's the .lk12:
mazezam.zip
(7.06 KiB) Downloaded 186 times
MazezaM is a puzzle game with mechanics that may be reminiscent of those of Sokoban. Your goal is to make your way through each room; there are carts in the middle that impede you to do it straight away. The carts are connected row by row (you can only move one row at a time horizontally). In this version, rather than having separate screens, the levels are rooms in a map, which is editable in the LIKO-12 editor (however the camera centre for each room is hard-coded into the program).

Would this be considered for addition to the LIKO-12 games collection?

Re: [LIKO-12 V0.6.0_PRE_07] An open-source fantasy computer made in LÖVE

Posted: Tue Apr 24, 2018 3:21 am
by RamiLego4Game
pgimeno wrote: Sat Apr 21, 2018 5:36 pm I saw that PICO-8 had a MazezaM version, so I thought that LIKO-12 should have one too!


mazezam-snapshot.png

Here's the .lk12:

mazezam.zip

MazezaM is a puzzle game with mechanics that may be reminiscent of those of Sokoban. Your goal is to make your way through each room; there are carts in the middle that impede you to do it straight away. The carts are connected row by row (you can only move one row at a time horizontally). In this version, rather than having separate screens, the levels are rooms in a map, which is editable in the LIKO-12 editor (however the camera centre for each room is hard-coded into the program).

Would this be considered for addition to the LIKO-12 games collection?
Thanks for sharing this !
Yes, I will add it to LIKO-12 games collection.

Just looked at the code, it's very clean and nice, but just 2 things to say:
- Please make the license comment block use --[[ instead of --[=[, It doesn't highlight correctly in LIKO-12
- I saw some TileMap:export(), is it for cloning the map ? If so it would be better to just call TileMap:cut(), without any arguments, which would clone the map.

I've also been working on a sokoban clone for LIKO-12

Re: [LIKO-12 V0.6.0_PRE_07] An open-source fantasy computer made in LÖVE

Posted: Tue Apr 24, 2018 9:25 am
by pgimeno
RamiLego4Game wrote: Tue Apr 24, 2018 3:21 am Thanks for sharing this !
Yes, I will add it to LIKO-12 games collection.

Just looked at the code, it's very clean and nice, but just 2 things to say:
- Please make the license comment block use --[[ instead of --[=[, It doesn't highlight correctly in LIKO-12
- I saw some TileMap:export(), is it for cloning the map ? If so it would be better to just call TileMap:cut(), without any arguments, which would clone the map.

I've also been working on a sokoban clone for LIKO-12
Thanks for looking into it! I'll change the comment style and look into whether cut() is appropriate here, then submit a PR. Better to discuss this there I think.

Re: [LIKO-12 V0.6.0_PRE_07] An open-source fantasy computer made in LÖVE

Posted: Tue Apr 24, 2018 10:53 am
by RamiLego4Game
pgimeno wrote: Tue Apr 24, 2018 9:25 am Thanks for looking into it! I'll change the comment style and look into whether cut() is appropriate here, then submit a PR. Better to discuss this there I think.
Thanks for the pull requests ! :nyu:

I've added your game to the disks repository: https://ramilego4game.github.io/LIKO-12-Disks/
And to the DiskOS games folder

Also made a .png for your game, which is nice to show in the forums :megagrin:

mazezam.png
mazezam.png (17.22 KiB) Viewed 7166 times

Re: [LIKO-12 V0.7.1_PRE] An open-source fantasy computer made in LÖVE

Posted: Tue Apr 24, 2018 11:44 am
by pgimeno
Thanks a lot for merging it :D

Since I can't discuss the Map:cut issue there because there's no PR:

I have looked into it, but I'm not sure if it can be used to save/restore the map state. export/import seemed straightforward for that purpose. I guess I could do checkpoint.map = TileMap:cut() to save and then TileMap = checkpoint.map to restore. Is that what you meant? Is it OK to modify the global TileMap?
RamiLego4Game wrote: Tue Apr 24, 2018 10:53 am Thanks for the pull requests ! :nyu:
You're welcome, they were waiting in my todo list and this seemed like a good opportunity.

Re: [LIKO-12 V0.7.1_PRE] An open-source fantasy computer made in LÖVE

Posted: Tue Apr 24, 2018 11:56 am
by RamiLego4Game
pgimeno wrote: Tue Apr 24, 2018 11:44 am I guess I could do checkpoint.map = TileMap:cut() to save and then TileMap = checkpoint.map to restore. Is that what you meant? Is it OK to modify the global TileMap?
Yes, it's fine to set that global, But you need to re-clone the map.

This would work: TileMap = checkpoint.map:cut()

Looking again at your code, it's well written, so good code !

Re: [LIKO-12 V0.7.1_PRE] An open-source fantasy computer made in LÖVE

Posted: Tue Apr 24, 2018 12:05 pm
by pgimeno
Thanks! I'm not happy about hardcoding the resolution. I forgot to clean that up. I'll send a PR to fix these two issues when I can.

I'd appreciate if you post an update when a LIKO-12 version that includes MazezaM is released on itch.io, so I can notify Malcolm Tyrrell and it can be added to the MazezaM page.

Edit: I've finally decided against both changes. The export/import code is pretty straightforward, and using Map:cut() involves many clones, as it has to be cloned both on save and on load as well as on game initialization and start. On the other hand, the print() calls use hardcoded positions, and changing the code to use an automatic text centring function seems a bit overkill, so since these positions are hardcoded, it already depends on a specific resolution anyway.

Re: [LIKO-12 V0.8.0_PRE] An open-source fantasy computer made in LÖVE

Posted: Sat Sep 01, 2018 8:40 am
by RamiLego4Game
LIKO-12 now has a Github organization: https://github.com/LIKO-12
Most of the repostories has been transfared into the organization, and the main repository is now at https://github.com/LIKO-12/LIKO-12
LIKO-12's Website and documentation are now at https://liko-12.github.io/