Inspiration
I know how important it is for game development the use of physics simulation. The example on Spark documentation is very simple and I dont know many filters using it, so i decided to learn and explore the possibilities
What it does
How I built it
I used Spark AR, the Cannon Physics package. and some simple 3D objects
Challenges I ran into
Using cannon physics without specific documentation on how to use it with Spark AR Combining the asyncronous nature of Spark AR with Cannon Physics to exchange information back and fourth from scripts and patches Syncronizing the scales of objects simulated and objects displayed on Spark.
Accomplishments that I'm proud of
Reach the deadline and learn the basics of physics inside Spark AR
What I learned
Lots about asyncronous programming and also improved my knowledge about the use of scripts on Spark AR
What's next for Box Shooter
Shoot many balls Point the balls using the camera as reference Use touch gestures to shoot the balls Spread lots of boxes on the environment Create a timer and a score to record how many boxes the user managed to hit
Built With
- cannon
- javascript
- particle
- physics
Log in or sign up for Devpost to join the conversation.