Search found 355 matches
Re: Update???
Look, as long as there is anyone making a half-decent FreeBASIC game, I have an access to a PC with internet connection and some shred of sanity, the world is not colapsing, then that specific game will get my attenton and an upload to FBGD. So I'm eager to hear what you are cooking up. Never hesis...
- Jul 27, 2017 21:52
- Forum: Beginners
- Topic: Speed issues with my game
- Replies: 14
- Views: 4387
Re: Speed issues with my game
If I am NOT online with google chrome my frame rate is limited to about 65 f.p.s. If I am online I can get much faster rates. This is the sort of issue I am running into. Except I noticed that with my game the speed only increases dramatically if I have a Google Drive page open and viewing. Maybe t...
- Jul 27, 2017 13:43
- Forum: Beginners
- Topic: Speed issues with my game
- Replies: 14
- Views: 4387
Re: Speed issues with my game
I've noticed that the speed up occurs when I have Google Chrome open and viewing a Google Drive webpage! I also noticed that Skype notifications with their Windows 7 client drastically slows down the game. I hope this list is exhaustive, but there's always the possibility that it's not. I've figure...
- Jul 27, 2017 10:28
- Forum: Beginners
- Topic: Speed issues with my game
- Replies: 14
- Views: 4387
Re: Speed issues with my game
I use a little function to adjust the time of sleep. This gives The CPU a break and lets your framerate be at your request. Hi dodicat, I will try out your method. Because it seems simply running the game loop on a timer isn't working. I myself am not experiencing speed issues anymore. But apparent...
- Jul 26, 2017 14:42
- Forum: Libraries & Headers
- Topic: sGUI
- Replies: 250
- Views: 76244
Re: sGUI
Thanks for the fix; it works perfectly!Muttonhead wrote:oh it looks like a bug in sGUI_v0.8.56
open ListBox.bas in the sGUI folder
at row 90 you will find this:
...
change it to:
..
not tested !!
Mutton
- Jul 25, 2017 21:16
- Forum: Libraries & Headers
- Topic: sGUI
- Replies: 250
- Views: 76244
Re: sGUI
Hi,
Is there a way to retrieve the gadget pointer of the scroll bar of a list box? I am attempting to redraw a list box and I noticed its accompanying scroll bar did not redraw. Is there a way to redraw this part of the list box?
Is there a way to retrieve the gadget pointer of the scroll bar of a list box? I am attempting to redraw a list box and I noticed its accompanying scroll bar did not redraw. Is there a way to redraw this part of the list box?
- Jul 21, 2017 2:57
- Forum: Beginners
- Topic: Speed issues with my game
- Replies: 14
- Views: 4387
Re: Speed issues with my game
IIRC FB uses the high resolution timer internally when available so using a double to store a start time could be used for comparisons. Pseudo Code Dim loopStart as Double ' Start Game Loop Do if (Timer-loopStart > .33) Then 'This is 30 FPS 'Process Logic 'Render Screen loopStart = Timer End if Sle...
- Jul 21, 2017 2:30
- Forum: Beginners
- Topic: Speed issues with my game
- Replies: 14
- Views: 4387
Re: Speed issues with my game
How are you timing your game loop? Do you allow so many game ticks per second? You can accomplish this most easily by using a timer variable to limit how many passes per second. More accurately you would process your game movement based on the elapsed time for each game tick but this is more involv...
- Jul 20, 2017 23:27
- Forum: Beginners
- Topic: Speed issues with my game
- Replies: 14
- Views: 4387
Speed issues with my game
Hi all, I'm nearly finished with the first version of that game I'm making. That version is coming out very soon! However, I have a technical issue with my game loop. Sometimes the game runs too fast! How can I regulate speed to make sure it will always play at a specific rate (a majority of the tim...
- Jul 19, 2017 23:52
- Forum: Libraries & Headers
- Topic: fbsound 1.0 Win/Lin 32/64-bit (wav mp3 ogg mod it xm s3m)
- Replies: 242
- Views: 91761
Re: fbSound for Linux x86 Win32 (wav mp3 ogg mod it xm s3m)
I'm certain of this too; I after all have the library ;)! I was just letting you know in case it was an issue.D.J.Peters wrote:I'm sure all my dowmloads are safe.
- Jul 19, 2017 15:53
- Forum: Libraries & Headers
- Topic: fbsound 1.0 Win/Lin 32/64-bit (wav mp3 ogg mod it xm s3m)
- Replies: 242
- Views: 91761
Re: fbSound for Linux x86 Win32 (wav mp3 ogg mod it xm s3m)
btw you could compile fbsound with #define NOMOD #define NOMP3 #define NOOGG That way you should be able to remove these libraries that you do not need and thus don't have to care about their licenses either. If you ship it you've to include the license too - no matter whether it is actually used o...
- Jul 19, 2017 14:52
- Forum: Libraries & Headers
- Topic: fbsound 1.0 Win/Lin 32/64-bit (wav mp3 ogg mod it xm s3m)
- Replies: 242
- Views: 91761
Re: fbSound for Linux x86 Win32 (wav mp3 ogg mod it xm s3m)
Hi D.J.Peters, I am using you sound library for my game, and I have got it working no trouble thanks to the examples/doc! Works perfectly for what I want! However, I am posting to clarify a few things about distributing it with my game (i.e. licensing stuff). In my collection of licenses (which have...
- Jul 14, 2017 2:24
- Forum: Community Discussion
- Topic: Currently inactive
- Replies: 45
- Views: 15906
Re: Currently inactive
I've been seeing this post for a while now, and I only think it is fair and right to say, Thank you. I've only been a member of the community for just over a year, but I really sense your dedication to this project and what you have provided in terms of effort, skill etc. ;)! As well as the others w...
Re: virus?
Ah, necroposting; isn't it great :) Hi, I think being well protected against viruses with ESET nod 32, but yesterday for the first time since 2007 I had the following problem: During a test of the code under development, windows (or my Dell attitude) crashed and the mouse remained motionless. I rebo...
- Jul 03, 2017 17:36
- Forum: Beginners
- Topic: Short-Circuit: Why Use their Bitwise Counterparts?
- Replies: 7
- Views: 1471
Re: Short-Circuit: Why Use their Bitwise Counterparts?
Have you seen the already existing feature request: #246 Execution speed optimization of 'Andalso' and 'Orelse' ? You can add text inside 'discussion' (need to login)! The included test program provides the performances for 3 syntaxes used in a particular case. In any case, I always find that the n...