Search found 989 matches

by paul doe
Jan 28, 2020 3:34
Forum: General
Topic: ON ERROR GOTO to display problem line
Replies: 5
Views: 94

Re: ON ERROR GOTO to display problem line

... What is puzzling to me is why, with no changes what so ever, the program will run as intended, but mostly fouls before completion. I guess I could look closer at Multithread which I believe is used to display clock time while the program is running. ... A thread just to display the clock? Isn't...
by paul doe
Jan 28, 2020 2:32
Forum: Windows
Topic: Windows graphics tutorial
Replies: 58
Views: 1526

Re: Windows graphics tutorial

... paul doe - the trickiest pixel quad project for me was winamp "melt" visualizer. Wow, that's pretty nice. Doesn't compile on 64-bit, though. ... paul doe - I'll see if i can compare your aa lines speed using my Alpha256 macro. It usually takes me a long time ;) ... Yes, please do =D I...
by paul doe
Jan 28, 2020 0:58
Forum: General
Topic: ON ERROR GOTO to display problem line
Replies: 5
Views: 94

Re: ON ERROR GOTO to display problem line

You're using threads, it seems. On error won't save you there.

Does the program polls for any input from the user, say, with multiKey() or getMouse()? Or does it lock the screen via screenLock/unlock?
by paul doe
Jan 27, 2020 20:46
Forum: Windows
Topic: Windows graphics tutorial
Replies: 58
Views: 1526

Re: Windows graphics tutorial

Here's some antialiasing code from waaaay back, fbc 0.24 era (modified enough so that it compiles with the current version): #include once "fbgfx.bi" #define pixel_r( c ) ( culng( c ) shr 16 and 255 ) #define pixel_g( c ) ( culng( c ) shr 8 and 255 ) #define pixel_b( c ) ( culng( c ) and 2...
by paul doe
Jan 25, 2020 16:09
Forum: Tips and Tricks
Topic: Some Variations of a Binary Fractal Tree
Replies: 16
Views: 392

Re: Some Variations of a Binary Fractal Tree

@hurtado: You can alternatively request the correct size in FreeBasic like this:

Code: Select all

'' 32-bit signed
dim as integer<32> _
  a

'' 32-bit unsigned
dim as uinteger<32> _
  b
by paul doe
Jan 24, 2020 9:58
Forum: Beginners
Topic: FreeBASIC Extended Library
Replies: 7
Views: 195

Re: FreeBASIC Extended Library

... Hi, I cannot find FBImage on the Net. Is the file still available somewhere? Patrick. The above posts contain a direct link to it (complete with a small example): I created a tiny FBImage lib it's a small subset of library SOIL. download: FBImage.zip (Windows/Linux 32/64-bit) Thu Nov 02, 2017 (...
by paul doe
Jan 23, 2020 13:56
Forum: Tips and Tricks
Topic: Some Variations of a Binary Fractal Tree
Replies: 16
Views: 392

Re: Some Variations of a Binary Fractal Tree

... Thank you Paul Doe and Badidea for your fractal code additions and for making me welcome. I see that you are from the Netherlands and Argentina. I'm in Australia (which is being hit hard by fires, rain/hail and now wind). ... You're welcome. Yeah, my ex-wife and I (being both Greenpeace members...
by paul doe
Jan 23, 2020 13:49
Forum: Libraries
Topic: Accessing GIF Frames and Displaying GIF Images/Animations
Replies: 24
Views: 7131

Re: Accessing GIF Frames and Displaying GIF Images/Animations

I was wondering if an extra feature could be added to save each frame as a separate gif file? I have some vb6 source that can do it, but was wondering if it could be done with FreeBasic? Well, it would be a simple matter of porting the code. So, you could either post the code here (if it's not too ...
by paul doe
Jan 23, 2020 5:37
Forum: General
Topic: TMX Map loader? (Tiled Map Editor)
Replies: 4
Views: 243

Re: TMX Map loader? (Tiled Map Editor)

Alex Scarlet wrote:Thanks ^^

No prob. Here's the example I was talking about:

Xml parsing example
by paul doe
Jan 23, 2020 0:15
Forum: Projects
Topic: FreeBasic Framework
Replies: 27
Views: 1349

Re: FreeBasic Framework

Small update: fixed some crashing issues I was having with collections. Discovered when I pitted my Dictionary implementation against the one shown in this thread. Fixed now.
by paul doe
Jan 22, 2020 4:09
Forum: Projects
Topic: FreeBasic Framework
Replies: 27
Views: 1349

Re: FreeBasic Framework

Yeah, it's pretty nice. Since colors are ordered by perceived luminance , you can create some cool gradients/effects that are very hard to do with other color ordering models. It's also quite useful for UI tasks, such as ensuring some text remains visible regardless of its background color. I'm work...
by paul doe
Jan 22, 2020 3:44
Forum: Projects
Topic: FreeBasic Framework
Replies: 27
Views: 1349

Re: FreeBasic Framework

dafhi wrote:HCY. oi

I'm sorry, but what does this mean?
by paul doe
Jan 21, 2020 23:04
Forum: Projects
Topic: Rebus generator
Replies: 6
Views: 240

Re: Rebus generator

Wow, super nice. Almost (just add pictures) a complete Rebus generator ;)
by paul doe
Jan 21, 2020 22:51
Forum: Tips and Tricks
Topic: Some Variations of a Binary Fractal Tree
Replies: 16
Views: 392

Re: Some Variations of a Binary Fractal Tree

My very first post. ... Welcome, then =D Very nice! I love fractals (or anything procedural, for that matter). Since I'm working on the graphic backends on my framework, I'll share a little snippet with you: #include once "fbgfx.bi" #define ColorR( c ) _ ( culng( c ) shr 16 and 255 ) #def...
by paul doe
Jan 21, 2020 0:56
Forum: Hardware Interfaces / Communication
Topic: FreeBasic communication with Arduino logic error?
Replies: 57
Views: 18335

Re: FreeBasic communication with Arduino logic error?

Hi paul doe, my apologies. I've tried my best with Mr Swiss and I've asked a lot from many members, so I appreciate you hanging in there. ... Oh? No need for apologies, really. It's not like I invented the technique or something, after all. Even a (mildly) trained chimpanzee, and MrSwiss, could eve...

Go to advanced search