Search found 224 matches

by gothon
Aug 19, 2019 18:11
Forum: Documentation
Topic: Array Descriptor (split from Wiki Improvements)
Replies: 121
Views: 23425

Re: Array Descriptor (split from Wiki Improvements)

There is actually another issue related to static arrays as parameters. It turns out that VB has a mechanism for size locking dynamic arrays, and VB can't distinguish between a size locked dynamic array as a parameter and an actual statically sized array. In ether case VB throws a run time error if ...
by gothon
Jun 03, 2019 15:26
Forum: Community Discussion
Topic: New array features
Replies: 130
Views: 31485

Re: New array features

This example is based on variable sized data referenced using the 'Any Ptr' type rather than macros, so it will not generate any significant bloat if it is reused on many different kinds of array. I made a working version of my example by implementing HeapSort, https://en.wikipedia.org/wiki/Heapsor...
by gothon
May 29, 2019 1:57
Forum: Community Discussion
Topic: New array features
Replies: 130
Views: 31485

Re: New array features

gothon. Your arrayinfo data, ptr, size e.t.c. works well in the main module. And it is a very clean method. But inside a sub/function the non constant #if halts it. I cannot see immediately a workaround. Yes, inside a function the compiler doesn't know the dimensions of the array and cannot resolve...
by gothon
May 27, 2019 0:53
Forum: Community Discussion
Topic: New array features
Replies: 130
Views: 31485

Re: New array features

1.) as is - add it as include file (definitions and run time code in array.bi). The features are available only, if array.bi is included. This makes everything acessible to the user. I prefer option #1, as the features you are seeking seem appropriate to place in a new library separate from the com...
by gothon
May 01, 2019 20:39
Forum: Community Discussion
Topic: "A Love Letter To FreeBASIC" Game Dev Competition (Feb 2019 –Mar 2019) - Round 2
Replies: 101
Views: 32718

Re: "A Love Letter To FreeBASIC" Game Dev Competition (Feb 2019 –Mar 2019) - Round 2

Hi gothon any news? Unfortunately I couldn't make it in time and have not made a significant amount of progress recently, but I think I will continue working on it to see where it goes! @Tourist Trap, I downloaded your game and was able to compile it however it terminates with the message: dodicat'...
by gothon
Mar 11, 2019 21:38
Forum: Community Discussion
Topic: [Patch] Rendering of FreeBasic graphic on OpenGL
Replies: 82
Views: 9743

Re: [Patch] Rendering of FreeBasic graphic on OpenGL

Hi dodicat, I tried your code. It seems to render the cube only on the first frame. Later frames only show the red background rendered by 'glClear(GL_COLOR_BUFFER_BIT)'. This suggests to me that the render state somehow changed after the first frame before subsequent frames where rendered. Adding a ...
by gothon
Mar 10, 2019 23:58
Forum: Community Discussion
Topic: "A Love Letter To FreeBASIC" Game Dev Competition (Feb 2019 –Mar 2019) - Round 2
Replies: 101
Views: 32718

Re: "A Love Letter To FreeBASIC" Game Dev Competition (Feb 2019 –Mar 2019) - Round 2

Lachie Dazdarian wrote:Round 2 has been officially extended to 8th of April.
Thank You! :-)
by gothon
Mar 08, 2019 20:43
Forum: Community Discussion
Topic: "A Love Letter To FreeBASIC" Game Dev Competition (Feb 2019 –Mar 2019) - Round 2
Replies: 101
Views: 32718

Re: "A Love Letter To FreeBASIC" Game Dev Competition (Feb 2019 –Mar 2019) - Round 2

@dodicat, The second round was created to help late arrivals and people needing more time because of unplanned delays; see this post buried deep within the other thread: https://www.freebasic.net/forum/viewtopic.php?f=17&t=27069&start=165#p257670 Ok, it's decided! It's sort of a super compro...
by gothon
Mar 07, 2019 1:29
Forum: Community Discussion
Topic: "A Love Letter To FreeBASIC" Game Dev Competition (Feb 2019 –Mar 2019) - Round 2
Replies: 101
Views: 32718

Re: "A Love Letter To FreeBASIC" Game Dev Competition (Feb 2019 –Mar 2019) - Round 2

Naturally, having to code a SVG parsing/rendering backend is work on it's own, but at least is work we can reuse, for many things ;) I actually made a decent vector graphics program called 'Shape Editor' in VB a long time ago. The files it produces can be loaded with very little FB code and rendere...
by gothon
Feb 23, 2019 19:01
Forum: Community Discussion
Topic: "A Love Letter To FreeBASIC" Game Dev Competition (Feb 2019 –Mar 2019) - Round 2
Replies: 101
Views: 32718

Re: "A Love Letter To FreeBASIC" Game Dev Competition (Feb 2019 –Mar 2019) - Round 2

I have begun work on the front end for player programming. https://i.postimg.cc/3R5DbKFV/PoL6.png https://github.com/gothon/FBPoL In this game I already have a little piece of a compiler and a little piece of an OS. Soon I will have a little piece of an IDE. Eventually I plan to put a big piece of a...
by gothon
Feb 18, 2019 8:27
Forum: Community Discussion
Topic: Building FreeBASIC 1.06 Release
Replies: 46
Views: 5466

Re: Building FreeBASIC 1.06 Release

Thank you very much coderJeff! I downloaded the new release, rebuilt my libraries and have replaced a function '_Sqr' with overloaded Sqr in my project. Because of that it already won't even compile in 1.05 anymore.
by gothon
Feb 16, 2019 21:22
Forum: Community Discussion
Topic: "A Love Letter To FreeBASIC" Game Dev Competition (Oct 2018 – Feb 2019), 1000 $ 1st prize
Replies: 360
Views: 25862

Re: "A Love Letter To FreeBASIC" Game Dev Competition (Oct 2018 – Feb 2019), 1000 $ 1st prize

BTW, anyone playing ChangeV's entry? It's starting to grow on me, more and more. I have played ChangeV's game. The sprite animation is really good. I only once managed to beat the 3rd boss, and I lost immediately after with a score of 1960! @Zamaster & mambazo The Secret Gallery still crashes f...
by gothon
Feb 16, 2019 9:25
Forum: Community Discussion
Topic: "A Love Letter To FreeBASIC" Game Dev Competition (Oct 2018 – Feb 2019), 1000 $ 1st prize
Replies: 360
Views: 25862

Re: "A Love Letter To FreeBASIC" Game Dev Competition (Oct 2018 – Feb 2019), 1000 $ 1st prize

@gothon, Following your latest directions the build worked. It was missing ZLIB1.dll and MSCCR100.dll, which I downloaded into the same folder, for the FBPoL.exe to run. The little box guy moves too fast when I touch the arrow keys and still requires boundary and obstacle checks? Interesting that y...
by gothon
Feb 16, 2019 4:17
Forum: Community Discussion
Topic: "A Love Letter To FreeBASIC" Game Dev Competition (Oct 2018 – Feb 2019), 1000 $ 1st prize
Replies: 360
Views: 25862

Re: "A Love Letter To FreeBASIC" Game Dev Competition (Oct 2018 – Feb 2019), 1000 $ 1st prize

Moved the extracted .zip folder, FBPoL-master, into the C:/FreeBASIC/ folder I see the files are in the C:\FreeBASIC\FBPoL-master\ folder so open the console and navigate to this folder: C: cd C:\FreeBASIC\FBPoL-master\ Anyway I gave it a go but for some reason the fbc can't be found although it is...
by gothon
Feb 15, 2019 23:59
Forum: Community Discussion
Topic: "A Love Letter To FreeBASIC" Game Dev Competition (Oct 2018 – Feb 2019), 1000 $ 1st prize
Replies: 360
Views: 25862

Re: "A Love Letter To FreeBASIC" Game Dev Competition (Oct 2018 – Feb 2019), 1000 $ 1st prize

whooooaaa... Gothon! Your thought mirror mine almost exactly..... How are you rrendering the voxels... through raycast? I will need to study your code and see how aligned our thought process is - VERY COOL! and great job so far! Will each 'cell' be destructable? down to your voxel level? No, I don'...

Go to advanced search