Skip to content

Create a prediction trajectory using this code. Emulate the effect created by games such as angry birds; in which they show where the projectile is going to move after release.

Notifications You must be signed in to change notification settings

timomak/Swift-Projectile-Prediction-Trajectory

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

Swift-Projectile-Prediction-Trajectory

What is it:

Create a prediction trajectory using this code. Emulate the effect created by games such as angry birds; in which they show where the projectile is going to move after release.

Creators: Michael Loubier & Timofey Makhlay

This code has been implemented into a game called AlienEscape. iTunes Link: https://itunes.apple.com/us/app/alien-escape-best-app-to-take-revenge-on-aliens/id1268172911?mt=8

There are many ways to go about creating a Projectile Trajectory, but most of the use walk arounds: such as creating invisible projectiles and map their trajectory every time that the angle and impulse changes. This is the most percise and easy to load way.

Well known games such as Angry Birds were able to achieve the same effect trhough already pre-made tools within software such as Unity; tools that are not avaliable in xCode.

How to use:

The "Projectile-Prediction-Trajectory.swift" file will contain the necessary code to create your Projectile Prediction Trajectory line.

See the code in use in "sample-Projectile-Prediction-Trajectory.swift".

About

Create a prediction trajectory using this code. Emulate the effect created by games such as angry birds; in which they show where the projectile is going to move after release.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages