Search found 1792 matches

by leopardpm
Jan 12, 2019 23:32
Forum: Beginners
Topic: LOAD PNG TO IMAGE
Replies: 20
Views: 5765

Re: LOAD PNG TO IMAGE

dodicat wrote:Here is Bob at Drumbreddan Bay.
http://www.mediafire.com/file/xz4zp3i38 ... b.zip/file
your dog? cute!
by leopardpm
Jan 12, 2019 23:08
Forum: Beginners
Topic: LOAD PNG TO IMAGE
Replies: 20
Views: 5765

Re: LOAD PNG TO IMAGE

of course, alot of folks here seem to use linux in some form, and some mac users too I think.... so being windows only is kinda limiting, for the source.... still, nice to know
by leopardpm
Jan 12, 2019 22:59
Forum: Beginners
Topic: LOAD PNG TO IMAGE
Replies: 20
Views: 5765

Re: LOAD PNG TO IMAGE

If you use windows, then keeping things as simple as possible, please try this. Does other formats also. What?! So... if someone is using Windows, then this simple routine will work instead of having to force folks to use a library (FBimage)? which makes the program complete unto itself... never se...
by leopardpm
Jan 12, 2019 21:52
Forum: Community Discussion
Topic: "A Love Letter To FreeBASIC" Game Dev Competition (Oct 2018 – Feb 2019), 1000 $ 1st prize
Replies: 360
Views: 70752

Re: "A Love Letter To FreeBASIC" Game Dev Competition (Oct 2018 – Feb 2019), 1000 $ 1st prize

@Boromir:
Can't wait to see how you implemented the multi-player... I am looking forward to playing with your code and seeing how to apply it towards my own endeavors!
by leopardpm
Jan 12, 2019 21:44
Forum: Beginners
Topic: LOAD PNG TO IMAGE
Replies: 20
Views: 5765

Re: LOAD PNG TO IMAGE

i think creating the entire PNG loading routine would be pretty involved, especially considering the various(?) possible compression techniques... though you have a good start on the header already... still would suggest just using the library... MUCH simpler and you can continue on with your progra...
by leopardpm
Jan 12, 2019 20:12
Forum: Beginners
Topic: LOAD PNG TO IMAGE
Replies: 20
Views: 5765

Re: LOAD PNG TO IMAGE

check the library FBimage for various graphical filetype loadings... once you have the FBimage library loaded, then it is a simple statement dim shared as any ptr campfire campfire = imagecreate(32,32) 'or whatever campfire = LoadRGBAFile("data/graphics/Campfire.png") it is an unfortunate ...
by leopardpm
Jan 12, 2019 6:50
Forum: Community Discussion
Topic: "A Love Letter To FreeBASIC" Game Dev Competition (Oct 2018 – Feb 2019), 1000 $ 1st prize
Replies: 360
Views: 70752

Re: "A Love Letter To FreeBASIC" Game Dev Competition (Oct 2018 – Feb 2019), 1000 $ 1st prize

Multiplayer strategy game I've been working on. Still much to do but here is a video of my WIP. https://www.youtube.com/watch?v=YMVUlnkMW7M&feature=youtu.be Wow! Super-nice! I really like it - surprising with the graphics level, you have done a great job... I like the 'Assembly Age, then the 'Q...
by leopardpm
Jan 11, 2019 1:30
Forum: Game Dev
Topic: GOAP: A Basic AI Tutorial
Replies: 32
Views: 21015

Re: GOAP: A Basic AI Tutorial

Really I think a simple code example of GOAP in action would have more tutorial value if it isn't clogged up with fancy graphics and the need for a dll to be included so that the code concentrates more on the mechanics behind the simulation. you are absolutely correct, i was getting carried away wi...
by leopardpm
Jan 11, 2019 1:18
Forum: Community Discussion
Topic: "A Love Letter To FreeBASIC" Game Dev Competition (Oct 2018 – Feb 2019), 1000 $ 1st prize
Replies: 360
Views: 70752

Re: "A Love Letter To FreeBASIC" Game Dev Competition (Oct 2018 – Feb 2019), 1000 $ 1st prize

Lachie Dazdarian wrote:Hello everyone. It's 3.5 weeks until the end of compo, and I would really appreciate that all who plan to submit something to post some info on their progress. The time is really nigh for that.
<grumble> 3.5 weeks! <grumble>

Pitto! That is really nicely done!
by leopardpm
Jan 09, 2019 15:02
Forum: Game Dev
Topic: GOAP: A Basic AI Tutorial
Replies: 32
Views: 21015

Re: GOAP: A Basic AI Tutorial

Leopardpm wrote: This routine does not check for infinite loops which you can easily accidentally create by the way you define the actions effects & pre-conditions. It seems to me that mistakes in what preconditions and effects are required for an action may become a real issue as it become mor...
by leopardpm
Jan 08, 2019 22:57
Forum: Game Dev
Topic: GOAP: A Basic AI Tutorial
Replies: 32
Views: 21015

Re: GOAP: A Basic AI Tutorial

BasicCoder2, were you able to run v005 now?
by leopardpm
Jan 08, 2019 21:36
Forum: Game Dev
Topic: GOAP: A Basic AI Tutorial
Replies: 32
Views: 21015

Re: GOAP: A Basic AI Tutorial

the PNG file "sample of possible Agent graphics...about 48x48 each.png" was just a game I came across that had pretty neat, but simple agent graphics, something that someone with a bit more graphical aptitude than I might be able to replicate with animations.... I like how they are small, ...
by leopardpm
Jan 08, 2019 21:25
Forum: Game Dev
Topic: GOAP: A Basic AI Tutorial
Replies: 32
Views: 21015

Re: GOAP: A Basic AI Tutorial

you can try commenting out lines 17-20 - this is the hide console trick #If Defined(__FB_WIN32__) declare function hideConsoleWindow alias "FreeConsole"() as long hideConsoleWindow #EndIf I also notice that ALL files are in the main directory.... i think the program requires the sub direct...
by leopardpm
Jan 08, 2019 21:20
Forum: Libraries & Headers
Topic: fbsound 1.1 (dynamic) Windows/Linux 32 and 64-bit (wav mp3 ogg mod it xm s3m)
Replies: 72
Views: 32865

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

Creating a WAV-file (from data in memory) does not seem too hard: http://soundfile.sapp.org/doc/WaveFormat/ since its just a onetime thing...using an online converter works fine for me. plus, that page describes the WAV format...would also need the OGG format and then a way to translate from ogg->w...
by leopardpm
Jan 08, 2019 18:13
Forum: Libraries & Headers
Topic: fbsound 1.1 (dynamic) Windows/Linux 32 and 64-bit (wav mp3 ogg mod it xm s3m)
Replies: 72
Views: 32865

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

Joshy,
I am using both WAV files and OGG files... is there an easy way to convert OGG to a WAV file?

I would rather have all the same file type for loading/playing etc....

EDIT: Found an online converter, that will work for me... sorry to bother you