Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
-1 votes
1 answer
24 views

Using Nape and ActionScript 3, I built a simple Angry Birds game. I want to modify the force applied by a Ball when it touches a Wall. I used a PreListener, but then I don't know what to change on the ...
yvant's user avatar
  • 79
1 vote
0 answers
66 views

There is a character, when moved across one tile to another sometimes the character either jumps over the meeting point of the tile polygons or becomes completely stuck and can no longer move in the ...
1 vote
0 answers
42 views

I'm creating a level modifying slightly the destructible terrain class from here: http://napephys.com/samples.html#swf-DestructibleTerrain Instead of using PerlinNoise to create a random map, I ...
0 votes
1 answer
548 views

I am trying to port the Nape physics engine (written in Haxe) to a language not supported by Haxe (Xojo). Now I don't understand Haxe but I am comfortable in Python. I'm trying to convert the mass of ....
1 vote
1 answer
230 views

I'm using Nape Physics with the dev version of HaxeFlixel. I have a few FlxNameSprites moving around in my game. Nape's own handling of collision resolution is excellent, but how do I make my own code ...
Piku's user avatar
  • 3,636
1 vote
1 answer
238 views

Im wondering how to keep the same physics behaviour over different screen sizes? For example, i have a wheel fixed on the middle of the stage. I have a mouse pivot joint that i use to spin the wheel. ...
2 votes
1 answer
453 views

I'm trying to use Nape with HaxeFlixel. Sadly, there's almost no documentation on how to use the addons.nape package and I just can't figure out why this code isn't moving the white rectangle (_test). ...
0 votes
0 answers
53 views

I have 13 bodies on the nape space (5 static and 8 dynamic), when i loop through bodylist to remove dynamic bodies, the loop reads only 9 bodies(5 static and 4 dynamic)and ignores the 4 other dynamic ...
1 vote
1 answer
200 views

I have a sprite that I can drag around on screen. I want to be able to drag this sprite into an area (box). As it stands now I can only drop the sprite into the box, but when I drag it directly inn, ...
1 vote
1 answer
87 views

I created a space where there is gravity and two objects: var napeWorld:Space=new Space(new Vec2(0,500)); var ground:FlxNapeSprite = addBox(320, 480, 640, 20, BodyType.STATIC, FlxColor.BLUE); var ...
0 votes
1 answer
356 views

I need help with the physics engine Nape in AS3. I have a class with some rectangles (Nape bodies) as member variables. I have a InteractionListener that reacts when these rectangles interacts with ...
1 vote
1 answer
169 views

How should I set a single callback which would trigger when there is no motion in the Space of Nape, when each body "goes to sleep"? I couldn't find any proper solution for this, but I guess this is ...
0 votes
1 answer
516 views

I'm currently using the Nape physics engine for a "Peggle" style game in ActionScript 3.0. It is very easy to use, and runs smoothly. However, The only difficulty I'm running into with Nape is ...
1 vote
1 answer
125 views

When I compile my hero doesn't touch the floor but stops anyways a few pixels above. I figured if I traced both bodies and their respective sprites I'd know which ones aren't coincinding. trace("Hero:...
RAO's user avatar
  • 71
-1 votes
1 answer
205 views

The question was here for a long time with bounty and no satisfying solution for me. I erased the first post and am posting instead a question that can be answered quickly with a yes or no so I can ...

15 30 50 per page
1
2

AltStyle によって変換されたページ (->オリジナル) /