I've done that part, what's the other events that I would need to add to get the portal spawning on the coordinates, also some events to help with replacing an opposing portal when shooting at the spawner sprite .
okay, ill try it out. thanks for all your help.
okay cool, can you post an example of what that would look like in my case, on the event sheet?
Develop games in your browser. Powerful, performant & highly capable.
Yes,and what's a raycast?
I want to make a game that has portals in it, so whenever you left click you will get a blue portal and whenever you right click you will get an orange portal. I have made a specific sprite for the portals to spawn on (I want to be able to copy and move this sprite to other places where I want portals to be) but if you want the other portal there you can click and it will get replaced. I was thinking about using variables for this but am pretty clueless on how to do it properly.
Any help appreciated.
Member since 19 Aug, 2020