problem with spawn and destroy actors:(
eden111
Member Posts: 25
i wanted to do this:
- click on actor 2--> actor 1 appears on the screen, actor 2 disappears.
- you can drag and drop actor 1.
- when you release--> actor 1 disappear and actor 4 and actor 2 appear.
it works first time, but when i try to click actor 2 again, actor 1 disappear immediately(it should disappear only after i release it) and actor 2 and 4 appear...
here is a picture of what i did: http://i33.tinypic.com/rrjg8y.png
i hope you understood, sorry for my bed English..
thanx in advance:)
- click on actor 2--> actor 1 appears on the screen, actor 2 disappears.
- you can drag and drop actor 1.
- when you release--> actor 1 disappear and actor 4 and actor 2 appear.
it works first time, but when i try to click actor 2 again, actor 1 disappear immediately(it should disappear only after i release it) and actor 2 and 4 appear...
here is a picture of what i did: http://i33.tinypic.com/rrjg8y.png
i hope you understood, sorry for my bed English..
thanx in advance:)
Comments
oh yeah, do you have a touch -->pressed rule in your game?
first, tnx for your help.
"so in order for it to work, maybe just say when mouse is released"-->doesnt work..
"oh yeah, do you have a touch -->pressed rule in your game"--> yes:
1. touch actor 1 => drag&drop=1.
2. touch actor 2+mouse inside+mouse button down=> actor 1 appears.
tnx
I'm stuck:/
Let me know if you can fix it please..
hopefully this "big something" is FAST )
Dr. Sam Beckett never returned home...
Twitter: https://twitter.com/Quantum_Sheep
Web: https://quantumsheep.itch.io
Trying to decide if I should release one of my kids games now, or wait for this update...?
I'm hoping for a memory fix, save games functionality, hi-scores, networkable wifi/blue-T games, Pre-built customisable components (thumbsticks, buttons etc)
I don't really want much.
I'd LOVE a set of steak knives!
QS :P
Dr. Sam Beckett never returned home...
Twitter: https://twitter.com/Quantum_Sheep
Web: https://quantumsheep.itch.io