Search found 1331 matches

by paul doe
Jun 17, 2021 22:43
Forum: Beginners
Topic: Distortion when moving across the screen sprite (Raspberry 4B))
Replies: 67
Views: 1120

Re: Distortion when moving across the screen sprite (Raspberry 4B))

@PavelUT: Why don't you simply use Raylib?

https://github.com/glasyalabolas/fb-raylib

It also supports the RPI...
by paul doe
Jun 16, 2021 20:00
Forum: Game Dev
Topic: ALL4CONNECT4AUTOLNGENIUS
Replies: 1
Views: 82

Re: ALL4CONNECT4AUTOLNGENIUS

AnthonyRBrown wrote:...
Below is the download link and of course some Screen shots!...
...

No source code and, judging from the size of the executable, it's a QB64 program. So, tell me: why are you spamming the forum with QB64 programs? Mmm?
by paul doe
Jun 11, 2021 9:48
Forum: Beginners
Topic: Is FreeBASIC good for beginners to progrmaming?
Replies: 95
Views: 2232

Re: Is FreeBASIC good for beginners to progrmaming?

Just remembered two other board games that could be relatively easy to implement for learning purposes: Dominoes and Mahjong. Also, a relatively more sophisticated one could be Burako (either with Poker cards or with its own specialized pieces).
by paul doe
Jun 11, 2021 1:08
Forum: Beginners
Topic: Is FreeBASIC good for beginners to progrmaming?
Replies: 95
Views: 2232

Re: Is FreeBASIC good for beginners to progrmaming?

... There were a few moments when I wanted to write a poker bot/AI, but I could never figure out how to approach this problem. Someday, I give it another try... ... I think a Texas Hold'em bot would be easier to program than, say, a 5-draw Poker bot. This is because there is more info available for...
by paul doe
Jun 11, 2021 0:58
Forum: Beginners
Topic: Enum not working
Replies: 4
Views: 165

Re: Enum not working

Hello Folks, Yeah but why this error? The member is not static , thus you can either access it with the this qualifier, or not qualify it at all: ENUM ProcessState Running Stopped Shutdown Free end enum type process dim as ubyte state declare constructor() end type constructor process '' Either one...
by paul doe
Jun 10, 2021 10:03
Forum: Beginners
Topic: Is FreeBASIC good for beginners to progrmaming?
Replies: 95
Views: 2232

Re: Is FreeBASIC good for beginners to progrmaming?

... I agree 100%, I need to think of smaller projects first. Maybe something Taking a number, printing out its binary value, its twos compliment, and its hexadecimal value? i dunno just throwing ideas around. ... Tic-tac-toe is a good starting exercise. Once you've done with it, you can try: ⋅...
by paul doe
Jun 09, 2021 19:52
Forum: Beginners
Topic: Is FreeBASIC good for beginners to progrmaming?
Replies: 95
Views: 2232

Re: Is FreeBASIC good for beginners to progrmaming?

joeyxl wrote:...Funny, last night i was watching a documentary about Chess Computers, and i wondered, could i do that with freeBASIC?
...

Sure. Some members here (Roland Chastain and Luis Babboni, to name but two) have made chess engines. You might have a look at their work if you're interested.
by paul doe
Jun 04, 2021 10:10
Forum: Documentation
Topic: External Graphics File Formats (page to fill in Programmer's Guide)
Replies: 7
Views: 282

Re: External Graphics File Formats (page to fill in Programmer's Guide)

And what's this page supposed to contain? The bload documentation page says: BLoad can load 3 different types of files: ⋅ Old QB-like data files, saved with BSAVE from QB code, containing "raw" data preceded by a 7-byte header, beginning with &HFD, up to 64 KiB in size ⋅...
by paul doe
May 26, 2021 22:10
Forum: Beginners
Topic: Return information from a Shell
Replies: 17
Views: 555

Re: Return information from a Shell

KenHorse wrote:Still have to step through the first 2 lines (hit ENTER). Looks like some high order ASCII?
...

Most likely control characters. You may want to either filter them, or not outputting them at all.
by paul doe
May 26, 2021 16:49
Forum: Beginners
Topic: Return information from a Shell
Replies: 17
Views: 555

Re: Return information from a Shell

... This is what it returns (I have to hit ENTER in order to step through it. I suspect open pipe can't deal with CR/LF) ^[[34;1R ^[[34;1R Variable listing for node 1100: Use line input instead of input , and poll until there's no more data left: dim csysname as string dim xfnum as long xfnum = fre...
by paul doe
May 18, 2021 16:36
Forum: Projects
Topic: RqWork7 and Shrimp
Replies: 6
Views: 1219

Re: RqWork7 and Shrimp

diakin wrote:...
ps. How can I attach screenshot?

You can't. But you can use an external hosting service. I use imgbox; works pretty well so far.
by paul doe
May 13, 2021 20:43
Forum: Libraries
Topic: BASS Issue
Replies: 6
Views: 276

Re: BASS Issue

Can you provide a code sample where the above occurs? Thanks.
by paul doe
May 08, 2021 14:22
Forum: General
Topic: openfilename
Replies: 25
Views: 966

Re: openfilename

... Under the hood it becomes clear that there are no nullbytes around. Probably I just have a very old version: FreeBASIC Compiler - Version 1.07.1 (2019-09-27), built for win32 (32bit) ... Unlikely, since I'm compiling with the same 'official' version (portable), with the 'vanilla' toolchain (GCC...
by paul doe
May 08, 2021 12:42
Forum: General
Topic: openfilename
Replies: 25
Views: 966

Re: openfilename

Because it understands another syntax That looks nice, Paul - thanks. Did you test it? On my machine, the dialog shows but the filters look a bit strange... ... No problems for me here: https://thumbs2.imgbox.com/22/cc/IBVnonu4_t.png ... I know you all hate assembly, but if you know how to use Olly...
by paul doe
May 08, 2021 6:22
Forum: General
Topic: openfilename
Replies: 25
Views: 966

Re: openfilename

... In contrast, I have just wasted half an hour trying to convince FB to do something as simple as creating a string with embedded nullbytes (as often required by Windows). The MASM equivalent is mov rax, Chr$("Sources", 0, "*.as?", 0, "Resources", 0, "*.rc"...

Go to advanced search