maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Games (https://talk.maemo.org/forumdisplay.php?f=12)
-   -   [OS2008] NumptyPhysics 0.2 released (https://talk.maemo.org/showthread.php?t=19394)

gowen 2008-05-06 15:33

Re: NumptyPhysics 0.2 released
 
A quick question. When I download new levels into the the Games\NumpyPhysics directory, what controls the order in which they are shown inside the program. Basically, how can I ensure that the tutorial levels appear first.

My 5 year old son loves this program, although he can only really cope with rolling balls down ramps. However, what really surprised me, was that my wife was itching to have a go. The last game I think she played was Grim Fandango ten years ago.

tme 2008-05-07 09:58

Re: NumptyPhysics 0.2 released
 
Quote:

Originally Posted by gowen (Post 178437)
A quick question. When I download new levels into the the Games\NumpyPhysics directory, what controls the order in which they are shown inside the program. Basically, how can I ensure that the tutorial levels appear first.

Level order is determined from the filename. Levels should be of the form
Lnn_blah.nph where nn is the level order. eg: in /usr/share/numptyphysics you
will see L00_title.nph L01_tutorial.nph L05_plane_sailing.nph etc. duplicate
numbers are ok. levels with no number default to 999.

Reggie 2008-05-27 15:06

Re: NumptyPhysics 0.2 released
 
I just found this flash game called Magic Pen that can be a good upgrade to NP or at least get ideas from. Check it out: http://magic.pen.fizzlebot.com/magic-pen.swf

maacruz 2008-12-30 23:58

Re: NumptyPhysics 0.2 released
 
When I try to run numptyphysics it fails with this output:
Code:

X11 window =0240000c
X11 fswindow =02400001
X11 wmwindow =02400002
top level /usr/share/numptyphysics/L10_the_leap.nph
bogus level path /usr/share/numptyphysics/pause.png
top level /usr/share/numptyphysics/L15_trampoline.nph
top level /usr/share/numptyphysics/L50_nautilus.nph
addLevel /usr/share/numptyphysics/L01_tutorial.nph at 0
bogus level path /usr/share/numptyphysics/edit.png
bogus level path /usr/share/numptyphysics/theend.png
bogus level path /usr/share/numptyphysics/next.png
bogus level path /usr/share/numptyphysics/paper.jpg
bogus level path /usr/share/numptyphysics/play.png
addLevel /usr/share/numptyphysics/L35_pusher.nph at 3
addLevel /usr/share/numptyphysics/L38_box.nph at 4
addLevel /usr/share/numptyphysics/L30_see_saw.nph at 3
addLevel /usr/share/numptyphysics/L35_pendulum.nph at 5
bogus level path /usr/share/numptyphysics/record.png
addLevel /usr/share/numptyphysics/L00_title.nph at 0
addLevel /usr/share/numptyphysics/L40_tree_of_life.nph at 8
addLevel /usr/share/numptyphysics/L05_plane_sailing.nph at 2
bogus level path /usr/share/numptyphysics/next_win32.png
gotoLevel 0
loaded image /usr/share/numptyphysics/paper.jpg
*** CAUGHT: invalid stroke def
~$

What can I do?

munky261 2009-01-06 00:29

Re: NumptyPhysics 0.2 released
 
thp, what are the controls? how do we get the pallette menu, or the undo button?

Gourmand 2009-01-24 14:04

Re: NumptyPhysics 0.2 released
 
got same trouble as for maacruz

it worked later but now I can't run it

what's wrong? how can I fix it?

thp 2009-02-06 01:11

Re: NumptyPhysics 0.2 released
 
Quote:

Originally Posted by munky261 (Post 254777)
thp, what are the controls? how do we get the pallette menu, or the undo button?

See this URL for how the keys on the tablet are "mapped":

http://maemomm.garage.maemo.org/docs...l/ch02s03.html

Basically, you can get to all functionality using keys F4, F5, F6, F7 and F8, Esc, Return and the arrow keys.

tme 2009-02-06 10:16

Re: NumptyPhysics 0.2 released
 
Quote:

Originally Posted by maacruz (Post 253610)
When I try to run numptyphysics it fails with this output:
Code:

bogus level path /usr/share/numptyphysics/record.png
addLevel /usr/share/numptyphysics/L00_title.nph at 0
gotoLevel 0
*** CAUGHT: invalid stroke def

What can I do?

looks like you're using the development version (v0.3) from extras-devel.
if you want stability it's best to stick to v0.2 from extras. can you
check your version? the specific error relates to finding a zero
length stroke in the level.

thp 2009-02-06 12:19

Re: NumptyPhysics 0.2 released
 
Quote:

Originally Posted by tme (Post 262493)
looks like you're using the development version (v0.3) from extras-devel.
if you want stability it's best to stick to v0.2 from extras. can you
check your version? the specific error relates to finding a zero
length stroke in the level.

I've installed numptyphysics from extras-devel and experience the same bug. I tried debugging it via gdb, but gdb tells me the program exited normally.

When you get such a CAUGHT error, can you recover from that (e.g. by removing the zero-length stroke from the internal data structure?). If not, what would happen if you would let the app continue?

buurmas 2009-07-02 22:58

Re: NumptyPhysics 0.2 released
 
I don't understand the "npz" files here (the "all" buttons): http://numptyphysics.garage.maemo.org/levels/. I can't seem to open them with Numpty Physics, whether opening them directly from the site or saving them first and . I'm guessing they are zip files except I can't open them with XArchiver (I haven't taken the time to try changing the file extension to zip or something, although that would be my next logic step). Any illumination would be appreciated. I believe I have version 0.2.

BTW, as an aside, the graphic for the "all" buttons doesn't show up on some browsers (including Tear on my n810 & Chrome on my desktop).


All times are GMT. The time now is 01:12.

vBulletin® Version 3.8.8