"Basic Warfare" FreeBasic Multiplayer RTS Game

User projects written in or related to FreeBASIC.
Boromir
Posts: 463
Joined: Apr 30, 2015 19:28
Location: Oklahoma,U.S., Earth,Solar System
Contact:

"Basic Warfare" FreeBasic Multiplayer RTS Game

Post by Boromir »

Basic Warfare is a combination of RTS and Action genres featuring realtime multiplayer action combat and strategic economic simulation. Not only can you order your units to destroy your enemies but also join in the fray. Basic Warfare also features a unique energy mechanic for units. In the event your energy depletes your units will begin to fail. Use this to your advantage by targeting enemy energy sources.

https://www.indiedb.com/games/basic-warfare

Story:

"One technological advance, from a past age of rapid scientific growth, was
BASIC Form which was capable of compiling tangible binaries.
Since it required very little natural resource for operation, with it one
could produce matter at incredible rates limited only by the compiler used.
Due to the nature of its power it was concealed from the public resulting in
very few knowing the war that was waged during its existence.
The time has come for its legacy to be revealed..."


Images:

Image

Gameplay Guide:

https://www.indiedb.com/games/basic-war ... play-guide

Steam Page:

https://store.steampowered.com/app/1213 ... c_Warfare/
Last edited by Boromir on Dec 22, 2019 3:32, edited 2 times in total.
dafhi
Posts: 1640
Joined: Jun 04, 2005 9:51

Re: "Basic Warfare" FreeBasic Multiplayer RTS Game

Post by dafhi »

- load time

+ music
+ overhead parallax
+ RTS

can't wait to learn the game :)
Boromir
Posts: 463
Joined: Apr 30, 2015 19:28
Location: Oklahoma,U.S., Earth,Solar System
Contact:

Re: "Basic Warfare" FreeBasic Multiplayer RTS Game

Post by Boromir »

dafhi wrote:- load time

+ music
+ overhead parallax
+ RTS

can't wait to learn the game :)
Thank you! Sorry about the load time. It's how long fbsound takes to load the music files.
dafhi
Posts: 1640
Joined: Jun 04, 2005 9:51

Re: "Basic Warfare" FreeBasic Multiplayer RTS Game

Post by dafhi »

unit list idea. most-used at front

possible formula
access count in last 30 sec / (unit_time - unit_time_previous)
Boromir
Posts: 463
Joined: Apr 30, 2015 19:28
Location: Oklahoma,U.S., Earth,Solar System
Contact:

Re: "Basic Warfare" FreeBasic Multiplayer RTS Game

Post by Boromir »

dafhi wrote:unit list idea. most-used at front

possible formula
access count in last 30 sec / (unit_time - unit_time_previous)
I think that would be nice. The interface is definitely still somewhat awkward to use at times.
But what you can do is group units into sets selectable via the F1,F2,F3, etc...
dafhi
Posts: 1640
Joined: Jun 04, 2005 9:51

Re: "Basic Warfare" FreeBasic Multiplayer RTS Game

Post by dafhi »

next on my practice list :-)
badidea
Posts: 2586
Joined: May 24, 2007 22:10
Location: The Netherlands

Re: "Basic Warfare" FreeBasic Multiplayer RTS Game

Post by badidea »

I managed to start a game, fly around, place 2 watch towers, but then I did not understand how to continue / what to do.
Boromir
Posts: 463
Joined: Apr 30, 2015 19:28
Location: Oklahoma,U.S., Earth,Solar System
Contact:

Re: "Basic Warfare" FreeBasic Multiplayer RTS Game

Post by Boromir »

badidea wrote:I managed to start a game, fly around, place 2 watch towers, but then I did not understand how to continue / what to do.
Anything specific that was confusing?
Here is the gameplay guide
https://www.indiedb.com/games/basic-war ... play-guide
It doesn't document everything but might help understand the basic game better.
h4tt3n
Posts: 698
Joined: Oct 22, 2005 21:12
Location: Denmark

Re: "Basic Warfare" FreeBasic Multiplayer RTS Game

Post by h4tt3n »

I feel a bit stupid for saying this, but all I get when trying to compile the code is this:

error: lib fbsound-64 not loaded !

I checked the folders, and everything the program needs seems to be there.
Boromir
Posts: 463
Joined: Apr 30, 2015 19:28
Location: Oklahoma,U.S., Earth,Solar System
Contact:

Re: "Basic Warfare" FreeBasic Multiplayer RTS Game

Post by Boromir »

h4tt3n wrote:I feel a bit stupid for saying this, but all I get when trying to compile the code is this:

error: lib fbsound-64 not loaded !

I checked the folders, and everything the program needs seems to be there.
If you are compiling from source you will need to copy the runtimes from the runtimes folder to match your systems architecture. In your case from the lin64 or win64 folder.
h4tt3n
Posts: 698
Joined: Oct 22, 2005 21:12
Location: Denmark

Re: "Basic Warfare" FreeBasic Multiplayer RTS Game

Post by h4tt3n »

Boromir wrote:If you are compiling from source you will need to copy the runtimes from the runtimes folder to match your systems architecture. In your case from the lin64 or win64 folder.
I copied the Win64 dll files to my freebasic/lib folder but get the same error. Do I need to install fbsound separately?
Boromir
Posts: 463
Joined: Apr 30, 2015 19:28
Location: Oklahoma,U.S., Earth,Solar System
Contact:

Re: "Basic Warfare" FreeBasic Multiplayer RTS Game

Post by Boromir »

h4tt3n wrote:I copied the Win64 dll files to my freebasic/lib folder but get the same error. Do I need to install fbsound separately?
It's a dynamic library so they don't need to be in your compiler lib folder. They just need to be in the same directory as the executable.
h4tt3n
Posts: 698
Joined: Oct 22, 2005 21:12
Location: Denmark

Re: "Basic Warfare" FreeBasic Multiplayer RTS Game

Post by h4tt3n »

Boromir wrote:It's a dynamic library so they don't need to be in your compiler lib folder. They just need to be in the same directory as the executable.
Ah yes, I just got a bad case of the Sunday stupids :-) Now the game loads and runs, but I can't seem to get anything to working. Klicking any network related buttons ends the program. When compiling, I get the following warnings:

C:\...\FreeBASIC-1.05.0-win64\FreeBASIC-1.05.0-win64\fbc -s console "basic-warfare.bas"
C:\...\basic-warfare-v1.0-src\basic-warfare-v1.0-src\code\network.bi(107) warning 35(0): Mixing signed/unsigned operands
C:\...\basic-warfare-v1.0-src\basic-warfare-v1.0-src\code\network.bi(231) warning 35(0): Mixing signed/unsigned operands
C:\...\basic-warfare-v1.0-src\basic-warfare-v1.0-src\code\network.bi(273) warning 35(0): Mixing signed/unsigned operands

Make done

By the way, why "Bog Iron Games"? I'm curious because I am one of the very few people in the world today who can and do extract iron from bog iron ore, using historical tools and craft.

Cheers, Mike
Boromir
Posts: 463
Joined: Apr 30, 2015 19:28
Location: Oklahoma,U.S., Earth,Solar System
Contact:

Re: "Basic Warfare" FreeBasic Multiplayer RTS Game

Post by Boromir »

h4tt3n wrote:Ah yes, I just got a bad case of the Sunday stupids :-) Now the game loads and runs, but I can't seem to get anything to working. Klicking any network related buttons ends the program. When compiling, I get the following warnings:

C:\...\FreeBASIC-1.05.0-win64\FreeBASIC-1.05.0-win64\fbc -s console "basic-warfare.bas"
C:\...\basic-warfare-v1.0-src\basic-warfare-v1.0-src\code\network.bi(107) warning 35(0): Mixing signed/unsigned operands
C:\...\basic-warfare-v1.0-src\basic-warfare-v1.0-src\code\network.bi(231) warning 35(0): Mixing signed/unsigned operands
C:\...\basic-warfare-v1.0-src\basic-warfare-v1.0-src\code\network.bi(273) warning 35(0): Mixing signed/unsigned operands

Make done
Yeah, the 64 bit windows compiled version seems to act up sometimes, I'd recommend trying compiling a 32 bit version. You'll have to host your own server by running the game twice. Start one as a server and connect to localhost with the other one.
h4tt3n wrote: By the way, why "Bog Iron Games"? I'm curious because I am one of the very few people in the world today who can and do extract iron from bog iron ore, using historical tools and craft.

Cheers, Mike
That's awesome! Do you do it Viking style?
I named it Bog Iron Games because I was working on this game a while back.
https://www.indiedb.com/games/eric-the- ... s-stranger
badidea
Posts: 2586
Joined: May 24, 2007 22:10
Location: The Netherlands

Re: "Basic Warfare" FreeBasic Multiplayer RTS Game

Post by badidea »

Boromir wrote:
badidea wrote:I managed to start a game, fly around, place 2 watch towers, but then I did not understand how to continue / what to do.
Anything specific that was confusing?
Here is the gameplay guide
https://www.indiedb.com/games/basic-war ... play-guide
It doesn't document everything but might help understand the basic game better.
I tried it again, using Windows this time. But I still don't understand how to create e.g. a scavenger.
Post Reply