Search found 2975 matches

by vdecampo
Oct 04, 2017 12:30
Forum: Community Discussion
Topic: Most important concepts to learn for a new developer (Top 50)
Replies: 30
Views: 746

Most important concepts to learn for a new developer (Top 50)

I would like to poll the FB community of developers to create a Top 50 list of topics that you think a new developer should learn. This can include simple things like binary and hex numbers to more complex concepts like polymorphism and multi-threading. The goal is to create a curriculum that would ...
by vdecampo
Sep 25, 2017 16:42
Forum: General
Topic: Find the best 8 bit palette for an RGB image
Replies: 67
Views: 1176

Re: Find the best 8 bit palette for an RGB image

I would resample the 888 RGB 24bit to 323 RGB 8Bit. At work right now but I could give it a try this evening.

-Vince
by vdecampo
Sep 25, 2017 15:02
Forum: Beginners
Topic: ScreenRes - more info needed [SOLVED]
Replies: 16
Views: 226

Re: ScreenRes - more info needed

Check out the ScreenControl function.

-Vince
by vdecampo
Sep 21, 2017 12:34
Forum: Beginners
Topic: Help using On...Goto and Select Case and SUB needed [SOLVED]
Replies: 8
Views: 204

Re: Help using On...Goto and Select Case and SUB needed

Just remember that the FreeBASIC compiler recognizes symbols as they occur in your source code. If you reference a SUB or FUNCTION or variable before that symbol has been declared, the compiler will treat it as unknown.

-Vince
by vdecampo
Jul 21, 2017 2:41
Forum: Beginners
Topic: Speed issues with my game
Replies: 14
Views: 569

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 Slee...
by vdecampo
Jul 21, 2017 2:19
Forum: Beginners
Topic: Speed issues with my game
Replies: 14
Views: 569

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 involve...
by vdecampo
Jul 05, 2017 3:15
Forum: General
Topic: Opportunity to make some Cash
Replies: 70
Views: 1454

Re: Opportunity to make some Cash

MrSwiss wrote:@Vince,

it isn't exactly helpful, to compare a relatively new SOC (R-Pi), with "stone-age" PC-HW ...
(as comparing Apples and Bananas, while both are "fruit's")


I guess the real question is, why not just replace the stone-age PC-HW with a $35 Raspberry pi?

-V
by vdecampo
Jul 03, 2017 19:58
Forum: General
Topic: Opportunity to make some Cash
Replies: 70
Views: 1454

Re: Opportunity to make some Cash

I've run Linux with the Mono framework on a $35 Raspberry Pi computer with 1Gb RAM and my c# app ran fine (and it was graphic intensive). I would imagine a POS app would run just fine. Many assemblies or DLLs for .NET can be used on Mono. And there is always more than one way to approach a problem. ...
by vdecampo
Jul 03, 2017 14:02
Forum: General
Topic: Opportunity to make some Cash
Replies: 70
Views: 1454

Re: Opportunity to make some Cash

Why not move to Linux and use VB under Mono? Its just like VB.NET, and its free. Depending on how your VB code is written, it may work with little or no modification.

Nothing against FB. Just seems like the right tool for the job.

-Vince
by vdecampo
Jul 03, 2017 13:52
Forum: Tips and Tricks
Topic: A simple emulator
Replies: 3
Views: 577

Re: A simple emulator

Just so you are aware, your hexconvert function is not necessary. Just use Hex(value,2) to guarantee you get a 2-digit value.

-Vince
by vdecampo
Jun 08, 2017 19:31
Forum: General
Topic: How to use Arrays In FreeBASIC
Replies: 12
Views: 418

Re: How to use Arrays In FreeBASIC

This isn't an array. It looks like you are using a Listbox control. They are 2 very different things.

-Vince
by vdecampo
Jun 06, 2017 18:49
Forum: Beginners
Topic: Always on top
Replies: 9
Views: 292

Re: Always on top

#Include "windows.bi" Dim As POINT pt Do If GetCursorPos(@pt) Then Print pt.x, pt.y End If If GetAsyncKeyState(VK_LBUTTON) Then Print "Left Button Pressed" Sleep 100 Loop Until InKey=Chr(27) You can get a list of all the virtual key codes Here -Vince
by vdecampo
Jun 05, 2017 15:44
Forum: Beginners
Topic: Always on top
Replies: 9
Views: 292

Re: Always on top

Yes Here is a start for your wish list. This will get the screen coordinates of the mouse whether inside or outside of the program window #Include "windows.bi" Dim As POINT pt Do If GetCursorPos(@pt) Then Print pt.x, pt.y End If Sleep 100 Loop Until InKey=Chr(27) -Vince
by vdecampo
Jun 05, 2017 15:19
Forum: Beginners
Topic: Always on top
Replies: 9
Views: 292

Re: Always on top

Yes
by vdecampo
Jun 05, 2017 15:17
Forum: Community Discussion
Topic: A new section for FreeBasic on The Joyful Programmers forum
Replies: 28
Views: 1369

Re: A new section for FreeBasic on The Joyful Programmers forum

I was watching some MIT lectures while researching the idea of creating a new programming language and the one key point the professor spoke of was that it would need to have at a minimum, associative arrays as a standard data type. I searched the FB forum and found several discussions of which I w...

Go to advanced search