Actor problem ://
Hey,
what to do when I have a png of my actor ( animal), and the touch zone of my actor is much bigger than the "real" actor himself? If you don't hit the animal exactly and instead beside, it still gets touched...really annoying
thx
what to do when I have a png of my actor ( animal), and the touch zone of my actor is much bigger than the "real" actor himself? If you don't hit the animal exactly and instead beside, it still gets touched...really annoying
thx
Comments
My GameSalad Academy Courses! ◦ Check out my quality templates! ◦ Add me on Skype: braydon_sfx
But refering to ExactlyGamingEG, is makes no sense if I chnage the size because then the animal in the picture itself gets just smaller, to make it more clear just imagine a invisible rectangle with an animal in it, but the animal does not fill the whole rectangle!
Thats the problem...
So
1. Create an actor
2. In Color, set alpha to 0
3. change size to the touch zone size you want (e.g. 50x50)
4. Create game.attribute.hotspot
5. in animal actor, Spawn hotspot infront of actor at 0,0, create rule that if game.attribute.hotspot is true, then ...(e.g. then play animal sound).
6. make sure you change attribute to false after animal sounds, so it can sound again, or in whichever space is appropriate for your app. if you want to disable hotspot after it is pressed, just destroy it.
hope this helps.