Search found 1765 matches

by badidea
Jan 08, 2020 21:41
Forum: Tips and Tricks
Topic: Simple Steamworks API usage
Replies: 2
Views: 233

Re: Simple Steamworks API usage

Thanks for sharing. Only one 'small' thing to do for me now, is getting a game finished enough to be worth a steam release. I estimate 2030 :-)
by badidea
Jan 08, 2020 21:28
Forum: Documentation
Topic: Spelling Correction under Documentation>CommunityTutorials>Using Libraries in FreeBASIC
Replies: 2
Views: 285

Re: Spelling Correction under Documentation>CommunityTutorials>Using Libraries in FreeBASIC

Just in the interest of having our documentation as polished as possible: In the "Using Libraries" tutorial, in the section "What are these Libraries, Anyway?", on line 3, 4th last word, "reigon" should be corrected to say "region". I can see that it was made...
by badidea
Jan 08, 2020 0:02
Forum: General
Topic: Squares
Replies: 7626
Views: 456761

Re: Squares

Won't work, not even the gods can solve that. 0011 000 = 001 1000 0011 001 = 001 1001 dim as string outStr(16-1) = {_ "0111", "0011", "1000", "1001", _ "1010", "1011", "000", "001", _ "0010", "0110", ...
by badidea
Jan 07, 2020 19:01
Forum: General
Topic: Squares
Replies: 7626
Views: 456761

Re: Squares

albert @ 07 Jan 2020, 18:04 (the time here): 0111 000 = 011 1000 0111 001 = 011 1001 0111 010 = 011 1010 0111 011 = 011 1011 010 1000 = 0101 000 010 1001 = 0101 001 010 1010 = 0101 010 010 1011 = 0101 011 dim as string outStr(16-1) = {_ "0110", "0111", "1000", "100...
by badidea
Jan 07, 2020 17:47
Forum: Game Dev
Topic: Another freebasic miner
Replies: 24
Views: 1043

Re: Another freebasic miner

Roland Chastain wrote:Noticed a small thing: if you press the up arrow and in the same time the right arrow, the right arrow has no effect.

That is correct. I can try to change it, but I fear that that code will be more complex.
by badidea
Jan 07, 2020 0:02
Forum: General
Topic: Squares
Replies: 7626
Views: 456761

Re: Squares

*sigh* In case you did not believe my previous post, this was post #205 in this topic in 2010 (we are now at #7435, 2020): Do you think this method might work????? Information theory says it cannot work without loss. ... Having daily compression fantasy spam from albert is much better than dialy tw...
by badidea
Jan 05, 2020 21:29
Forum: General
Topic: Squares
Replies: 7626
Views: 456761

Re: Squares

angros47 wrote:..

There is no point in trying to convince albert. All have tried. He has been working on a magic compressor for 20 years and will continue to do so.
by badidea
Jan 05, 2020 0:38
Forum: Game Dev
Topic: Another freebasic miner
Replies: 24
Views: 1043

Re: Another freebasic miner

I continued with the project again. Only a small addition for now: Ability to build ladders, using 'space' key.
https://nr100.home.xs4all.nl/badidea/mi ... -01-05.zip [640 KB]
by badidea
Jan 04, 2020 17:23
Forum: Libraries
Topic: fbsound 1.1 (dynamic) Windows/Linux 32 and 64-bit (wav mp3 ogg mod it xm s3m)
Replies: 59
Views: 15089

Re: fbsound 1.1 (dynamic) Windows/Linux 32 and 64-bit (wav mp3 ogg mod it xm s3m)

By the way I had to add the line fbs_Set_PlugPath("/home/Rob/Desktop/vs_tetris/fbsound-1.1/") to my code. What does this do? According to the manual this: http://shiny3d.de/public/fbsound/english.html#fbs_Set_PlugPath But I never got that working for libfbsound-xx.so. So I had to keep the...
by badidea
Jan 04, 2020 12:43
Forum: Libraries
Topic: fbsound 1.1 (dynamic) Windows/Linux 32 and 64-bit (wav mp3 ogg mod it xm s3m)
Replies: 59
Views: 15089

Re: fbsound 1.1 (dynamic) Windows/Linux 32 and 64-bit (wav mp3 ogg mod it xm s3m)

To my shock it did compile, nice game badidea. So at least something works. Initially I wanted to put the 'fbsound-XX.dll' and 'libfbsound-XX.so' files in the 'fbsound-1.1' sub-directory, but I did not got that working. There are files in your fbsound-1.1 such as libfbsound-64.so which are not in t...
by badidea
Jan 04, 2020 10:42
Forum: Libraries
Topic: fbsound 1.1 (dynamic) Windows/Linux 32 and 64-bit (wav mp3 ogg mod it xm s3m)
Replies: 59
Views: 15089

Re: fbsound 1.1 (dynamic) Windows/Linux 32 and 64-bit (wav mp3 ogg mod it xm s3m)

... I had some problems with fbsound myself. I did solve it, but I don't remember what the trick was. Can you try to compile and run this game? https://nr100.home.xs4all.nl/badidea/freebasic_vs_tetris_2019-04-29.zip [4.6 MB] It has fbsound included (with a fbsound_dynamic.bi). Compile with 'fbc fb_...
by badidea
Jan 03, 2020 22:56
Forum: Beginners
Topic: Configurable source code beautifier for FB
Replies: 10
Views: 2110

Re: Configurable source code beautifier for FB

Hi, I heard that *Geany* did that in the past. I can't be sure since it was some linux users speaking. A search in the forum with beautify keyword may well return something anyway. https://www.geany.org/ There is FBeauty.bas, a Geany custom command for code beautyfying , but this does not do code i...
by badidea
Jan 02, 2020 23:52
Forum: Beginners
Topic: Playing non-file audio
Replies: 16
Views: 501

Re: Playing non-file audio

Using the audio library of angros47 ( Audio library for FreeBasic - Features ) and a bit of copy and paste from Joshy, I made this code: '------------------------------------------------------------------------------- ' Modify this section to the location and name of your sfx.bi and sfx library '---...
by badidea
Jan 02, 2020 20:56
Forum: General
Topic: Squares
Replies: 7626
Views: 456761

Re: Squares

Richard wrote: "Abs() removes the sign bit. You cannot get it back."
And thus abs() deletes information, which you probably don't want to do in a compression algorithm.
by badidea
Dec 30, 2019 23:48
Forum: Projects
Topic: XFont Text Render Library [v11.9.13]
Replies: 64
Views: 23519

Re: XFont Text Render Library [v11.9.13]

Uploaded: https://github.com/verybadidea/XFont-Lib

Tested with 32 & 64 bit fbc 1.07.1 linux version
Compile library first with 'fbc -lib xfont.bas'
Also removed the double page in the manual.
Added examples from the manual to /test directory.
Set the version to 12.0.0

Go to advanced search