Touch Help

Discuss game development design and post your game ideas

Post » Thu Aug 20, 2015 4:13 am

This is my first post so sorry if i'm in the wrong realm.

I am having problems with the "is in touch" item. I would like to spawn or create another object in the location the touch is in. When I set it to spawn another object, it creates several while in touch, causing the game to crash. Any help would be great! Thanks!
Image
B
21
S
6
Posts: 40
Reputation: 1,357

Post » Thu Aug 20, 2015 4:20 am

My guess is that it is running the event every tick (every game loop cycle), which amounts to quite a lot. You could try adding a condition of "trigger once while true" to make it only do it once.
B
43
S
19
G
65
Posts: 1,103
Reputation: 37,943

Post » Fri Aug 21, 2015 12:36 am

OK Thanks! I'll try that
Image
B
21
S
6
Posts: 40
Reputation: 1,357

Post » Sun Aug 23, 2015 2:47 am

See if that resolves.
B
30
S
9
G
3
Posts: 280
Reputation: 4,212

Post » Sun Aug 23, 2015 5:04 am

It seems to work fine now, thank you very much. :)
Image
B
21
S
6
Posts: 40
Reputation: 1,357

Post » Mon Sep 07, 2015 9:28 am

I also ran into trouble as you ... hope everybody help
B
3
Posts: 27
Reputation: 217


Return to Game Development, Design & Ideas

Who is online

Users browsing this forum: No registered users and 1 guest