Search found 193 matches
- Oct 07, 2008 20:07
- Forum: Community Discussion
- Topic: Essentially, Leaving the Community.
- Replies: 44
- Views: 12277
- Aug 01, 2008 18:25
- Forum: Beginners
- Topic: Default Include Directory
- Replies: 1
- Views: 807
You can set up include directories to be searched with the -i compiler command line switch.
see http://www.freebasic.net/wiki/wikka.php ... mpilerOpti
see http://www.freebasic.net/wiki/wikka.php ... mpilerOpti
- Jul 31, 2008 21:29
- Forum: General
- Topic: Is “Dim As” redundant ?
- Replies: 72
- Views: 15009
- Jul 15, 2008 16:36
- Forum: Beginners
- Topic: Can I assign a whole 1d array?
- Replies: 7
- Views: 1838
Yes, check out the FB Wiki page on the Dim Statement here, and look for 'Initializers':
http://www.freebasic.net/wiki/wikka.php?wakka=KeyPgDim
http://www.freebasic.net/wiki/wikka.php?wakka=KeyPgDim
- Jul 15, 2008 2:42
- Forum: Beginners
- Topic: help a beginner?
- Replies: 16
- Views: 4972
It could be, but does not have to be.
Check out variable types in the Wiki.
http://www.freebasic.net/wiki/wikka.php ... dDataTypes
Check out variable types in the Wiki.
http://www.freebasic.net/wiki/wikka.php ... dDataTypes
- Feb 11, 2008 16:40
- Forum: Game Dev
- Topic: Roguelike Interpreter from FreeBASIC
- Replies: 4
- Views: 3596
Sounds great. I have tossed around ideas for an if game, a rl game, and a cross between the two. I have so far ended up working on the RL aspect though. I use info files to load data for the game instead of hardcode, so I have a few strict parsers for some of the different sections done; maps, key-b...
- Feb 03, 2008 3:08
- Forum: Beginners
- Topic: PONG (again)
- Replies: 5
- Views: 1767
So .. hmm.. you could add a delay factor, much like a person would have. Add an option for the paddle to stay where it is, rather than being forced to immediatly react. For example.. make it wait a second, or half a second before it starts moving, or maybe (once in a while) have it make an error and...
- Feb 02, 2008 20:11
- Forum: Beginners
- Topic: PONG (again)
- Replies: 5
- Views: 1767
- Jan 21, 2008 15:35
- Forum: General
- Topic: Explanation please
- Replies: 8
- Views: 2164
Because large projects get modulated and often lots of them all include the same header file. #defining it makes sure that the compiler doesn't add the header more than once in that case. If I understand you correctly; Using #include once does not prevent a file from being included more than once i...
- Jan 17, 2008 13:36
- Forum: Sources, Examples, Tips and Tricks
- Topic: Special FX Objects
- Replies: 9
- Views: 3194
- Jan 16, 2008 15:23
- Forum: Beginners
- Topic: Organizing code ("SOLVED")
- Replies: 20
- Views: 4934
- Jan 14, 2008 14:33
- Forum: General
- Topic: What're YOUR Naming/Commenting Conventions?
- Replies: 24
- Views: 6210
My style changes depending on what I'm doing, and what allows me to understand my code better 'at-a-glance', and I have a few loose rules for myself. - prefer to align code vertically when possible - no space between a proc and it's parens ( if on the same line ) - always a space between parens, ope...
- Jan 14, 2008 13:59
- Forum: Beginners
- Topic: Converting a QB Program to FB
- Replies: 18
- Views: 4851
A Function or Sub must be declared if referenced before defining it. A simple program to demonstrate this. Try compiling this as is and you will get an error. Uncomment the declare and it works as expected. ' Simple declare example 'declare function checkOddness( byref as integer ) as string sub tes...
- Jan 14, 2008 1:43
- Forum: Projects
- Topic: Roguelike walk around demo with simple field of view
- Replies: 23
- Views: 6960
First post updated with latest RL 'walk-around' example demonstrating both fixed and scrolling map views.
- Jan 13, 2008 17:23
- Forum: Sources, Examples, Tips and Tricks
- Topic: Key Input Handler
- Replies: 5
- Views: 2115