Search found 2989 matches

by vdecampo
Mar 14, 2017 12:25
Forum: Community Discussion
Topic: One Dimensional Totalistic Cellular Automata
Replies: 4
Views: 1519

Re: One Dimensional Totalistic Cellular Automata

Please use the code tags when posting source code as it makes it easier to copy to the clipboard as well as makes the thread easier to read.

-Vince
by vdecampo
Feb 23, 2017 17:57
Forum: Beginners
Topic: T&R
Replies: 8
Views: 1508

Re: T&R

Code: Select all

Run "myprog.exe"
End
by vdecampo
Feb 23, 2017 15:32
Forum: Archive
Topic: FSUIPC for FreeBASIC
Replies: 0
Views: 1350

FSUIPC for FreeBASIC

FSUIPC is an SDK for interfacing with Microsoft Flight Simulator (FSX) and Lockheed Martin Prepa3D. With it you can read simulation information like airspeed, latitude and longitude, etc, as well as set many of these variables. Developers use this SDK to create custom gauges and controls, both virtu...
by vdecampo
Feb 23, 2017 13:58
Forum: Community Discussion
Topic: [offtopic] I found Mitsuba a free high quality renderer.
Replies: 11
Views: 4895

Re: [offtopic] I found Mitsuba a free high quality renderer.

Impressive! How long did these scenes take to render?
by vdecampo
Feb 23, 2017 13:52
Forum: General
Topic: Linking Problem
Replies: 4
Views: 1005

Re: Linking Problem

[a bit off-topic] I am using FreeBASIC 1.05 and FBEdit 1.0.6.8 on Windows 10-64 bit. About FBEdit: the version you're using now, still has some *instability* issues. You'd better upgrade to version: 1.0.7.6c, the latest version from KetilO. You can get it from: freebasic-portal.de (the german langu...
by vdecampo
Feb 21, 2017 18:10
Forum: General
Topic: Linking Problem
Replies: 4
Views: 1005

Re: Linking Problem

You see. I must have been brain-dead.

Thanks dkl
by vdecampo
Feb 21, 2017 17:54
Forum: General
Topic: Linking Problem
Replies: 4
Views: 1005

Linking Problem

Ok guys. I know its been a while since I did any serious programming in FB but I am stumped and I need your help. Below is a download link to a project I am doing. I am converting some C code into a static FB library. The first project (FSUIPC_FB) is the actual library. Then there is a sub-project c...
by vdecampo
Feb 15, 2017 17:37
Forum: Projects
Topic: Easy GL2D
Replies: 154
Views: 43650

Re: Easy GL2D

FYI the link to this project in the first post took me to a virus/trojan web site.

-Vince
by vdecampo
Feb 07, 2017 18:03
Forum: Game Dev
Topic: New FreeBASIC games of not since 2013
Replies: 25
Views: 6944

Re: New FreeBASIC games of not since 2013

I could probably afford another 200 USD game making compo (out of my own pockets), but I'm not sure if there is still enough interested parties. Maybe I should open a pool. So, no new FB games since 2014 of note? While I appreciate your dedication to the FreeBASIC community, I don't think you shoul...
by vdecampo
Feb 06, 2017 15:53
Forum: Game Dev
Topic: New FreeBASIC games of not since 2013
Replies: 25
Views: 6944

Re: New FreeBASIC games of not since 2013

I miss the little competitions we used to have. We should try to raise money on GoFundMe to provide incentive money for prizes. Sell the idea as promoting education in software and game development, plus they get free games!

-Vince
by vdecampo
Feb 02, 2017 13:15
Forum: Beginners
Topic: Pixel
Replies: 21
Views: 2960

Re: Pixel

TurtleProgrammer wrote:I need the program to start from 1 to and go to 1000 (for example), and pick a color from the standard, red, blue, green, yellow, orange, and white.
Which graphics mode? 32bit or 8bit?

-Vince
by vdecampo
Feb 01, 2017 14:47
Forum: Beginners
Topic: Pixel
Replies: 21
Views: 2960

Re: Pixel

What's the easiest way to create a randomly colored pixel from 1 to 1001 for example? is 1-1001 the range of colors or the number of pixels? #Define RndColor Rnd*&hFFFFFF #Define ScrW 800 #Define ScrH 600 Randomize ScreenRes ScrW, ScrH For x As Integer = 0 To 1000 PSet (Rnd*ScrW,Rnd*ScrH),RndCo...
by vdecampo
Feb 01, 2017 14:46
Forum: Beginners
Topic: Pixel
Replies: 21
Views: 2960

Re: Pixel

What's the easiest way to create a randomly colored pixel from 1 to 1001 for example? is 1-1001 the range of colors or the number of pixels? #Define RndColor Rnd*&hFFFFFF #Define ScrW 800 #Define ScrH 600 ScreenRes ScrW, ScrH For x As Integer = 0 To 1000 PSet (Rnd*ScrW,Rnd*ScrH),RndColor Next S...
by vdecampo
Feb 01, 2017 14:43
Forum: Beginners
Topic: Pixel
Replies: 21
Views: 2960

Re: Pixel

TurtleProgrammer wrote:What's the easiest way to create a randomly colored pixel from 1 to 1001 for example?
is 1-1001 the range of colors or the number of pixels?

-Vince
by vdecampo
Jan 25, 2017 0:17
Forum: Beginners
Topic: How to "reverse" a byte?
Replies: 69
Views: 11516

Re: How to "reverse" a byte?

Late to the party but I found this.... Function Rev(in As UInteger) As UInteger ' swap odd and einen bits in = ((in Shr 1) and &h55555555) or ((in and &h55555555) Shl 1) ' swap consecutiine pairs in = ((in Shr 2) And &h33333333) Or ((in And &h33333333) Shl 2) ' swap nibbles ... in = ...