irrflight_chung free flight simulator in freebasic
irrflight_chung free flight simulator in freebasic
irrflight_chung is a free flight simulator written in freebasic and irrlicht openGL 3D engine , with air and ground combat.
you can find it there => http://chungswebsite.blogspot.com/searc ... ight_chung
you can find it there => http://chungswebsite.blogspot.com/searc ... ight_chung
Last edited by chung on May 17, 2010 9:18, edited 2 times in total.
I though it was pretty fun to fly around. Just seems odd that Q-D keys are for one kind of turning and A-E for another, shouldn't it be Q-E and A-D?
Also, I'm sad that you sabotage irrlicht's cross-platformability by using WinAPI. There are a lot of alternatives for sound, such as FBSound and OpenAL; messageboxes look bad (and out-of-place) and I think most of them could be removed anyway (when not, a keyboard-answerable y/n question would probably suffice).
Also, I'm sad that you sabotage irrlicht's cross-platformability by using WinAPI. There are a lot of alternatives for sound, such as FBSound and OpenAL; messageboxes look bad (and out-of-place) and I think most of them could be removed anyway (when not, a keyboard-answerable y/n question would probably suffice).
-
- Posts: 444
- Joined: Mar 10, 2006 19:22
I have no Dos box nor error displayed, but irrflight_chung.exe remains active in memory (windows task manager) without any visible effect.
I have no IrrlichtWrapper.dll file, only the files contained in the zip file, particularly Irrlicht.dll (5M) and my_irr_wrapper.dll (661k).
I have downloaded the .zip two times with the same (nul) result...
I have no IrrlichtWrapper.dll file, only the files contained in the zip file, particularly Irrlicht.dll (5M) and my_irr_wrapper.dll (661k).
I have downloaded the .zip two times with the same (nul) result...
-
- Posts: 444
- Joined: Mar 10, 2006 19:22
-
- Posts: 444
- Joined: Mar 10, 2006 19:22
Could you please tell us what the specification of your PC is, which operating system you are running and in particular which graphics card you have and how much memory it has?
It would be helpful to try running this short program to test the operability of the sound system used in chung_flight too I think (just save it into the same directory as (irrflight_chung).
Also (although its rude to point to another thread from here) have you tried any of the examples from the IrrlichtWrapper package?(Click here for download details). Please don't feel obliged but I think it would be helpful in determining if it is graphics or sound and if it were graphics whether it was a particular feature of the graphics.
It would be helpful to try running this short program to test the operability of the sound system used in chung_flight too I think (just save it into the same directory as (irrflight_chung).
Code: Select all
#include once "windows.bi"
#include "file.bi"
#include "win/mmsystem.bi"
print "Initialised System"
print "Opening the MP3 audio file and assigning it an aliased name"
mcisendstring("open "+chr$(34)+"sounds/water.mp3"+chr$(34)+" shareable alias chung_mp3",0,0,0)
print "Setting the volume on the MP3audio file"
mcisendstring("setaudio chung_mp3 volume to 500",0,0,0)
print "Playing the mp3 file"
mcisendstring("play chung_mp3 from 0",0,0,0)
print ">>>>> PRESS ANY KEY TO CONTINUE <<<<<"
sleep
print "closing the mp3 file"
mcisendstring("close chung_mp3",0,0,0)
print ">>>>> PRESS ANY KEY TO QUIT <<<<<"
sleep
-
- Posts: 444
- Joined: Mar 10, 2006 19:22
First, yes your program above works without error, but it happens nothing, except displays in the dos black box. It plays no music (I have replaced your mp3 file by one of mine)
But I have reloaded the flight simulator and have the same result: no action at all on display, except the program remains active in the windows memory.
What I do: I unzip the irrflight_chung.zip in a specific directory (not freebasic), giving 11 directories: maps, sounds, objects, and 10 files, and launch the irrflight_chung.exe, without any result. What am I doing wrong ?
I have no 'Irrlicht package' except what is contained in the .zip file, should I have one ? (sorry, I am not very competent in graphism... nor in english language ! il vaudrait peut-être mieux que je parle français...)
But I have reloaded the flight simulator and have the same result: no action at all on display, except the program remains active in the windows memory.
What I do: I unzip the irrflight_chung.zip in a specific directory (not freebasic), giving 11 directories: maps, sounds, objects, and 10 files, and launch the irrflight_chung.exe, without any result. What am I doing wrong ?
I have no 'Irrlicht package' except what is contained in the .zip file, should I have one ? (sorry, I am not very competent in graphism... nor in english language ! il vaudrait peut-être mieux que je parle français...)
-
- Posts: 444
- Joined: Mar 10, 2006 19:22
Thanks for your patience on this JL35 if you saved that sound program into the irrflight folder it should have played sounds, this could be the problem. If you don't mind I will post a couple of very simple programs tonight to display 3D graphics and check if this is the case. it should also be possible to disable the sound system quite easily with some stub functions I will take a peep at that too and post a little later.