A simple package adding custom origns for GameMaker LTS 2022+
- Download the .yymps
- Import the package in
Tools
->Import Local Package
. - Ready to go!
var firing_spot_x = new_orign_point_x(x,y,10,-5,image_angle)
var firing_spot_y = new_orign_point_y(x,y,10,-5,image_angle)
instance_create_layer(firing_spot_x,firing_spot_y,"instances", oBullet)
This creates a "firing spot" 10 pixels to the left and 5 pixels up similar to how you would use "emptys" in unity