"Basic Warfare" FreeBasic Multiplayer RTS Game

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

"Basic Warfare" FreeBasic Multiplayer RTS Game

Postby Boromir » Feb 11, 2019 19:11

"Basic Warfare" is a strategy game featuring realtime multiplayer combat and strategic economic simulation.
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-warfare/news/basic-warfare-gameplay-guide

Downloads:

Windows x86 https://www.indiedb.com/games/basic-warfare/downloads/basic-warfare-v10-x86-windows-binary
Windows x64 https://www.indiedb.com/games/basic-warfare/downloads/basic-warfare-v10-x64-windows-binary
Linux x86 https://www.indiedb.com/games/basic-warfare/downloads/basic-warfare-v10-x86-linux-binary
Linux x64 https://www.indiedb.com/games/basic-warfare/downloads/basic-warfare-v10-x64-linux-binary
Source https://www.indiedb.com/games/basic-warfare/downloads/basic-warfare-v10-source
dafhi
Posts: 1245
Joined: Jun 04, 2005 9:51

Re: "Basic Warfare" FreeBasic Multiplayer RTS Game

Postby dafhi » Feb 13, 2019 9:04

- load time

+ music
+ overhead parallax
+ RTS

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

Re: "Basic Warfare" FreeBasic Multiplayer RTS Game

Postby Boromir » Feb 13, 2019 16:12

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: 1245
Joined: Jun 04, 2005 9:51

Re: "Basic Warfare" FreeBasic Multiplayer RTS Game

Postby dafhi » Feb 16, 2019 16:20

unit list idea. most-used at front

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

Re: "Basic Warfare" FreeBasic Multiplayer RTS Game

Postby Boromir » Feb 16, 2019 16:55

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: 1245
Joined: Jun 04, 2005 9:51

Re: "Basic Warfare" FreeBasic Multiplayer RTS Game

Postby dafhi » Feb 16, 2019 22:49

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

Re: "Basic Warfare" FreeBasic Multiplayer RTS Game

Postby badidea » Feb 16, 2019 23:28

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: 447
Joined: Apr 30, 2015 19:28
Location: Texas,U.S., Earth,Solar System
Contact:

Re: "Basic Warfare" FreeBasic Multiplayer RTS Game

Postby Boromir » Feb 17, 2019 1:00

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: 681
Joined: Oct 22, 2005 21:12
Location: Denmark

Re: "Basic Warfare" FreeBasic Multiplayer RTS Game

Postby h4tt3n » Feb 17, 2019 9:33

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: 447
Joined: Apr 30, 2015 19:28
Location: Texas,U.S., Earth,Solar System
Contact:

Re: "Basic Warfare" FreeBasic Multiplayer RTS Game

Postby Boromir » Feb 17, 2019 14:35

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: 681
Joined: Oct 22, 2005 21:12
Location: Denmark

Re: "Basic Warfare" FreeBasic Multiplayer RTS Game

Postby h4tt3n » Feb 17, 2019 15:52

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: 447
Joined: Apr 30, 2015 19:28
Location: Texas,U.S., Earth,Solar System
Contact:

Re: "Basic Warfare" FreeBasic Multiplayer RTS Game

Postby Boromir » Feb 17, 2019 16:22

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: 681
Joined: Oct 22, 2005 21:12
Location: Denmark

Re: "Basic Warfare" FreeBasic Multiplayer RTS Game

Postby h4tt3n » Feb 17, 2019 16:49

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: 447
Joined: Apr 30, 2015 19:28
Location: Texas,U.S., Earth,Solar System
Contact:

Re: "Basic Warfare" FreeBasic Multiplayer RTS Game

Postby Boromir » Feb 17, 2019 18:37

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: 1461
Joined: May 24, 2007 22:10
Location: The Netherlands

Re: "Basic Warfare" FreeBasic Multiplayer RTS Game

Postby badidea » Feb 18, 2019 23:27

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.

Return to “Projects”

Who is online

Users browsing this forum: No registered users and 4 guests