No video

FreeBASIC Karts

  Рет қаралды 4,911

DrDavenstein

DrDavenstein

Күн бұрын

I added a cinematic camera now. This is probably the last video I'll make for a while. I'm going to switch this over to use the True Axis library. A friend of mine(DJLinux) has created a FreeBASIC wrapper for True Axis. He has a video on here using that wrapper, where he was able to run 500 cars in one scene. With the version of Newton I'm using, this is just not possible. I get bad lag with more than 5-6 cars.
Here is a link to the source code archive, which also contains a Windows executable file. users.freebasic...

Пікірлер: 22
@bittim
@bittim 5 жыл бұрын
Did you have to write the engine yourself? Or was it a premade engine, like Unity or so but for FreeBASIC. I am just curious 😁 But still, impressive that it runs that smoothly in FreeBASIC!
@DrDavenstein
@DrDavenstein 5 жыл бұрын
Thanks! Yeah, it's a custom engine I wrote. It uses OpenGL for gfx, FMod for sound and Newton for physics. The source code is available at my space on the German FreeBasic site, if you're interested. 😉
@DrDavenstein
@DrDavenstein 5 жыл бұрын
Here is the link... users.freebasic-portal.de/dr_d/demos/
@bittim
@bittim 5 жыл бұрын
@@DrDavenstein To be honest, in the past, where I started with coding in general, with FreeBASIC actually, I thought i have pretty much discovered most of the possibilities with FreeBASIC, but just looking at the File structure, not even the code because i dont have a pc on my hand right now, i notice how much ive missed out on in FreeBASIC. (Sorry for bad english, I am german😄 )
@kingcrimson234
@kingcrimson234 5 жыл бұрын
FreeBASIC actually compiles to relatively quick code. Not as quick as a well-made C program, but pretty good. Not surprised it runs smoothly.
@DrDavenstein
@DrDavenstein 4 жыл бұрын
@William Singht Awesome! Thanks for the reply! Can I borrow a dollar? 😆
@daxmax31
@daxmax31 8 жыл бұрын
great!
@abuzarov
@abuzarov 6 жыл бұрын
Is it written in FreeBasic? What libraries are you using? And what IDE?
@DrDavenstein
@DrDavenstein 6 жыл бұрын
Albert Abuzarov Yes, it is written in FreeBasic. It uses OpenGL, Newton, FMod, a custom gui library I made, a ported c++ Lightwave object loader, and a library I made to handle all the loading/utilities. ;)
@DrDavenstein
@DrDavenstein 6 жыл бұрын
Albert Abuzarov also, I used FBIDE... I forgot to mention that. Everything needed to compile it with that editor should be included in the download.
@abuzarov
@abuzarov 6 жыл бұрын
Thank you for replying! I only had a quick look at FBIde so far, and I couldn't find any debug tools, like step-by-step execution, breakpoints, watches. How did you go about debugging?
@DrDavenstein
@DrDavenstein 6 жыл бұрын
I'm sorry. That was a brain-fart. I meant FBEdit, not FBIde. Anyway, whenever I ran into a bug, I compiled with -exx -g. I've never used a breakpoint, or step-by-step execution. I know FBEdit has support for those features though. ;)
@Koutsie
@Koutsie 7 жыл бұрын
I guess thisbis ripped project?
@DrDavenstein
@DrDavenstein 7 жыл бұрын
Not sure what thisbis is man... I never finished this one, but the source code is in the archive if you want to have a go at it. users.freebasic-portal.de/dr_d/demos/FBKart.rar
@RobertLock1978
@RobertLock1978 7 жыл бұрын
Looking good. Using FB 1.0.2 (amd64) on LInux - I don't use FBIDE - do I just need to run 'fbc ./editor_main.bas' to compile?
@DrDavenstein
@DrDavenstein 7 жыл бұрын
Robert Lock Well, I didn't put any Linux compile scripts on there, but I believe I added a Windows batch file. You can probably just pull the command out of that. Main.bas is the head, all the other bas files are included modules. If the batch doesn't work, or you can't get it, just leave another reply and I'll try to help. :)
@RobertLock1978
@RobertLock1978 7 жыл бұрын
Hi Davenstein - thank you for the reply. There's only a 'debug.bat' - no other batch file that I can see in the archive.
@DrDavenstein
@DrDavenstein 7 жыл бұрын
Robert Lock Ok. Thanks for the heads up. When I get back to my PC I will add a command line to the archive... or I could probably just post it here I guess.
Why I Like the BASIC Programming Language
6:36
HE360
Рет қаралды 10 М.
Making Commodore 64 Software In 1983
1:51
Fran Blanche
Рет қаралды 85 М.
Schoolboy Runaway в реальной жизни🤣@onLI_gAmeS
00:31
МишАня
Рет қаралды 3,7 МЛН
艾莎撒娇得到王子的原谅#艾莎
00:24
在逃的公主
Рет қаралды 53 МЛН
Why Not Identify As A Dog! - Richard Dawkins on Transgender & J K Rowling
6:37
andrew gold | heretics.
Рет қаралды 151 М.
Sokoban DBOS
2:59
BadMrBox
Рет қаралды 2,7 М.
Making a game in FreeBASIC - Games with Unusual Programming Languages #2
8:02
Star Wars Outlaws is the WORST game I've played in 2024 (FULL REVIEW)
14:43
Can You Beat Hitman 3 Without Breaking ANY Laws?
22:37
windowledge
Рет қаралды 1,7 МЛН
FreeBASIC FPS Progress Report...
2:34
DrDavenstein
Рет қаралды 559
PureBasic 101 - Learn the PureBasic syntax
9:22
Pure Programming
Рет қаралды 12 М.