![]() |
[me again...] Flight sim 0.1, link and questions
Hey guys, its me again. I have progressed through the coding, and i found a couple of bugs. I have left a link to the project in this post so that you can analyse it.
Bug 1- The Boeing 707 Jet, when selected, would eventually turn for some reason again, even though the method is already finished without a loop function. Bug 2- The game seems to immediately lag as soon as i start the events for "flying". I think its the overall timing of the methods, but they are all on 0.01 second updates on the loop method, so i guess that's not it. Bug 3- Camera is kinda broken when selecting an aircraft and/or switching it Bug 4- Inputs are still going even though i restart or stop the sim. This seems to be a reoccurring problem in all of my posts and this simulations progress. |
[QUOTE=notherdimension100;58038]Hey guys, its me again. I have progressed through the coding, and i found a couple of bugs. I have left a link to the project in this post so that you can analyse it.
Bug 1- The Boeing 707 Jet, when selected, would eventually turn for some reason again, even though the method is already finished without a loop function. Bug 2- The game seems to immediately lag as soon as i start the events for "flying". I think its the overall timing of the methods, but they are all on 0.01 second updates on the loop method, so i guess that's not it. Bug 3- Camera is kinda broken when selecting an aircraft and/or switching it Bug 4- Inputs are still going even though i restart or stop the sim. This seems to be a reoccurring problem in all of my posts and this simulations progress.[/QUOTE] ...I don't see the link...hmm. :confused: |
[QUOTE=sometimes618;58039]...I don't see the link...hmm. :confused:[/QUOTE]
hmm, hang on. ill resend it [url]https://drive.google.com/open?id=1ILI20q-v5b5_oX9lQ-W-YgU5XzwO75TO[/url] this should get you to the file |
[QUOTE=notherdimension100;58038]Hey guys, its me again. I have progressed through the coding, and i found a couple of bugs. I have left a link to the project in this post so that you can analyse it.
Bug 1- The Boeing 707 Jet, when selected, would eventually turn for some reason again, even though the method is already finished without a loop function. Bug 2- The game seems to immediately lag as soon as i start the events for "flying". I think its the overall timing of the methods, but they are all on 0.01 second updates on the loop method, so i guess that's not it. Bug 3- Camera is kinda broken when selecting an aircraft and/or switching it Bug 4- Inputs are still going even though i restart or stop the sim. This seems to be a reoccurring problem in all of my posts and this simulations progress.[/QUOTE] 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 |
1 Attachment(s)
[QUOTE=chickentree;58041]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[/QUOTE] 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 |
I'm so happy...somebody besides me posted an Alice 2 world on the forums. :D:D:D
If there's one thing I would like to see be fixed, it's that the game told me it was Q and W for the throttle, but it's actually Q and E. Other than that, I like it. |
[QUOTE=sometimes618;58043]I'm so happy...somebody besides me posted an Alice 2 world on the forums. :D:D:D
If there's one thing I would like to see be fixed, it's that the game told me it was Q and W for the throttle, but it's actually Q and E. Other than that, I like it.[/QUOTE] Thanks, I haven’t posted to this thread before as your advice seemed to cover the same bases I would have. Mark |
All times are GMT -5. The time now is 06:03 AM. |
Copyright ©2023, Carnegie Mellon University
Alice 2.x © 1999-2012, Alice 3.x © 2008-2012, Carnegie Mellon University. All rights reserved.