Three issues I see,,,
#1. Running a tight loop without a Sleep can hog the CPU.
#2. Randomly you are printing the BELL character which blocks the console until the beep sound is finished playing
#3. IIRC the Timer only has an accuracy down to 15ms.
Cheers
-Vince
Search found 2989 matches
- May 16, 2022 0:14
- Forum: General
- Topic: Why is this lagging?
- Replies: 1
- Views: 690
- Apr 24, 2022 15:24
- Forum: Community Discussion
- Topic: 'Class' Keyword
- Replies: 3
- Views: 2269
Re: 'Class' Keyword
This is just my personal opinion (no echo from Jeff): I think support for Interfaces would be outstanding but would also require compatibility with Is and TypeOf and probably others. I have really become accustomed to the Class/Interface pattern and find it a great method for organizing functionali...
- Apr 24, 2022 15:00
- Forum: Community Discussion
- Topic: 'Class' Keyword
- Replies: 3
- Views: 2269
'Class' Keyword
I was curious what was the future intention for the 'Class' keyword? Right now FB recognizes it as a reserved keyword, but I don't see any use for it currently. Would it make sense to treat it similar to Type? I was just curious what features it would have beyond what Type offers.
Cheers
-Vince
Cheers
-Vince
- Apr 19, 2022 14:06
- Forum: Community Discussion
- Topic: Nice to See Some Familiar Users Still Here
- Replies: 5
- Views: 1376
Re: Nice to See Some Familiar Users Still Here
They all seem to have departed without a word of farewell, no indication that they are off on some prolonged sabbatical. I suppose getting engrossed in another language or project, or even crossing the great divide, explains all. I can't speak for anyone else, but for me it was just R/L getting in ...
- Apr 19, 2022 1:28
- Forum: Community Discussion
- Topic: Nice to See Some Familiar Users Still Here
- Replies: 5
- Views: 1376
Re: Nice to See Some Familiar Users Still Here
It's a wrapper. I had an earlier version I wrote a while ago posted here... https://www.freebasic.net/forum/viewtopic.php?t=22103 My latest version incorporates a newer version plus some other classes for sound, keyboard, controller, tile mapping, physics, and collisions to create a game library for...
- Apr 19, 2022 0:50
- Forum: Projects
- Topic: Hex Factor 1.0 Released
- Replies: 23
- Views: 9486
Re: Hex Factor 1.0 Released
Updated game link in first post.
Cheers
-Vince
Cheers
-Vince
- Apr 19, 2022 0:48
- Forum: Projects
- Topic: Star Castle Finished!
- Replies: 2
- Views: 2780
Re: Star Castle Finished!
Updated link again in first post.
Cheers
-Vince
Cheers
-Vince
- Apr 19, 2022 0:46
- Forum: Projects
- Topic: Berzerk 2.0 (Beta Release 0.9.0)
- Replies: 20
- Views: 8698
Re: Berzerk 2.0 (Beta Release 0.9.0)
Updated link to game in first post.
Cheers!
-Vince
Cheers!
-Vince
- Apr 19, 2022 0:44
- Forum: Projects
- Topic: Asteroids Remake
- Replies: 28
- Views: 7946
Re: Asteroids Remake
Updated the link to the game in the first post.
Cheers
-Vince
Cheers
-Vince
- Apr 18, 2022 23:17
- Forum: Community Discussion
- Topic: Nice to See Some Familiar Users Still Here
- Replies: 5
- Views: 1376
Nice to See Some Familiar Users Still Here
I've been away for a while. I just popped back in to see what's new with FreeBASIC and it's nice to see a lot a familiar users still around! Reading through some of the threads and laughing at how things never change. Same gripes and rants just different people writing them! :D I came back because I...
- Jan 27, 2019 19:57
- Forum: Community Discussion
- Topic: "A Love Letter To FreeBASIC" Game Dev Competition (Oct 2018 – Feb 2019), 1000 $ 1st prize
- Replies: 360
- Views: 82891
Re: "A Love Letter To FreeBASIC" Game Dev Competition (Oct 2018 – Feb 2019), 1000 $ 1st prize
Wish I had seen this sooner. I love these competitions. Sadly my father passed in December and I've been too busy to check the boards. Thanks Lachie for giving me the heads up but I don't think I can get a game together in 7 days.
-Vince
-Vince
- Jan 23, 2018 12:47
- Forum: Community Discussion
- Topic: No more hosted networks (ad-hoc connections) allowed on win10!?
- Replies: 10
- Views: 3839
Re: No more hosted networks (ad-hoc connections) allowed on win10!?
Ad-hoc networking on Windows 10 is a little more complicated because you need to ensure... 1. You have enabled network browsing 2. You have password protected sharing on or off 3. You have set up the proper resource sharing permissions 4. You have set up the proper security permissions (Different fr...
- Dec 14, 2017 17:45
- Forum: Windows
- Topic: FreeBasic Try-Catch-Throw feature for win only
- Replies: 7
- Views: 2640
- Dec 01, 2017 14:58
- Forum: Community Discussion
- Topic: time to say goodbye
- Replies: 53
- Views: 13156
Re: time to say goodbye
Bye DJ! Keep in touch.
-Vince
-Vince
- Nov 29, 2017 15:53
- Forum: General
- Topic: POINTER NULL CHECK
- Replies: 41
- Views: 5320
Re: POINTER NULL CHECK
Another example, I don't like the syntax: If Len(string) Then ... Obviously this syntax compiles well and works but this code BASIC is not "clean" in my humble opinion, because the expression 'Len (string)' is neither true nor false, but conversely the expression 'Len (string) = 0' is tru...