Game Development Community

iT2D 1.4 Beta - onEnter event of trigger( Not a bug)

by Kiplring · in iTorque 2D · 08/08/2010 (3:07 pm) · 2 replies

Build: 1.4 Release

Platform: OS X 10.6.4, iPhone 3.1.2 and iPhone 4.0

Target: On Device ( It works fine on simulator of TGB)

Issues: onEnter event of trigger isn't called when trigger is entered at the first scene.
( Trigger works ok when it is entered by an object after loading. But trigger do not call onEnter event when it is entered by an object at the loading.)

Steps to Repeat:
1. Follow the "Rainy Day" tutorial. ( It is on the iT2D documentation.)
2. There are trigger on the area of rain. Put the animated plant on the trigger at the first scene.
3. onEnter isn't called on the device at the first scene. ( But onEnter is called on iT2D simulator)

Suggested Fix: Check onEnter event at the scene loading.

#1
08/24/2010 (8:29 pm)
@Kiplring - Can you confirm this is still an issue. I've gotten the Rainy Day tutorial to work on multiple devices, starting from scratch each time.

I'm still going to log this, but I need to make sure you still have the issue or if you discovered a typo in your code.
#2
08/25/2010 (2:36 pm)
Sorry, I seems like my delusion at mid night.

Trigger works fine.

And I stopped the night coding after work.