Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
First Person Shooter Game
#1
Something made out of boredom:  AadityaParashar0901/FPS-Game: A simple 3D, multiplayer, First Person Shooter Game, in openGL
It can be played on localhost, and even on the web, if you allow its server to build the host publicly...
Reply
#2
I'd love to try this out, Aaditya, but I'm on a Mac and get loads of issues when I try to compile this program: INCLUDE statements that have to be reformatted to ''' '$INCLUDE''' 'xxx.xx' and TYPES that are unfound, etc. 

Is this Windows only?
Reply
#3
@aadityap0901 Boredom can make you do cool things. I am sure this is a cool project. The issue is that some custom library files like vector.*, inrange.* etc are missing.

@NakedApe This does not look like a Windows-only project. There are some missing files in the repo. You can find the missing files here: https://github.com/AadityaParashar0901/Breakout
Reply
#4
@a740g  Thanks, Sam.
Reply
#5
Well, I got the missing files, put em in the game directory in a new folder inside called 'include' to match the program, turned the backslashes into forward slashes and fixed the INCLUDE commands. I still get "Unknown type on Line 28." 

Line 28: Dim Shared Vertices(1 To 16384) As Vec3, TexCoords(1 To 16384) As Vec2, TotalPointsToDraw As _Unsigned Long

Where are the types defined? Is there a missing .bi file maybe? Oh well...  Confused
Reply
#6
Vector.bi from AP's Breakout
Code: (Select All)
Type Vec2
    As Single X, Y
End Type
Type Vec3
    As Single X, Y, Z
End Type
  724  855  599  923  575  468  400  206  147  564  878  823  652  556 bxor cross forever
Reply
#7
Thanks, @bplus. I'll try adding those in, but aren't those TYPES part of the INCLUDEd files anyway? Did you get this to run?
Reply
#8
And the following file is missing from me

Code: (Select All)
'$Include:'include\gl_generate_texture.bm'

In Zeile 284
Reply
#9
Sorry everyone, I forgot to attach the libraries...
Here they are on github: QB64 Libraries

although, it was possible to find all the scattered library files Big Grin
(the gl_generate_texture sub was in qb-blocks)

anyways, I updated this game's repo, with the libraries used...
Reply
#10
I'm sure it's a great game and I'll get around to checking it out, but this is why I like to put all the code in a single .BAS file - no dependency hell  Tongue !
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Vantiro - A 2D Zombie Shooter Bhsdfa 3 1,228 03-07-2025, 07:53 PM
Last Post: Bhsdfa

Forum Jump:


Users browsing this thread: 1 Guest(s)