3D game on pure freebasic

Game development specific discussions.
Post Reply
set16
Posts: 4
Joined: Mar 22, 2019 13:04

3D game on pure freebasic

Post by set16 »

Trying to make a game on pure FreeBasic
here is a screenshot of what happened:
________________________________________
https://github.com/DL-Code/Game
________________________________________

Image


Soon I'll post a link to the source code in Github
link to follow the progress of the development of VK https://vk.com/dl_game

Significant updates will be put here
Last edited by set16 on Mar 29, 2019 8:17, edited 1 time in total.
Tourist Trap
Posts: 2958
Joined: Jun 02, 2015 16:24

Re: 3D game on pure freebasic

Post by Tourist Trap »

Looks very funny from the screenshots. I hope we'll see more soon.
set16
Posts: 4
Joined: Mar 22, 2019 13:04

Re: 3D game on pure freebasic

Post by set16 »

Tourist Trap wrote:Looks very funny from the screenshots. I hope we'll see more soon.
Not all at once
________________________________________________________________________
VBO + Shader
Image


alpha in bmp
shaper alpha


Image
paul doe
Moderator
Posts: 1732
Joined: Jul 25, 2017 17:22
Location: Argentina

Re: 3D game on pure freebasic

Post by paul doe »

Mmm, cannot get it to compile:

Code: Select all

xxx\FreeBASIC-1.06.0-win64\fbc -s console -gen gcc -Wc -Ofast -mt "FbTemp.bas"
xxx\Game-master\M_2D.bi(33) warning 3(1): Passing different pointer types, at parameter 2 of sub(as long, as ulong ptr)
xxx\Game-master\M_2D.bi(36) warning 3(1): Passing different pointer types, at parameter 2 of sub(as long, as ulong ptr)
xxx\Game-master\M_2D.bi(51) warning 13(0): Function result was not explicitly set
xxx\Game-master\M_2D.bi(84) warning 13(0): Function result was not explicitly set
xxx\Game-master\M_Texture.bi(19) warning 3(1): Passing different pointer types, at parameter 2 of GLGENTEXTURES()
xxx\Game-master\core.bi(112) warning 12(0): Missing closing quote in literal string
xxx\Game-master\M_Mesh.bi(148) warning 3(1): Passing different pointer types, at parameter 2 of sub(as long, as ulong ptr)
xxx\Game-master\M_Mesh.bi(151) warning 3(1): Passing different pointer types, at parameter 2 of sub(as long, as ulong ptr)
Make done
Yet, the binary doesn't get created (despite what the output says). In FbEdit, I get the 'CreateProcess Failed' dialog box). My command line is:
fbc -s console -gen gcc -Wc -Ofast -mt
Unless you're supposed to run this on GAS/32-bit. I'm using the latest release of fbc (1.06.0). Anybody else had issues with it?
Tourist Trap
Posts: 2958
Joined: Jun 02, 2015 16:24

Re: 3D game on pure freebasic

Post by Tourist Trap »

paul doe wrote: Yet, the binary doesn't get created (despite what the output says). In FbEdit, I get the 'CreateProcess Failed' dialog box). My command line is:
fbc -s console -gen gcc -Wc -Ofast -mt
Unless you're supposed to run this on GAS/32-bit. I'm using the latest release of fbc (1.06.0). Anybody else had issues with it?
As soon as I will be realeased from my duty on the game contest I will give all this a try :)
Dr_D
Posts: 2451
Joined: May 27, 2005 4:59
Contact:

Re: 3D game on pure freebasic

Post by Dr_D »

Those screens look nice man. Keep up the good work! :)
D.J.Peters
Posts: 8586
Joined: May 28, 2005 3:28
Contact:

Re: 3D game on pure freebasic

Post by D.J.Peters »

Light is everywhere and from the sun it's almost free
but good looking shadow's are the point in coding to day.

I self run in to trouble if I doing my own shadow stuff :-(
(without copy from working solutions)

Joshy
Post Reply