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)

mwiktowy 2008-04-25 16:12

Re: NumptyPhysics 0.2 released
 
Brilliant app ... kudos! Very high quality although a bit odd to quit out of.

Even more spectacular though is the way to try out different levels. I was pleasantly surprised when I could just browse to the website http://numptyphysics.garage.maemo.org/levels/ and click "play" on the puzzle I wanted to try and it "just worked". "Save" was a little less optimal as it just displayed the source code of the level. But it is nice that it is a simple text file ... I just have to figure out where to save it to make it a permanent level.

Thanks!

sachin007 2008-04-25 16:17

Re: NumptyPhysics 0.2 released
 
wow great game! i just completed all the built in levels. The tree level was good but the clast level withh the circle in the middle was the toughest. any one wants tips? ill pm if u want!

Nanocore 2008-04-25 16:29

Re: NumptyPhysics 0.2 released
 
OK, I must be a dumbs*?t as I am having a hard time with several screens. Like the one with the two see-saws. It seems like I am missing something. I know the principle behind this is try anything, but the things I am trying just don't seem to work right.

For example, (in general, not that it solves any specific problem) how to you make a see-saw like mechanism. I put a triangle to the left of the red object and then draw a straight line such that the middle of the line rests on the triangle. Now I want to draw a box to drop on the side of the line that is up in the air, such that when the box hits it that the other side goes up. Is this not possible?

Benson 2008-04-25 16:45

Re: NumptyPhysics 0.2 released
 
Possible, but you've gotta make sure it only touches at a single point (in which case it will tip one way or the other, because nothing's perfect). If you draw it a little too low, it'll intersect the triangle two places; now it's rigid (or close to it). Draw the lever a little above the fulcrum, so it can settle down on it. Also, since it will fall one way, make sure it starts the way you want by making that side just a hair longer, then it will easily flip up when you drop the weight on it.

briand 2008-04-25 16:46

Re: NumptyPhysics 0.2 released
 
@rcadden: enable draw, select red color, draw any small object directly above the star. ;)

@nanocore: draw a "plank" that falls across both see-saws. Now, treat the entire area as a flat plain. ;)



hey! if there's no rules, then it can't be cheating!!

desiv 2008-04-25 16:49

Re: NumptyPhysics 0.2 released
 
This has me thinking about a thread for how to get past a level.
I don't want to take away the fun in solving anything, but there are ideas I would never have had.

For instance, when I went to the Numpty page on the garage, I saw a pic of a level, but it had a tower with a swinging block to hit the ball. That's not how I did that level, so it gave me something else to try.

Just a thought

desiv

p.s. The tree level is tough. It took me quite a while as well. But I've solved it two different ways now.

rcadden 2008-04-25 16:54

Re: NumptyPhysics 0.2 released
 
Moving off the levels momentarily, perhaps in v0.3, holding the back button down for a few seconds could take you to a main menu, where you could pick your level and whatnot?

Also, we should PM reggie and see if NumptyPhysics could get its own subforum to chat about levels in, like Canola has?

fiferboy 2008-04-25 17:31

Re: NumptyPhysics 0.2 released
 
If anyone wants to see a solution to the Nautilus level, follow the link:

http://andrew.olmsted.ca/screens/nautilus.png

If you want to work it out for yourself, don't peek!

EDIT: Unless I am missing something, this level has a bug that prevents it from automatically ending when you get the gold ball. Helpful for screenshots, though!

Nanocore 2008-04-25 17:38

Re: NumptyPhysics 0.2 released
 
I can certainly see why this simplistic game has people obsessive about it, I have been sucked in as well. I did get the swinging rig to work...for the most part and have used it on several levels. However, like the one that has the helicopter in it with a platform in the middle of the page and the platform with the star lower and to the right. I want to try to devise the mechanism to "flip" it from the one platform to the other with a see-saw lever. Granted there is an easier way (put a straight line between the two and drop a ball on top of the red one to nudge it down hill), but I am stubborn and want a more rube goldberg-esk solution!

ioan 2008-04-25 18:16

Re: NumptyPhysics 0.2 released
 
1 Attachment(s)
I created two new levels

sachin007 2008-04-25 18:25

Re: NumptyPhysics 0.2 released
 
Quote:

Originally Posted by fiferboy (Post 174665)
If anyone wants to see a solution to the Nautilus level, follow the link:

http://andrew.olmsted.ca/screens/nautilus.png

If you want to work it out for yourself, don't peek!

EDIT: Unless I am missing something, this level has a bug that prevents it from automatically ending when you get the gold ball. Helpful for screenshots, though!

Yeah true.. i was surprised when the ball hit the star and nothing happened!!

sachin007 2008-04-25 18:27

Re: NumptyPhysics 0.2 released
 
Quote:

Originally Posted by fiferboy (Post 174665)
If anyone wants to see a solution to the Nautilus level, follow the link:

http://andrew.olmsted.ca/screens/nautilus.png

If you want to work it out for yourself, don't peek!

EDIT: Unless I am missing something, this level has a bug that prevents it from automatically ending when you get the gold ball. Helpful for screenshots, though!

Infact i think you tried the hard way. I did the opposite.... i got the star down instead of the getting the ball up. Two different thoughts.

There you go guys.... two hints.!!

tme 2008-04-25 23:24

Re: NumptyPhysics 0.2 released
 
Quote:

Originally Posted by sachin007 (Post 174690)
Yeah true.. i was surprised when the ball hit the star and nothing happened!!

haha - you can tell i never completed that level myself then - how embarrassing. there must be a fleck of gold dust somewhere else in the level. i'll remove it.

tme 2008-04-25 23:28

Re: NumptyPhysics 0.2 released
 
Quote:

Originally Posted by rcadden (Post 174654)
Moving off the levels momentarily, perhaps in v0.3, holding the back button down for a few seconds could take you to a main menu, where you could pick your level and whatnot?

for the moment you can just use left/right pad to change levels. you can also browse when you are at the bravo dialog by clicking on the arrows either side of the view.

tme 2008-04-25 23:30

Re: NumptyPhysics 0.2 released
 
Quote:

Originally Posted by Bundyo (Post 174519)
Yes, some quit dialog on the escape button will be handy :)

Or some other button since this is used now.

if you have n810 you can use 'q' to quit. not v useful. i will add long press esc to quit in next version.

mwiktowy 2008-04-25 23:51

Re: NumptyPhysics 0.2 released
 
Quote:

Originally Posted by briand (Post 174651)
@rcadden: enable draw, select red color, draw any small object directly above the star. ;)

hey! if there's no rules, then it can't be cheating!!

That level is no Kobayashi Maru, Kirk. ;]

It can be done without editing the level.

rcadden 2008-04-26 00:17

Re: NumptyPhysics 0.2 released
 
Quote:

Originally Posted by tme (Post 174813)
for the moment you can just use left/right pad to change levels. you can also browse when you are at the bravo dialog by clicking on the arrows either side of the view.

I knew about the bravo level select, but not the d-pad, thanks!

TA-t3 2008-04-28 09:33

Re: NumptyPhysics 0.2 released
 
I did all the levels save the nautilus one (haven't checked that solution link yet), but something funny happened with the oil rig or whatever it is.. I was adding a mechanism to flip open the 'door' (whatever) on the side near the star, when suddenly gravity turned 90 degrees to the left.

desiv 2008-04-29 20:48

Re: NumptyPhysics 0.2 released
 
I just thought of my unrealistic feature request of the day.
I was using my 770, playing numptyphysics, and watching a ball almost roll down a ramp that wasn't quite steep enough, and found myself tilting the tablet to help it roll faster.
It didn't work.. ;-)

However, with the addition of the wiimote hack, and some (alot?) of code, it could.

Just a weird thought for the day. :-)

desiv

p.s. If someone else mentioned it earlier.. Cmon, you can't search for everything! :-)

butelo 2008-04-29 21:10

Re: NumptyPhysics 0.2 released
 
I've got a doubt in this fantastic game.
The puzzles must be solved just using the blue lines without the editing tools?
or to use the edit tools it's allowed?
I've solved all levels of this version without using the editing tools palette but I've got some ideas for new levels and I want to know the "rules"
Tx for this app I've much fun with it in my iPod Touch, and I think that is even more fun this one, because you've got buttons, better performance and bigger screen.

tme 2008-04-29 21:41

Re: NumptyPhysics 0.2 released
 
Quote:

Originally Posted by butelo (Post 176116)
I've solved all levels of this version without using the editing tools palette but I've got some ideas for new levels and I want to know the "rules"
.

there are no rules! some people like to solve it in a single stroke. others won't pause. some won't undo. most won't edit. you can even skip straight past the level.

more levels welcome!

superstar 2008-05-02 04:39

Re: NumptyPhysics 0.2 released
 
How do you save the levels on that garage page? When I click on "save" I get the source code. Do I save that on the N800? if so, where? can I create a directory on any card and point it there for additional levels?

I tried clicking on save in the editing mode but it only saves one game that I can access offline. TIA

tme 2008-05-02 13:39

Re: NumptyPhysics 0.2 released
 
Quote:

Originally Posted by superstar (Post 177048)
How do you save the levels on that garage page? When I click on "save" I get the source code. Do I save that on the N800? if so, where? can I create a directory on any card and point it there for additional levels?

you can tap-hold for the context menu and do save-link-as (actually i have
not tried this myself). i will add a "download all" to the collection page
soon.

Quote:

Originally Posted by superstar (Post 177048)
I tried clicking on save in the editing mode but it only saves one game that I can access offline. TIA

the editor always saves to the same level filename. you can rename this
later using the file manager.

Greyghost 2008-05-02 20:39

Re: NumptyPhysics 0.2 released
 
Quote:

Originally Posted by tme (Post 176126)
there are no rules!

That's what makes this the best game on the IT!

mplawner 2008-05-02 22:01

Re: NumptyPhysics 0.2 released
 
Like everyone else, I love this game. But I won't play it on my n800 anymore... cause it's killing my screen covers!!!!! :eek:

So, I pulled numptyphysics svn on my Ubuntu 7.04 (yeah, I know... ever since I upgraded my Windows 95 machine to Windows Me!...)
Code:

svn checkout https://garage.maemo.org/svn/numptyphysics
apt-got a bunch of stuff:
Code:

sudo apt-get install libsdl-dev libsdl-image1.2-dev libx11-dev xlibs-dev
(not sure if all were completely necessary, though)

And attempted to compile in the numptyphysics/trunk folder:
Code:

make
Had to fix one little problem that I couldn't get by in the end:
Code:

g++ i686/Path.o i686/Canvas.o i686/Levels.o i686/Game.o i686/libbox2d.a -Li686 -lSDL -lSDL_image -lX11 -o i686/Game
Created /usr/share/numptyphysics and copied all the *.png, *.jpg and *.nph files along with the i686/Game binary there.
Created a link from Game to numptyphsyics and added it to my path.

Zipped up my /usr/share/numptyphysics directory.
Began writing this post.
THANK YOU TIM EDMONDS!
Thanked Tim Edmonds.
Attached the zip file of my /usr/share/numptyphysics directory, making no promises...
Am about to click Submit Reply

....

Clicked Submit Reply
Noticed that the zip file was not attached because it was a whopping 300 kb.
Clicked Edit...
GOOD LUCK FOLLOWING THE DIRECTIONS! IT'S WORTH IT.
Wished you luck following my directions
Am about to click Save...

thp 2008-05-03 07:05

Re: NumptyPhysics 0.2 released
 
In case anyone wants to play (or develop levels for) numptyphysics on Windows machines, I've done a very quick port to WIN32. You can find the patch against SVN r42 and a compiled .exe package there:

http://thpinfo.com/2008/numptyphysics/

The data files are placed in the subfolder "data/", relative to where the exe is put. You can put downloaded levels there and when you save a level you have modified or created, you can copy it from the "data/" folder (the L99_... file, same name as the standard numptyphysics on Maemo/Linux).

Thanks to Tim for this great game! :)

qole 2008-05-03 22:16

Re: NumptyPhysics 0.2 released
 
Heh, what a turnaround! Is this the first time that people have ported a tablet app to desktop machines?

TA-t3 2008-05-05 14:22

Re: NumptyPhysics 0.2 released
 
Quote:

Originally Posted by mplawner (Post 177332)
Like everyone else, I love this game. But I won't play it on my n800 anymore... cause it's killing my screen covers!!!!! :eek:

So, I pulled numptyphysics svn on my Ubuntu 7.04 (yeah, I know... ever since I upgraded my Windows 95 machine to Windows Me!...)
Code:

svn checkout https://garage.maemo.org/svn/numptyphysics
apt-got a bunch of stuff:
Code:

sudo apt-get install libsdl-dev libsdl-image1.2-dev libx11-dev xlibs-dev
(not sure if all were completely necessary, though)

And attempted to compile in the numptyphysics/trunk folder:
Code:

make
[additional steps and packaging]

Did you try just 'fakeroot debian/rules binary' to make it to a .deb? Should work, or at least with just minor modifications. I built my version for OS2007 like that.

TA-t3 2008-05-05 14:23

Re: NumptyPhysics 0.2 released
 
Quote:

Originally Posted by qole (Post 177666)
Heh, what a turnaround! Is this the first time that people have ported a tablet app to desktop machines?

No, 'vagalume' (the last.fm client) appeared on desktop Debian a while ago.

tme 2008-05-06 11:14

Re: NumptyPhysics 0.2 released
 
Quote:

Originally Posted by TA-t3 (Post 178098)
Did you try just 'fakeroot debian/rules binary' to make it to a .deb? Should work, or at least with just minor modifications. I built my version for OS2007 like that.

i develop this mostly on ubuntu (64-bit) so should build and run without too much
hassle. i haven't finished the ubuntu packaging but but a quick
dpkg-buildpackage should get you most of the way there.

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