GameMaker (2.0 - 2.2.x)
Icon

Ballistics

Ground Effect Games

You must be logged in to obtain assets

Description

Add real bullet physics to your game! Includes path-based trail effects. Simple implementation, yet accurate enough to do real 2D physics simulations.

Here's how it works:

create_ball(x,y,speed,direction,spin,diameter,mass,drag coefficient,air viscosity,air density,name)

(Sample values are included in the package)

The viscosity and density tell the bullet whether it is flying through water, air, corn syrup, motor oil, or anything else you can imagine. Drag coefficient is like an air friction multiplier, and depends mostly on what shape of bullet you are using. Make one up, look it up online, or use the included script.

yep, you can name the bullets.

Want some explosion effects too? Click "more info" to check those out!

Want more? Here is a link to everything by this author: https://marketplace.yoyogames.com/publishers/218/ground-effect-games

More info

End User Licence Agreement (EULA).

Age Rating: 4+

Versions

GMS1 - Version 12.1.14. Published December 1, 2014

Added realistic spin torque due to air friction. Added some comments in create_ball for how to use aero_cd to estimate coefficient of drag.

GMS2 - Version 6.10.18. Published June 11, 2018

Loading, please wait

Package contents

Loading, please wait

What is the issue?

Loading, please wait