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?

J4ZZ 2011-01-16 16:10

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

Originally Posted by dwaradzyn (Post 921541)
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?

Thank you for answering, I installed with Fapman maybe that was the reason. After installing it with HAM no error about missing fonts but a segmentation fault error appeared and the game won't start either.

:(

Greetz,

..::J4ZZ::..

chan32167 2011-01-17 17:31

Re: [Announce] Mokomaze - great opensource Labirynth clone ported to N900
 
hello i have a question about the application. When i set my n900 flat on a table, the ball moves upwards fast... is the game configured like that, or something wrong with the calibration of my device?

amh 2011-01-17 17:52

Re: [Announce] Mokomaze - great opensource Labirynth clone ported to N900
 
I think the game calibrates the accelerometer at the start, so if you have the device tilted that creates an artificial flat plane which is different to the table top. Try pausing the game and calibrating with the device flat (just tap the screen a couple of times).

magnuslu 2011-01-20 02:40

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

Originally Posted by zehjotkah (Post 920318)
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.

I can't get the online editor to work. It never displays anything. Does it require any particular O/S and browser combination? I use WinXP with IE7.

Wikiwide 2011-01-20 03:13

Re: [Announce] Mokomaze - great opensource Labirynth clone ported to N900
 
Quick reply...
What about adding to deb dependencies:
provides: osso-lmarbles
replaces: osso-lmarbles

It should allow uninstallation of non-free osso-lmarbles and Osso-graphics-game-lmarbles without disturbing mp-fremantle-generic-pr, and mokomaze is only slightly larger than osso-lmarbles and Osso-graphics-game-lmarbles taken together, so it would be just replacing one non-free component of Maemo with a free one, which looks/works better.

Are there any problems with this suggestion?

Cyrax 2011-01-20 07:19

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

Originally Posted by magnuslu (Post 924331)
I can't get the online editor to work. It never displays anything. Does it require any particular O/S and browser combination? I use WinXP with IE7.

The editor uses HTML5 <canvas> tag, so it works in any modern browser except of IE.

J4ZZ 2011-03-23 07:09

Re: [Announce] Mokomaze - great opensource Labirynth clone ported to N900
 
Still not solved here:

Code:

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.

Does someone knows whats wrong with /home/user ??

Thx in advance,

..::J4ZZ::..

dwaradzyn 2011-03-23 07:36

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

Originally Posted by J4ZZ (Post 973672)
Still not solved here:

Code:

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.

Does someone knows whats wrong with /home/user ??

Thx in advance,

..::J4ZZ::..

Due to programming error that is a very confusing error message. What really happens is Mokomaze trying to load font from '/usr/share/fonts/tahoma.ttf' and if it fails the error message is about liberation font.

Please make sure you have a valid /usr/share/fonts/tahoma.ttf file and you should be ok.

delmar 2011-03-23 13:00

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

I like this game, thank you

Mentalist Traceur 2011-03-23 18:31

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

Originally Posted by Wikiwide (Post 924338)
Quick reply...
What about adding to deb dependencies:
provides: osso-lmarbles
replaces: osso-lmarbles

It should allow uninstallation of non-free osso-lmarbles and Osso-graphics-game-lmarbles without disturbing mp-fremantle-generic-pr, and mokomaze is only slightly larger than osso-lmarbles and Osso-graphics-game-lmarbles taken together, so it would be just replacing one non-free component of Maemo with a free one, which looks/works better.

Are there any problems with this suggestion?

Ever played Marbles? It's nothing like Mokomaze. This is an accelerometer-based tilt-the-device game - Marbles is a logic puzzle game of an entirely different sort.

J4ZZ 2011-03-26 11:16

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

Originally Posted by dwaradzyn (Post 973681)
Due to programming error that is a very confusing error message. What really happens is Mokomaze trying to load font from '/usr/share/fonts/tahoma.ttf' and if it fails the error message is about liberation font.

Please make sure you have a valid /usr/share/fonts/tahoma.ttf file and you should be ok.

Finally, that fixed it... big thanks :)

..::J4ZZ::..

niloy 2011-03-27 03:35

Re: [Announce] Mokomaze - great opensource Labirynth clone ported to N900
 
Coool game, thanksss.

One question, 10 new levels have been added. I searched for "main.levelpack.json" on N900 and found it in 2 places:
1) /opt/mokomaze/data/main.levelpack.json
2) /home/opt/mokomaze/data/main.levelpack.json

Which one should I replace?

casketizer 2011-03-27 03:59

Re: [Announce] Mokomaze - great opensource Labirynth clone ported to N900
 
It's both the same file. /opt = /home/opt

Where did you get the extra levels?

J4ZZ 2011-03-28 06:17

Re: [Announce] Mokomaze - great opensource Labirynth clone ported to N900
 
New problem... After replacing config.json for having widescreen, the game doesn't start again. From terminal I get segmentation fault and from desktop it's just closing after a few seconds of trying to load. :-(

Any ideas, what's causing this?

niloy 2011-03-28 15:30

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

Originally Posted by casketizer (Post 976367)
It's both the same file. /opt = /home/opt

Where did you get the extra levels?

Here:
https://github.com/Sektor/mokomaze/b...levelpack.json

rfeese 2011-11-01 15:28

Re: [Announce] Mokomaze - great opensource Labirynth clone ported to N900
 
This is a neat game. Why hasn't it been promoted to testing?


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

vBulletin® Version 3.8.8