• Hello [name]! Thanks for joining the GMC. Before making any posts in the Tech Support forum, can we suggest you read the forum rules? These are simple guidelines that we ask you to follow so that you can get the best help possible for your issue.

Question - GML Visual Wrap around room error

D

Damien Murtagh

Guest
Hi folks. I'm a teacher, and preparing some lessons in the D&D interface. I have the weird problem when using the Wrap around room action triggered by an outside of room event. I have two objects moving around the room (asteroids and moons). All the instances of the asteroids are wrapping no problems. Most of the instances of the moon are disappearing when they leave the room (but not all!!!).

The code for both asteroids and moons is exactly the same. If I change the moon sprite to the asteroid sprite, the problem goes away, but all the setting on the two different sprites is also the same.

I'm lost. Any suggestions?
 
D

Damien Murtagh

Guest
Ok, I've done some more playing around and found a solution. It seems the program is having the point of origin for the sprite over a transparent region.
 
Top