IE 9 crash when I click new topic.

Game Editor comments and discussion.

IE 9 crash when I click new topic.

Postby Clokio » Mon May 23, 2011 3:37 am

Just to let you know.

By the way hello community I am new, I am usualy making 3D game, but I am looking to learn more about 2D. I have a question. When I attach a script to a actor, is it executed every frame?

I am doing the Moon patrol tutorial and I din't figured how to scroll the screen to the right to add more objects (actors)

Thanks
Clokio
 
Posts: 229
Joined: Tue May 17, 2011 2:18 pm
Score: 32 Give a positive score

Re: IE 9 crash when I click new topic.

Postby skydereign » Mon May 23, 2011 4:41 am

Welcome. To address your questions, it depends on the event. Scripts in the draw event will trigger each frame, as long as the actor exists. The keydown events, if set to repeat, will trigger every frame that they key is pressed. Out of vision event will trigger scripts every frame that the actor is out of vision, and so on. Most events though don't.

Do you mean scroll the screen in the editor? If so just click somewhere where there are no actors, and drag to the left. This should move you more to the right. If you meant get the view to move, the tutorial should have ways of doing that. Essentially increase the view's x value, for a relevant example, in its draw event. That way it happens every frame.
User avatar
skydereign
 
Posts: 3510
Joined: Mon Jul 28, 2008 8:29 am
Score: 589 Give a positive score


Return to GE - General

Who is online

Users browsing this forum: No registered users and 1 guest