« on: October 12, 2019, 08:50 PM »
Thanks for the tips.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
The good news is your flight simulator mathematics will be fast, and c++ would be the language of choice for doing hardcore simulations where mathematical calculations need to be done as quickly as possible.I agree this is a tough road and I am over my head, but C++ is the tool my mentor wants to use to program the DLLs/apps to use with the Microsoft Flight Simulator X. With his help and a template he has helped me code a function which holds a floatplane/seaplane/amphibian locked in one position next to a dock (docking) and pivoting like when a floatplane/seaplane/amphibian is anchored offshore. He did most of the coding for locking to a location, but left me to take a crack at coding locking the heading as well and it worked! There is A LOT I don't know, but at least I have had a successful start. FWIW - I won't be coding any 3D graphics, so at least it will be a little less complicated. We'll see? In the meantime, I have not done any coding on my text-based flightsim. I have only been planning, per your encouragement. Based on that rough sketch I will probably not have any kind of real prototype until next summer, but I should have a simple, linear, basic alpha before the end of the year. Here's hoping!
The bad news is you've made your job a lot harder, and you've already bitten off more than almost anyone can chew.-mouser (October 27, 2017, 09:01 PM)
...Roger that. Thanks.
Just be prepared for a struggle whenever you start to learn a new language.-mouser (October 12, 2017, 11:11 PM)
...Python fills this bill, does it not? Ha! Funny thing is I have always wanted a project that would be a good one for Python.
I think the only strong recommendation I would make is to use an OOP language.-mouser (October 12, 2017, 10:15 PM)
I think no matter what it will be an interesting and challenging project.Thanks for the input. One of the best things about this project is I can focus on my strengths of over 2000 hours of simulated flying in all kinds of aircraft and several hours in a number of real aircraft large and small.-mouser (October 12, 2017, 09:49 PM)
As for the best programming language -- one of the other nice things about doing text-based coding is that you can use almost any programming language.. speed won't be an issue and neither will library support, etc.I was hoping someone would say this.
So I would fall back on my default language suggestion these days to use PythonThanks. Python never crossed my mind, although I played with it some years ago.
But mainly I would suggest you do most of your coding virtually in the form of planning before you ever start coding.When I was coding COBOL, DB2, and (my favorite) CICS back in the '90s it was normal to spend weeks/months in planning and prototype before committing hours to coding. Today, a programmer can get instant results and debug. Back then we condsidered getting our printouts (there were no screen views) in under four hours as something short of a miracle. But, that was a good thing as we really thought through the whole process and not just take a guess and see how it worked out. LOL
@MilesAhead - Thanks for that heads-up. It looks like a good resource, but I probably need to learn AHK better so I can ask intelligent questions.-CodeTRUCKER (September 18, 2015, 02:27 PM)
They have no problem helping newbs to the language. About the only things that annoy the regulars there are things like saying "it doesn't work" without telling what happens when it doesn't work or "I get errors" without specifying the errors, or refusal to post a test case that shows the problem.
Everyone has a bit of trouble with AHK syntax when starting out since it mixes old and new syntax styles.
But in any case it's up to you.-MilesAhead (September 18, 2015, 02:38 PM)
It looks like it's the active window for that one declaration. You can use the window title or text to get it also.-wraith808 (September 16, 2015, 04:00 PM)