maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Games (https://talk.maemo.org/forumdisplay.php?f=12)
-   -   [Announce] Mokomaze - great opensource Labirynth clone ported to N900 (https://talk.maemo.org/showthread.php?t=68066)

Cyrax 2011-01-14 08:12

Re: [Announce] Mokomaze - great opensource Labirynth clone ported to N900
 
Quote:

Originally Posted by rcull (Post 919806)
the bigger problem is that these Teeter levels where designed for an 800 pixel wide screen.

This is not a problem at all. The real problem is that ball and holes' sizes are a bit different in Mokomaze and Teeter, so it is necessary to modify them both in a levelpack and config file (config.json). Nevertheless levels from the new pack looks nice even now.

Besides, IIRC, Teeter has a non-flat surface in a number of levels which is not supported in Mokomaze and these levels may became too easy to complete.

I highly recommend the fans of the game to create a nice NEW levels (or adapt existing levels for a wide screen) with help of the Online Level Editor. Free game must contain only free levels. I'll be happy to bundle the best of them into an official pack for N900 and publish it on the game's home page. I'm pretty sure that there are a lot of creative people within the Maemo community, but no one has started to create new levels yet.

F2thaK 2011-01-14 08:59

Re: [Announce] Mokomaze - great opensource Labirynth clone ported to N900
 
hey...

i like this game, quick and easy (ish!)

one thing, with the graphics..

the holes that kill ya need to be inverted, as they look like bumps/lumps, not holes...

just a suggestion

rcull 2011-01-14 15:37

Re: [Announce] Mokomaze - great opensource Labirynth clone ported to N900
 
5 Attachment(s)
New translevel script attached. This script expects to find a folder under MyDocs named levels:- ie MyDocs/levels/

Within this folder the script expects files with names n.txt ie:-

1.txt, 2.txt .....

The script needs two parameters 'Name of level' and 'author' in inverted commas ie

Code:

./translevel "New levels" "Anon"
This will create a file in MyDocs/levels named main.levelpack.json also attached to this post is wall.png, desk.png, config.json and main.levelpack.json ( Teeter levels ).

EDIT: the levelpack is zipped into main.zip - drop all .txt extensions

In root navigate to /opt/mokomaze/data and rename these four files with for instance .old ie.
Code:

mv wall.png wall.png.old
and then copy the attached four files to the current directory.

You're done. :) Try It

Editing config.json is just a matter of changing the res so do that instead if your confident with vi.

These levels are 800x480 so to run the originals you will have to put all back as you found it.

ie
Code:

mv wall.png.old wall.png
etc

To reset levels - edit /home/user/.mokomaze/user.json changing both the level and max_levels to 1 or whatever level you want to start at.

As they're both 800x480, wall.png and desk.png can be swapped to get a green background with brushed steel walls and obviously any two .png of the right resolution can be used - ( keep in mind the text overlays ).

I haven't tried it yet but there is a 'levelpack' parameter in user.json - maybe we can have more levelpacks and change this parameter to suit. It obviously wouldn't work unless all are the same resolution.

rcull 2011-01-14 16:34

Re: [Announce] Mokomaze - great opensource Labirynth clone ported to N900
 
Bonus :)

Code:

{
   
        "comment": " RickOne ",
   
        "boxes": [
            { "x1": 10,        "y1": 80,        "x2": 170,        "y2": 90 },
            { "x1": 250,        "y1": 10,        "x2": 260,        "y2": 240 },
            { "x1": 80,        "y1": 230,        "x2": 260,        "y2": 240 },
            { "x1": 10,        "y1": 350,        "x2": 190,        "y2": 360 },
            { "x1": 180,        "y1": 300,        "x2": 190,        "y2": 360 },
            { "x1": 410,        "y1": 10,        "x2": 420,        "y2": 60 },
            { "x1": 400,        "y1": 200,        "x2": 410,        "y2": 210 },
            { "x1": 400,        "y1": 220,        "x2": 410,        "y2": 230 },
            { "x1": 400,        "y1": 250,        "x2": 410,        "y2": 350 },
            { "x1": 270,        "y1": 370,        "x2": 280,        "y2": 740 },
            { "x1": 350,        "y1": 430,        "x2": 430,        "y2": 500 },
            { "x1": 280,        "y1": 540,        "x2": 360,        "y2": 620 },
            { "x1": 420,        "y1": 20,        "x2": 479,        "y2": 60 },
            { "x1": 320,        "y1": 290,        "x2": 330,        "y2": 300 },
            { "x1": 100,        "y1": 390,        "x2": 140,        "y2": 420 },
            { "x1": 150,        "y1": 480,        "x2": 180,        "y2": 510 },
            { "x1": 80,        "y1": 540,        "x2": 120,        "y2": 560 },
            { "x1": 160,        "y1": 610,        "x2": 220,        "y2": 630 },
            { "x1": 110,        "y1": 750,        "x2": 140,        "y2": 770 },
            { "x1": 260,        "y1": 730,        "x2": 280,        "y2": 740 }
        ],
   
        "holes": [
            { "x": 200,        "y": 160 },
            { "x": 50,        "y": 300 },
            { "x": 260,        "y": 310 },
            { "x": 340,        "y": 240 },
            { "x": 290,        "y": 160 },
            { "x": 370,        "y": 110 },
            { "x": 300,        "y": 50 },
            { "x": 360,        "y": 350 },
            { "x": 430,        "y": 570 },
            { "x": 400,        "y": 680 },
            { "x": 350,        "y": 770 },
            { "x": 440,        "y": 760 },
            { "x": 210,        "y": 420 },
            { "x": 70,        "y": 470 },
            { "x": 200,        "y": 560 },
            { "x": 60,        "y": 620 },
            { "x": 130,        "y": 690 },
            { "x": 40,        "y": 760 },
            { "x": 220,        "y": 30 },
            { "x": 90,        "y": 160 },
            { "x": 209,        "y": 765 }
        ],
   
        "checkpoints": [  { "x": 440,        "y": 760 }  ],

        "init": { "x": 40,        "y": 30 }

        }


zehjotkah 2011-01-14 16:51

Re: [Announce] Mokomaze - great opensource Labirynth clone ported to N900
 
Thanks, Levelpack works.
One Problem is still there, though.
The first level comes now after the 10th.
The second level after the 20th and so on.
Level 1 - 9 should be named Level 01 - 09.


edit: I think a cool feature would be multi levelpack support.
So everyone can build their levelpacks and submit them to the Mokomaze site and then everyone can play these level without having to rename the old levelpack file.
Of course these Levelpacks have to be in the same resolution.

zehjotkah 2011-01-14 17:04

Re: [Announce] Mokomaze - great opensource Labirynth clone ported to N900
 
1 Attachment(s)
I've made the Teeter Levelpack with the correct order of the levels.

Andy1210 2011-01-14 17:35

Re: [Announce] Mokomaze - great opensource Labirynth clone ported to N900
 
i finished on this new 32lvl :D thx

rcull 2011-01-14 18:53

Re: [Announce] Mokomaze - great opensource Labirynth clone ported to N900
 
1 Attachment(s)
Forgot a sort -g
:o

works as advertised now.

zehjotkah 2011-01-14 19:37

Re: [Announce] Mokomaze - great opensource Labirynth clone ported to N900
 
And a video:
http://youtube.com/meetmeego
or directly on
http://www.youtube.com/watch?v=aAn3nc7O4TI

Thanks for watching.

dwaradzyn 2011-01-16 14:34

Re: [Announce] Mokomaze - great opensource Labirynth clone ported to N900
 
Quote:

Originally Posted by J4ZZ (Post 918551)
I could need help here, the game simply won't start.

Code:

/opt/mokomaze # /opt/mokomaze/mokomaze
File_loader: savegame file not found
File_loader: 48 game levels parsed
Home directory /home/user not ours.
Main: can't load font '/opt/mokomaze/data/LiberationMono-Regular.ttf'. Exiting.
/opt/mokomaze #

Any help would be really kind.

Greetz,

..::J4ZZ::..

It seems that you have installed Mokomaze from different source. The version I uploaded to fremantle extras-devel repository does not use liberation fonts.

Maybe you have debian/ubuntu repos in your /etc/apt/sources.list?


All times are GMT. The time now is 09:11.

vBulletin® Version 3.8.8