Notices


Reply
Thread Tools
Posts: 223 | Thanked: 67 times | Joined on Jun 2006
#71
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.
 
Posts: 66 | Thanked: 145 times | Joined on Jan 2008
#72
Originally Posted by gowen View Post
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's Avatar
Posts: 1,436 | Thanked: 3,144 times | Joined on Jul 2005
#73
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
__________________
Reggie Suplido
 

The Following 3 Users Say Thank You to Reggie For This Useful Post:
Posts: 1,101 | Thanked: 1,184 times | Joined on Aug 2008 @ Spain
#74
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's Avatar
Posts: 1,674 | Thanked: 171 times | Joined on Mar 2007 @ Anderson, IN
#75
thp, what are the controls? how do we get the pallette menu, or the undo button?
 
Posts: 129 | Thanked: 5 times | Joined on Mar 2008
#76
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's Avatar
Posts: 1,391 | Thanked: 4,272 times | Joined on Sep 2007 @ Vienna, Austria
#77
Originally Posted by munky261 View Post
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.
 
Posts: 66 | Thanked: 145 times | Joined on Jan 2008
#78
Originally Posted by maacruz View Post
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's Avatar
Posts: 1,391 | Thanked: 4,272 times | Joined on Sep 2007 @ Vienna, Austria
#79
Originally Posted by tme View Post
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?
 
Posts: 670 | Thanked: 367 times | Joined on Mar 2009
#80
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).
 
Reply


 
Forum Jump


All times are GMT. The time now is 07:55.