dashorty
Feb 16, 2016 - 19:30
Hello
I want to code a Dart-Score-App.
Is there a solution to test if a user touch a SpriteNode? The Textures are rectangles with alpha.
Hello
I want to code a Dart-Score-App.
Is there a solution to test if a user touch a SpriteNode? The Textures are rectangles with alpha.
if touch.location in sprite_node.frame: # a real hit test
See https://forum.omz-software.com/topic/2518/tip-useful-objects-like-rect-obj-in-scene-module-others-also/7