View Single Post
Old
chickentree
Super Moderator
 
Status: Offline
Posts: 250
Join Date: Dec 2012
Location: Frosno, Ca
Default 05-24-2018, 10:20 PM

Quote:
Originally Posted by chickentree View Post
I think part of the problem is that you are using infinite loops especially in events.
There are events like "while something is true" or when a "variable changes" that act as more effective loops when the movie is running. I am not sure how the program reacts when an event that contains an infinite loop is called more than once.
Note that there is also a "While the movie is running" event you get to it by selecting "When the world starts" then right clicking on the event and selecting "change to."

So you could for instance have an event called "While speed >0" and it would be called repeatedly whenever the speed was greater than 0 without any loops. This event could be used to move and turn the plane.



Hope this helps.
Mark
I have attached a movie with some of the changes suggested above. moving the speed to a variable and getting rid of some of the loops hopefully it will help.
Mark
Attached Files
File Type: a2w Flight Simulator Experimental 0.2.a2w (1.89 MB, 8 views)


Mark Henwood
mhenwood@ieee.org
   
Reply With Quote