Search found 102 matches

by chris_b
Sat Jun 03, 2023 3:56 pm
Forum: General Discussion
Topic: Something about PlaySound () and FLAC
Replies: 1
Views: 769

Re: Something about PlaySound () and FLAC

but maybe a workaround?
You can truncate least significant bits of audio prior to conversion to FLAC. ie. take 16-bit audio and reduce to 6.25% of original level, then amplify by 1600%.

I did a couple of quick tests and increasing the volume back to original level still yields more or less same ...
by chris_b
Thu May 24, 2018 9:21 am
Forum: General Discussion
Topic: PureAreaDotNet Blocked by Google Chrome
Replies: 16
Views: 4393

Re: PureAreaDotNet Blocked by Google Chrome

IdeasVacuum wrote:If you click on details etc, it gives the impression that you can download, but after a few seconds:
"autoitx3.zip is dangerous, Chrome has blocked it"
I said above: Then when Chrome then blocks a downloaded file: CTRL+J or go to chrome://downloads/ and you can choose to keep it
by chris_b
Wed May 23, 2018 5:48 am
Forum: General Discussion
Topic: PureAreaDotNet Blocked by Google Chrome
Replies: 16
Views: 4393

Re: PureAreaDotNet Blocked by Google Chrome

You can override Chrome's blocking by clicking "DETAILS" on that red warning page. Then when Chrome then blocks a downloaded file: CTRL+J or go to chrome://downloads/ and you can choose to keep it.
by chris_b
Mon May 21, 2018 9:35 pm
Forum: Coding Questions
Topic: Getting error with BASS_FXSetParameters
Replies: 5
Views: 1733

Re: Getting error with BASS_FXSetParameters

Those parameters don't match #BASS_FX_DX8_PARAMEQ that you ask for in your call to BASS_ChannelSetFX()

Presumably it should be: fx = BASS_ChannelSetFX(chan, #BASS_FX_BFX_BQF, 0)
by chris_b
Mon May 21, 2018 9:19 pm
Forum: 3D Programming
Topic: Update physics independently of call to RenderWorld()
Replies: 0
Views: 1707

Update physics independently of call to RenderWorld()

is it possible?

I want to be able to update the 3D world physics, then potentially move/add/remove entities and maybe update rendertextures, then render a frame - all within a single iteration of the game loop - but I can't see how?

So far the only workaround seems to be to hide everything.. call ...
by chris_b
Mon Nov 30, 2015 7:06 am
Forum: Coding Questions
Topic: Steam integration? Or howto call c++ stuff?
Replies: 8
Views: 8304

Re: Steam integration? Or howto call c++ stuff?

Brujah wrote:How does one write a wrapper for c++?
Looks like source is here for what you need:

https://github.com/rlabrecque/CSteamworks
by chris_b
Sun Nov 15, 2015 1:24 am
Forum: General Discussion
Topic: A 50:50 Ratio Getting PBCompiler to Load So Far
Replies: 7
Views: 2519

Re: A 50:50 Ratio Getting PBCompiler to Load So Far

oldefoxx wrote:I've had two of four installs of PureBasic report that the compiler did not load when I tried to compile and run an example program.
It might not be the same issue, but whenever I get a "compiler not loaded" type of message clicking Compiler -> Restart Compiler sorts it out.
by chris_b
Sun Oct 18, 2015 5:56 am
Forum: Coding Questions
Topic: What INC From N to M in Exactly S Steps?
Replies: 16
Views: 5457

Re: What INC From N to M in Exactly S Steps?

oldefoxx wrote:What I found first is that Int() is real fussy about the inclusion of an add or subtract operation inside its parameters.
That's not the problem - you need to use 0.5 instead of just .5
by chris_b
Thu Oct 08, 2015 4:37 pm
Forum: Feature Requests and Wishlists
Topic: More PB When Dealing With Network Protocols
Replies: 26
Views: 19033

Re: More PB When Dealing With Network Protocols

Am I so different that I am the only one in this whole world that has encountered this situation? That would be so odd, to be the only one out of billions, to find my time wasted by the sheer drudgery of hourly, daily or weekly tasks on the computer. All just to be up with any changes around me ...
by chris_b
Thu Sep 10, 2015 4:57 pm
Forum: Coding Questions
Topic: Which Open Does What & In What Order?
Replies: 5
Views: 1587

Re: Which Open Does What & In What Order?

oldefoxx wrote:Since Help's Search feature is so limited
On this point: remember you can search the online documentation with Google, just add site:http://www.purebasic.com/documentation/ before your search query.
by chris_b
Tue Sep 01, 2015 8:19 pm
Forum: General Discussion
Topic: Need to Replace Console With a Grapics Version
Replies: 1
Views: 1917

Re: Need to Replace Console With a Grapics Version

What are you asking for here? PureBasic has no control of how a console app looks, it's simply outputting text and accepting text as input. How it's displayed is typically decided by the OS, or for example a terminal emulator if you're running your program remotely.

It's still all done in software ...
by chris_b
Thu Jan 31, 2013 3:09 am
Forum: Applications - Feedback and Discussion
Topic: Chompston - a musical Pac-Man/Bomberman inspired game
Replies: 13
Views: 5418

Re: Chompston - a musical Pac-Man/Bomberman inspired game

I'd like to convert it to Mac, the audio uses BASS so should hopefully be fairly easy to implement.. but I'm using some native DirectX stuff for graphics which might take a bit longer to convert.
by chris_b
Fri Jan 25, 2013 11:31 pm
Forum: Applications - Feedback and Discussion
Topic: Chompston - a musical Pac-Man/Bomberman inspired game
Replies: 13
Views: 5418

Chompston - a musical Pac-Man/Bomberman inspired game

A little 2d maze game made in PB featuring randomly generated levels and sound effects synchronized with the music.

Download it here.

Gameplay video:

Image
by chris_b
Mon Jun 18, 2012 7:44 pm
Forum: Applications - Feedback and Discussion
Topic: Dagion
Replies: 9
Views: 5082

Re: Dagion

The enemies don't respawn.

As for finding all the fruit, I uploaded a map here which shows their locations.
by chris_b
Thu Mar 29, 2012 11:16 pm
Forum: Applications - Feedback and Discussion
Topic: Dagion
Replies: 9
Views: 5082

Re: Dagion

Thanks!

And yes, I know about disabling Aero, in fact I do it explicitly with the following bit of code:

Lib = LoadLibrary_("dwmapi.dll")
If Lib
*pAfunc = GetProcAddress_(Lib, "DwmEnableComposition")
CallFunctionFast(*pAfunc, 0)
EndIf
Without that it looks a bit messier when Windows changes to ...