Pickups
You can simply create a floating animation using the code bellow and then add a Collision Event to pickup the object actually.
y = ystart + sin((get_timer()/500000)*5);
In the collision it can be like this:
with(instance_create_layer(other.x, other....
shiman.hashnode.dev1 min read