Search found 463 matches

by Boromir
Jun 21, 2023 20:10
Forum: General
Topic: Issue with setting GL scale
Replies: 4
Views: 427

Re: Issue with setting GL scale

coderJeff wrote: Jun 21, 2023 19:24 Unfortunately, some bad logic in the gfx driver prevents setting the scaling back to 1. There doesn't appear to be any workaround and the gfx library needs to be fixed (small change).
Good to know, thank you!
by Boromir
Jun 21, 2023 15:07
Forum: General
Topic: Issue with setting GL scale
Replies: 4
Views: 427

Re: Issue with setting GL scale

fxm wrote: Jun 21, 2023 5:50 By any chance, have you try to insert a 'Screen 0' after the first 'loop until inkey<>""' ?
Yes, I had tried that, didn't seem to make a difference though.
by Boromir
Jun 21, 2023 4:58
Forum: General
Topic: Issue with setting GL scale
Replies: 4
Views: 427

Issue with setting GL scale

Calling screencontrol(SET_GL_SCALE, 1) doesn't seem to do anything for me after another scaling has been set. It seems to work fine with any value but 1. Does this work for anyone else? #include "fbgfx.bi" #include "GL/gl.bi" using fb screencontrol(SET_GL_2D_MODE, OGL_2D_MANUAL_S...
by Boromir
Jun 16, 2023 3:10
Forum: Game Dev
Topic: Marabunta: 2D Ant Game
Replies: 1
Views: 1756

Marabunta: 2D Ant Game

This is a simple army ant fighting game. You control the knight in armor, using the w-a-s-d keys. The only objective is to attack the ants with your torch by pressing the space key. You can also cheat using the mouse. '======================================================================= ' Marabun...
by Boromir
Feb 15, 2023 16:40
Forum: Projects
Topic: MathCar: Educational Racing Game
Replies: 3
Views: 1332

Re: MathCar: Educational Racing Game

It's launched now, If anybody is interested in playing it I'd be willing to send free copies to anyone here.

https://store.steampowered.com/app/2300750/MathCar/
https://www.indiedb.com/games/mathcar/n ... d-on-steam

Image
by Boromir
Feb 01, 2023 22:39
Forum: Projects
Topic: MathCar: Educational Racing Game
Replies: 3
Views: 1332

Re: MathCar: Educational Racing Game

I like this. On the sales page I think it might help to promote what age range this is intended for. The promoted media demonstrates that the mathematics are simple addition, subtraction, multiplication, and division. I remember being introduced to these operations completely around age 6 in first ...
by Boromir
Feb 01, 2023 21:08
Forum: Projects
Topic: MathCar: Educational Racing Game
Replies: 3
Views: 1332

MathCar: Educational Racing Game

I wanted to share with you guys my new FreeBasic math racing game that I'm launching soon on Steam. The concept is pretty simple, you drive a car and have to solve math problems as you race to the finish line. The faster you solve the problems, the faster your car goes. It currently only has race tr...
by Boromir
Sep 30, 2021 21:37
Forum: Game Dev
Topic: Isometric Cube Liquid Sim
Replies: 16
Views: 4736

Re: Isometric Cube Liquid Sim

It is a recent new laptop windows 10 64 bit computer regardless of what the compiler error message says. So if I update then maybe my old code will not run. Really need to keep the old compiler and old code in one folder and the new compiler and new code in another folder. Tried to run it with Gean...
by Boromir
Sep 30, 2021 16:39
Forum: Game Dev
Topic: Isometric Cube Liquid Sim
Replies: 16
Views: 4736

Re: Isometric Cube Liquid Sim

ALL of them must be ULONG, except the PTR. What compiler are you getting ? (I'll get none ...) I'm using the FreeBASIC Compiler - Version 1.07.1 (2019-09-27), built for linux-x86_64 (64bit) This compiles with no error Function darken( ByVal sourcepixel As uinteger, ByVal destinationpixel As uintege...
by Boromir
Sep 30, 2021 16:07
Forum: Game Dev
Topic: Isometric Cube Liquid Sim
Replies: 16
Views: 4736

Re: Isometric Cube Liquid Sim

MrSwiss wrote:It's NOT what you do in the darken() procedure, it's the 'return type' which must be ULong too (NOT UInteger).
Btw: Joshy (D.J.Peters) has already stated that, in his post before.
Yes, if even one of those is a ulong I get a compiler error.
by Boromir
Sep 30, 2021 0:19
Forum: Game Dev
Topic: Isometric Cube Liquid Sim
Replies: 16
Views: 4736

Re: Isometric Cube Liquid Sim

This should be much faster. Using ulong in the darken function gives me this error I'm using 64bit Freebasic on Ubuntu water.bas(219) error 20: Type mismatch in 'put (n.x,n.y-j),img,custom,@darken,@j' type isolooptype dim as integer lbx=0,lby=0,ubx=60,uby=60 dim as integer xp=0,yp=0,mw=32,mh=24 dim ...
by Boromir
Sep 29, 2021 13:10
Forum: Game Dev
Topic: Isometric Cube Liquid Sim
Replies: 16
Views: 4736

Isometric Cube Liquid Sim

Hey all, I hadn't been doing much programming before this so my Freebasic is pretty rusty. It's a little isometric water simulation. Fun project to get back in gear. type isolooptype dim as integer lbx=0,lby=0,ubx=60,uby=60 dim as integer xp=0,yp=0,mw=32,mh=24 dim as integer xs,ys dim as integer x,y...
by Boromir
Jan 10, 2020 12:12
Forum: Sources, Examples, Tips and Tricks
Topic: Simple Steamworks API usage
Replies: 2
Views: 1657

Re: Simple Steamworks API usage

Thank you! This is pretty awesome. I've been struggling with steam achievements for a long time.
by Boromir
Dec 22, 2019 13:27
Forum: Projects
Topic: Iceroyds!
Replies: 48
Views: 15703

Re: Iceroyds!

Hey, Congratulations!!! I had to use a specific version of the steam dll. 1.35 if I'm not mistaken. I'm on trip right now, very far from my dev pc. I can post my steam code next week. Some is already here: https://www.freebasic.net/forum/viewtopic.php?f=17&t=27574 I'll take a look. I had made m...
by Boromir
Dec 22, 2019 4:10
Forum: Projects
Topic: "Basic Warfare" FreeBasic Multiplayer RTS Game
Replies: 21
Views: 9267

Re: "Basic Warfare" FreeBasic Multiplayer RTS Game

I launched this game on steam. This game is still available to play for free via the Love Letter to FreeBASIC contest thread. https://www.freebasic.net/forum/viewtopic.php?f=17&t=27069&p=258316&hilit=basic+warfare#p258316 https://www.indiedb.com/games/basic-warfare https://store.steampow...