Skip to main content

Timeline for get Actor hit() from array of Nodes

Current License: CC BY-SA 3.0

14 events
when toggle format what by license comment
Dec 6, 2016 at 15:48 history edited Mounir Elfassi CC BY-SA 3.0
remove unnecessary code
Nov 28, 2016 at 20:28 review Close votes
Dec 13, 2016 at 3:01
Nov 28, 2016 at 11:12 history edited Mounir Elfassi CC BY-SA 3.0
improving my code
Nov 27, 2016 at 23:16 history edited Mounir Elfassi CC BY-SA 3.0
add comment to code
Nov 27, 2016 at 22:46 history edited Mounir Elfassi CC BY-SA 3.0
explaining my problem
Nov 27, 2016 at 22:40 history edited Mounir Elfassi CC BY-SA 3.0
explaining my problem
Nov 27, 2016 at 22:34 comment added Jacob Check the answer
Nov 27, 2016 at 22:34 comment added Mounir Elfassi @spectre I have multiple menu items (Buttons, Levels) but the touch event not working for me
Nov 27, 2016 at 22:34 answer added Jacob timeline score: 1
Nov 27, 2016 at 22:32 history edited Mounir Elfassi CC BY-SA 3.0
improving my code
Nov 27, 2016 at 22:28 comment added Mounir Elfassi my code returns null
Nov 27, 2016 at 22:26 comment added Jacob First of all, you don't need to call node != null after you checked it with instanceof (if it would be null instanceof would return false). Second, you're casting your Node object to SpriteNode 3 times. Don't. Assign it to a pointer like if(node instanceof SpriteNode) SpriteNode newNode = (SpriteNode) node; and use the newNode later. Third, I don't know what do you want to achieve. Please explain your question a bit. We don't even know if your code works now or not ;)
Nov 27, 2016 at 22:12 review First posts
Nov 28, 2016 at 1:18
Nov 27, 2016 at 22:08 history asked Mounir Elfassi CC BY-SA 3.0