Help creating simple notification system

Get help using Construct 2

Post » Sat Jan 19, 2013 2:57 pm

Hi, i'm trying to create a simple notification system, where my game pushed a message to an aray. Whenever the array has a message in it, it's supposed to display that message for 5 seconds, then delete that message. The array is used sorta like a queue system, so when two notifications are sent at once, it will display them one after another.

When I try to build this, the program doesnt work after the first notification, and the que count I created goes into minus figures. Is there any way I could fix this?

http://dl.dropbox.com/u/54652629/NotificationsCenterTest.capx

Hope you can help
B
10
S
2
Posts: 94
Reputation: 1,536

Post » Sat Jan 19, 2013 3:22 pm

When there are messages queued, the event is triggered constantly so after 5 seconds the whole array is cleared instead of just one message.

Here is one way to fix it: Notification example
B
24
S
8
G
7
Posts: 756
Reputation: 7,192

Post » Sat Jan 19, 2013 7:13 pm

Thank you so much for that, it works perfectly :)marlon6672013-01-19 19:13:37
B
10
S
2
Posts: 94
Reputation: 1,536


Return to How do I....?

Who is online

Users browsing this forum: spacedoubt and 2 guests