amiga.org
     
iconAll times are GMT -6. The time now is 11:17 PM. | Welcome to Forum, please register to access all of our features.

» Amiga.org » Amiga computer related discussion » Amiga Software Issues and Discussion » how to code a flight simulator...

Amiga Software Issues and Discussion This forum exists for the discussion of the use, issues with, and fun brought about by classic and next generation Amiga software.

Reply
 
Thread Tools Display Modes
Old 06-17-2007, 05:54 PM   #1
rednova
Technoid
Points: 10,277, Level: 67 Points: 10,277, Level: 67 Points: 10,277, Level: 67
Activity: 2% Activity: 2% Activity: 2%
 
rednova's Avatar
 
Join Date: Mar 2007
Location: Georgia, USA
Posts: 497
Default how to code a flight simulator...

Dear Amigans:

What is the best language to code a flight simulator (like falcon) for amiga. I use amospro..but I don't think it is able to handle this project. What is the best language for this?

thank you!!!
rednova
-mobilis in mobile-
rednova is offline   Reply With Quote
Old 06-17-2007, 06:18 PM   #2
vic20owner
Technoid
Points: 7,674, Level: 58 Points: 7,674, Level: 58 Points: 7,674, Level: 58
Activity: 5% Activity: 5% Activity: 5%
 
Join Date: Jun 2004
Posts: 397
Default Re: how to code a flight simulator...


I would suggest C and assembly. Good luck.
vic20owner is offline   Reply With Quote
Old 06-17-2007, 06:24 PM   #3
benJamin
Technoid
Points: 6,414, Level: 52 Points: 6,414, Level: 52 Points: 6,414, Level: 52
Activity: 2% Activity: 2% Activity: 2%
 
benJamin's Avatar
 
Join Date: Mar 2003
Location: Afront a computer
Posts: 223
Default Re: how to code a flight simulator...

Ouch! Flight sim', eh?

You could do worse than C or C++. If you're serious, probably skip C as it makes C++ a little harder to 'relearn' (IMHO).

As I have occasioned AmosPro myself, and done other, more serious work, in C, C++, Java, etc., for work, I suggest that you get your mathematics right in Amos, then 'port' it to C++. The other way around is to learn all the display functions in C++ (it's taking me a long time... ;-) ) before you even go near the mathematics.

The long and short of it is, if you want to see results fast, even though they will be slower, use Amos; you already know it. If you want fast results and are willing to spend a long time getting to them, use C++. If you want to know that your time in C++ won't be wasted, prototype in Amos (that which you know best) and covert to C++ (that which you can learn along the way).

As a hobby project, you will probably jump between the two sub-projects when the mood takes you, and don't forget the work others have done to make the OS libraries more accessible!

Someone may point me to the truth, but JetPilot always felt to me as though it were running in Amos... :-)


benJamin
"Don't listen to me, I know not what I do!"
__________________
Amiga.org - The site for MiniMig support and news.
cms.jaminjay.com
benJamin is offline   Reply With Quote
Old 06-17-2007, 06:29 PM   #4
vic20owner
Technoid
Points: 7,674, Level: 58 Points: 7,674, Level: 58 Points: 7,674, Level: 58
Activity: 5% Activity: 5% Activity: 5%
 
Join Date: Jun 2004
Posts: 397
Default Re: how to code a flight simulator...


Agreed.. start with what you know best. There is always a way to speed it up... if you start with a new language you may get frustrated before you make and real progress.

vic20owner is offline   Reply With Quote
Old 06-17-2007, 07:04 PM   #5
Skeeter
Merely Curious
Points: 3,820, Level: 39 Points: 3,820, Level: 39 Points: 3,820, Level: 39
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Mar 2004
Posts: 3
Default Re: how to code a flight simulator...

If you're thinking Big you might try considering Flight Gear . It's available for most platforms including PPC Mac. There are many planes already available.
Skeeter is offline   Reply With Quote
Old 06-18-2007, 12:23 AM   #6
skurk
Cult Member
Points: 6,522, Level: 52 Points: 6,522, Level: 52 Points: 6,522, Level: 52
Activity: 5% Activity: 5% Activity: 5%
 
skurk's Avatar
 
Join Date: Dec 2006
Posts: 929
Default Re: how to code a flight simulator...

A flight simulator is a LO-HO-HOT of work. Especially if you want to use vector graphics, like F-18 Interceptor. Even trivial stuff like polygon clipping and z-buffering is a {bleep} on Amiga.

It's not impossible, far from it. It has been done before, so it can be done again.

It's just that it's a ridicilously big task.
__________________
Code 6502 asm or... DIE!!

[C64, C128, A500, A600, A1200, A3000, MBP+Mini, Efika/MOS2.1, Sam440 w/AOS4.1
skurk is offline   Reply With Quote
Old 06-18-2007, 06:11 AM   #7
bloodline
Master Sock Abuser
Points: 37,161, Level: 100 Points: 37,161, Level: 100 Points: 37,161, Level: 100
Activity: 8% Activity: 8% Activity: 8%
 
bloodline's Avatar
 
Join Date: Mar 2002
Location: London, UK
Posts: 11,657
Blog Entries: 3
Default Re: how to code a flight simulator...

If you want to stick with Amos... then just get a copy of AMOS 3D... then all you really have to worry about is the physics :-)

With AMOS 3D you could easily get a "space flight sim" up and running in an hour or less...

If you go with C/C++, then you can use one of the many SDL openGL 3d engines available on GameDev.net to do the graphics... the game engine/physics will be the same as with your AMOS program...
__________________
My iPhone Game: Puny Humans -
http://itunes.apple.com/gb/app/puny-...362230281?mt=8
bloodline is offline   Reply With Quote
Old 06-18-2007, 06:42 AM   #8
ddniUK
Cult Member
Points: 6,578, Level: 53 Points: 6,578, Level: 53 Points: 6,578, Level: 53
Activity: 2% Activity: 2% Activity: 2%
 
Join Date: Apr 2006
Location: Northern Ireland
Posts: 504
Default Re: how to code a flight simulator...

The problem with Amiga is it cant do planar graphics properly. The CD32 used the AKIKO chip to help with Chunky to Planar conversions. In truth most Amiga 3D games use one of the very many routines to do Chunky to planar conversion in software.

The Amigas' limits here are purely down to the fact that its hardware predates the demands of "true" 3D

For an example, If I run TFX/Falcon/Jetpilot etc (AGA) on my 060 voodoo3 powered Amiga, I get an enjoyable if slightly jerky and muddy looking sim.

If I run Fusion, a Mac emulator on the same Amiga, and play a game such as Apache A10 (P96) I get a spectacular sim with super smooth graphics and crisp clear visuals.

Whilst the Amiga needs new games,we should be careful to ensure that they play to the strengths of the machine.
ddniUK is offline   Reply With Quote
Reply

Bookmarks

Tags
code , flight , simulator

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
floppy simulator Mpdos marauderII Amiga Hardware Issues and discussion 2 05-12-2007 01:29 AM
SubLogic's Flight Simulator II on A1200 Invisix Amiga Software Issues and Discussion 2 12-30-2005 11:40 PM
New ATARI Flight Simulator asian1 CH / General 2 12-16-2005 01:49 AM
`Space Simulator` blobrana Alternative Operating Systems 7 06-24-2004 07:53 AM
WTB: Flight Simulator I and/or II Gavilan Amiga Gaming 0 05-31-2004 07:41 AM