Search found 225 matches
- Feb 11, 2024 20:50
- Forum: Linux
- Topic: FB syntax highlighting for GtkSourceView based editors: Xed, Pluma, GEdit, etc.
- Replies: 1
- Views: 199
FB syntax highlighting for GtkSourceView based editors: Xed, Pluma, GEdit, etc.
Recently I built a new computer running Linux Mint and was looking for a program to edit FreeBasic code on it and I noticed that the default text editor that is builtin to Linux Mint (a program called Xed) has a decent set of code editing features. However FreeBasic was not listed in the 'highlight ...
- Aug 19, 2019 18:11
- Forum: Documentation
- Topic: Array Descriptor (split from Wiki Improvements)
- Replies: 121
- Views: 61213
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 ...
- Jun 03, 2019 15:26
- Forum: Community Discussion
- Topic: New array features
- Replies: 130
- Views: 61327
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...
- May 29, 2019 1:57
- Forum: Community Discussion
- Topic: New array features
- Replies: 130
- Views: 61327
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...
- May 27, 2019 0:53
- Forum: Community Discussion
- Topic: New array features
- Replies: 130
- Views: 61327
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...
- 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: 54636
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'...
- Mar 11, 2019 21:38
- Forum: Community Discussion
- Topic: [Patch] Rendering of FreeBasic graphic on OpenGL
- Replies: 82
- Views: 18559
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 ...
- 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: 54636
Re: "A Love Letter To FreeBASIC" Game Dev Competition (Feb 2019 –Mar 2019) - Round 2
Thank You! :-)Lachie Dazdarian wrote:Round 2 has been officially extended to 8th of April.
- 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: 54636
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...
- 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: 54636
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...
- 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: 54636
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...
- Feb 18, 2019 8:27
- Forum: Community Discussion
- Topic: Building FreeBASIC 1.06 Release
- Replies: 46
- Views: 11970
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.
- 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: 70361
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...
- 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: 70361
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...
- 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: 70361
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...