Using nape with haxeflixel

152 views
Skip to first unread message

Matt

unread,
Feb 25, 2015, 8:00:00 AM2/25/15
to haxef...@googlegroups.com
I decided to use NAPE PYHSICS in my project but i shortly realized that i cant make load an image into 2d Nape objects, so i looked around the internet and i found that the Class to make nape object with image is a class called FlxNapeSprite ( from haxe flixel nape demo ) , but the thing is FlxNapeSprite doesnt seem to exist, i even checked all the source code of nape and there is nothing. Did anyone have same problems with nape? 

SruloArt

unread,
Feb 25, 2015, 8:35:13 AM2/25/15
to haxef...@googlegroups.com
You need to add the flixel-addons library to your project.xml in order to have access to the Nape classes. The demo is very useful: http://haxeflixel.com/demos/FlxNape/

Matt

unread,
Feb 25, 2015, 8:56:10 AM2/25/15
to
But i did exactly that.





Matt

unread,
Feb 25, 2015, 8:59:49 AM2/25/15
to haxef...@googlegroups.com
Oh i get it, you need to enable both  Nape and flixel-addons. 


Reply all
Reply to author
Forward
0 new messages