Search found 839 matches

by paul doe
Apr 22, 2019 11:24
Forum: Beginners
Topic: Unexpected behaviour of type arrays
Replies: 7
Views: 76

Re: Unexpected behaviour of type arrays

Indeed, as badidea points out, you're just missing an additional indexing operation. Otherwise, the semantics of the original expression is to copy-construct/assign two objects of different types (and the copy-constructor/assignment operator is undefined for both of them). You can define operators t...
by paul doe
Apr 18, 2019 11:21
Forum: Tips and Tricks
Topic: 3d animated tunnel in pure FB
Replies: 15
Views: 17119

Re: 3d animated tunnel in pure FB

hurtado wrote:...
I guess I do not have the possibility to attach files, so I can not upload any snap shot.

Nobody here does. You need to use an external host for your images like imgbox.
by paul doe
Apr 17, 2019 5:10
Forum: Community Discussion
Topic: "A Love Letter To FreeBASIC" Game Dev Competition (Feb 2019 –Mar 2019) - Round 2
Replies: 73
Views: 3090

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

One week to go. Who plans to submit a finished entry? Looking rather slim so far. Only 2. 2>0, nevertheless... I don't plan anything. During the week I cant make any coding those days. Monday 22th in France at least there is a no work day. If this is also true for the others, what about pushing the...
by paul doe
Apr 17, 2019 4:49
Forum: General
Topic: Electronic circuit simulation
Replies: 4
Views: 185

Re: Electronic circuit simulation

One amazing cellular automata that simulates electronic circuits is Wireworld . Here's my implementation in FreeBasic to play with: https://github.com/glasyalabolas/fb-wireworld https://thumbs2.imgbox.com/74/88/drEAxmA1_t.png Included is the Wireworld computer that computes prime numbers. It may tak...
by paul doe
Apr 12, 2019 5:33
Forum: Projects
Topic: Fb minimal GUI
Replies: 3
Views: 278

Re: Fb minimal GUI

Luxan wrote:...Can't figure out how to attach or insert to post from my computer the icons , might upload somewhere else first ; wonder if google drive is still available .

Why don't you use GitHub? You can create a repo with all needed files there.
by paul doe
Apr 10, 2019 20:49
Forum: Tips and Tricks
Topic: SXML (Simple XML parser)
Replies: 10
Views: 713

Re: SXML (Simple XML parser)

Hi, Tourist Trap

Well, thanks, glad you found it useful. Yes, reinventing some wheels by yourself is always a pretty enlightening experience ;) You're coding a viewer for what? Just the XML structure, or some other data?
by paul doe
Apr 09, 2019 20:32
Forum: General
Topic: fbGFX: BUG in Paint statement
Replies: 46
Views: 1433

Re: fbGFX: BUG in Paint statement

... Really, the problem here is that boxes are drawn twice at the corners, and that should be considered a bug with Line, rather than a "feature" to be worked around. Wouldn't it be possible to specify a 'tolerance' value when filling? That way, filling would work pretty much like program...
by paul doe
Apr 09, 2019 20:14
Forum: Projects
Topic: fbfrog header translator
Replies: 52
Views: 8431

Re: fbfrog header translator

No, it's unfinished, so not really useful. It's a mix of two ideas - ... Mmm? I beg to differ. The amount of work it can save me is substantial and, very frequently, it only leaves me with trivial stuff to deal with. Makes porting some stuff a breeze. Thank you so much for this little 'useless' too...
by paul doe
Apr 09, 2019 20:12
Forum: Tips and Tricks
Topic: SXML (Simple XML parser)
Replies: 10
Views: 713

Re: SXML (Simple XML parser)

Awesome! Also a fan of SVG --it will be the future as the W3C inferred back in the late 90s to early 2Ks, espcially since UHD and the like are starting to proliferate. Also believe SVG should inherit the web as the new web-page succeeding html5 (kind of advocate SVG). ... Yes, SVG is pretty cool. I...
by paul doe
Apr 08, 2019 4:01
Forum: Community Discussion
Topic: "A Love Letter To FreeBASIC" Game Dev Competition (Feb 2019 –Mar 2019) - Round 2
Replies: 73
Views: 3090

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

... However, about my intent, it's not starighforward. You see, I try to find color themes as part of the design, and in general I just can't solve this in a staightforward way. I could try to add colors with the "+" but I noticed that this rarely help me a lot. That's why I shifted for a...
by paul doe
Apr 07, 2019 23:42
Forum: Community Discussion
Topic: "A Love Letter To FreeBASIC" Game Dev Competition (Feb 2019 –Mar 2019) - Round 2
Replies: 73
Views: 3090

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

Lachie Dazdarian wrote:I'm extending the deadline one last time until 22nd of April.

Oh! That's great! Much appreciated. I might be able to pull off something by that date. It won't be the pinball I promised (that will have to wait a little), but I have other ideas too ;)
by paul doe
Apr 06, 2019 22:16
Forum: Community Discussion
Topic: "A Love Letter To FreeBASIC" Game Dev Competition (Feb 2019 –Mar 2019) - Round 2
Replies: 73
Views: 3090

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

dafhi wrote:...
i'm fine; just need to work through some financial and head-space issues

And who doesn't? ;)
by paul doe
Apr 06, 2019 16:18
Forum: Community Discussion
Topic: "A Love Letter To FreeBASIC" Game Dev Competition (Feb 2019 –Mar 2019) - Round 2
Replies: 73
Views: 3090

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

... For the constant overflow, that's more a issue for fbc than for me, even doing a CULNG to the value (a color) doesn't solve this. So it doesn't matter even if I wonder why this is a 64bits affair. ... The overflow is reported on this line (275): /' ... '/ THIS._img => imageCreate( Wid, Hei, (rg...
by paul doe
Apr 06, 2019 15:06
Forum: Community Discussion
Topic: "A Love Letter To FreeBASIC" Game Dev Competition (Feb 2019 –Mar 2019) - Round 2
Replies: 73
Views: 3090

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

...It doesn't compile successfully for 64bits on windows. Something due to a linkage with fbgfx. But it compiles fine for 32 bits for me... Um, this code: #if __FB_64BIT__ extern p alias "__fb_gfx" as integer ptr #else extern p alias "__fb_gfx" as long ptr #endIf should read: #i...
by paul doe
Apr 06, 2019 9:51
Forum: Community Discussion
Topic: "A Love Letter To FreeBASIC" Game Dev Competition (Feb 2019 –Mar 2019) - Round 2
Replies: 73
Views: 3090

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

@paul I was wondering how you were going to pull off something like an SVG renderer. The pure math of SVG has my head spinning. Cairo would definitely make things a lot easier The really tricky aspect of the ludicrous SVG Recommendation is that you also have to implement some stuff from CSS (like u...

Go to advanced search