hgiabao
Member
Hi, I'm new to GMS, I've been using GMS for 3 months.
In my game, the main character has teleport power. When the player points the mouse to any position on the screen, the character will teleport to that position, there are obstacles that will block the teleportation so the character will stop in front of that object, but there are also objects such as enemies, the character can teleport through that. Is there a specific line of code to do it? If you can, please help me add the teleport effect too, if not, that's fine. Thanks for your help!
In my game, the main character has teleport power. When the player points the mouse to any position on the screen, the character will teleport to that position, there are obstacles that will block the teleportation so the character will stop in front of that object, but there are also objects such as enemies, the character can teleport through that. Is there a specific line of code to do it? If you can, please help me add the teleport effect too, if not, that's fine. Thanks for your help!