You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
How can we add image into p2.js and do physics stuff (you know, drag an image, drop there, etc).
There is option to use p2 with phaser but my client want smallest size of project.
Any recommendation or pointers..
Cheers.
The text was updated successfully, but these errors were encountered:
Hi,
p2.js is only a physics library. You can use its output to render in whatever way you want.
HTML5 canvas can be used if you want to render an image at a position in a canvas element, and it doesn’t require any library for rendering. See the examples list here: https://github.com/schteppe/p2.js/blob/master/README.md#examples
What kind of drag and drop effect do you have in mind?
Hello,
How can we add image into p2.js and do physics stuff (you know, drag an image, drop there, etc).
There is option to use p2 with phaser but my client want smallest size of project.
Any recommendation or pointers..
Cheers.
The text was updated successfully, but these errors were encountered: