I have created menus for my game, but i have on problem again. When level starts, ball (pallo2) gets linear impulse. I have used Runtime:addEventListener(“system”,moveball) code to start impulse, but “system” doesnt work anymore with director class. So can somebody help me, that ball gets impulse when level starts.
Here is my code:
[code]function moveball()
pallo2:applyLinearImpulse( 0.1, 0.2, pallo2.x, pallo2.y )
end
Runtime:addEventListener(“system”,moveball) [import]uid: 18445 topic_id: 6840 reply_id: 306840[/import]