Search found 1692 matches

by badidea
Jan 21, 2015 0:31
Forum: Beginners
Topic: so how do i start, newbie here
Replies: 28
Views: 2827

Re: so how do i start, newbie here

Welcome, I guess the 'Beginners' section is fine for introducing yourself. c++ isn't the easiest language to start with. But the language itself does not matter so much, more the way of thinking. As a start, i suggest to get the most basic (as in simple) program running: print "My first program...
by badidea
Jan 20, 2015 23:56
Forum: Community Discussion
Topic: Bald middle-aged man joins the club...
Replies: 51
Views: 6134

Re: Bald middle-aged man joins the club...

The result is a = 2, b = 1
This kind of functionality can also be used for functions, returning 2 values, if I'm not wrong.
by badidea
Jan 20, 2015 15:11
Forum: Projects
Topic: FlappyFB (single source... added NintendoDS Versions)
Replies: 29
Views: 5859

Re: FlappyFB (single source... no resource required)

Impressive, but I suck at it too. Gave up after ten tries. Best score: 1.
by badidea
Dec 22, 2014 13:33
Forum: General
Topic: Squares
Replies: 7503
Views: 451062

Re: Squares

Looks good.
Will it be a pure racing game or a mario karts like game?
Any plans to implement network players?
by badidea
Dec 20, 2014 15:29
Forum: General
Topic: permissions question - closed
Replies: 4
Views: 639

Re: permissions question

This is what I get when compiling as normal user or as root (via sudo): (on a Xubuntu 14.04 64-bit install) fbc -version FreeBASIC Compiler - Version 1.00.0 (09-14-2014), built for linux-x86 (32bit) Copyright (C) 2004-2014 The FreeBASIC development team. fbc test.bas -rw-rw-r-- 1 badidea badidea 51 ...
by badidea
Dec 01, 2014 21:18
Forum: Linux
Topic: (Offtopic) Videotutorial in easy way [SOLVED]
Replies: 2
Views: 941

Re: (Offtopic) Videotutorial in easy way

On linux I have used recordMyDesktop (http://sourceforge.net/projects/recordmydesktop/) For windows I once used CamStudio (http://sourceforge.net/projects/camstudio/). But , according to the reviews, the latest version is shipped with malware. Also, I am sure sure this one does audio as well. Update...
by badidea
Nov 28, 2014 0:20
Forum: Beginners
Topic: Strange error
Replies: 8
Views: 969

Re: Strange error

I get the same compile errors on my machine and also with the code in this post: viewtopic.php?f=7&t=22991&p=203020#p203020
by badidea
Nov 28, 2014 0:12
Forum: Tips and Tricks
Topic: isometric world experiment
Replies: 8
Views: 2123

Re: isometric world experiment

Weird, I get errors on the first two pieces of code: fbc -exx -w all "Untitled2.bas" (in directory: /home/badidea/Desktop) Compilation failed. Untitled2.asm: Assembler messages: Untitled2.asm:36: Error: `dword ptr [CX]' is not a valid base/index expression Untitled2.asm:87: Error: `dword p...
by badidea
Nov 24, 2014 23:24
Forum: Beginners
Topic: Missing gtk.bi
Replies: 10
Views: 1949

Re: Missing gtk.bi

Maybe the download page should advice people to download the 32-bit version, until the 64-bit version is more complete. I expect a lot of similar questions like this on the forum. If people run a 64-bit OS, they probably guess that they should download the 64-bit freebasic version as well. Which mig...
by badidea
Oct 24, 2014 12:08
Forum: Game Dev
Topic: Numbers pool / billiard
Replies: 2
Views: 1403

Re: Numbers pool / billiard

... very very teasingly slow stop

Yes, I can increase the friction. It is currently not a fast paced action game.
by badidea
Oct 21, 2014 23:20
Forum: Game Dev
Topic: Numbers pool / billiard
Replies: 2
Views: 1403

Numbers pool / billiard

Hello all, Inspired by the FBGD Numbers Competition (http://www.freebasic.net/forum/viewtopic.php?f=17&t=22580), I finally created the piece of code below. It is some kind of pool / billiard game with prime numbers involved. I like how it turned out, there is one problem however: There is no goa...
by badidea
Oct 10, 2014 8:56
Forum: Beginners
Topic: Variable in type can't iterate?
Replies: 5
Views: 1022

Re: Variable in type can't iterate?

Thanks, apparently I am not the first to run into this.

I had hoped I could be lazy by declaring i once and use it in all member functions. But if it is inefficient, I will declare i locally in each function.
by badidea
Oct 09, 2014 22:20
Forum: Beginners
Topic: Variable in type can't iterate?
Replies: 5
Views: 1022

Variable in type can't iterate?

This code results in: Untitled.bas(8) error 41: Variable not declared, i in 'for i = 0 to 9' It that as expected and why if so? type test_type dim as integer i declare sub func end type sub test_type.func() i = 10 for i = 0 to 9 print i next end sub Compiler version: FreeBASIC Compiler - Version 0.9...
by badidea
Oct 08, 2014 9:49
Forum: Community Discussion
Topic: Article comparing FreeBASIC to cyBOSS
Replies: 24
Views: 4006

Re: Article comparing FreeBASIC to cyBOSS

I could be wrong but the cyBOSS thing looks more like some kind of scam to me than a serious product. No history of the website in the WayBackMachine, seems recently launched. And the 'President' of it is looking for sales people: http://www.meetup.com/Internet-Marketing-Underground/messages/boards/...
by badidea
Oct 06, 2014 10:22
Forum: Beginners
Topic: Storing variables in config file
Replies: 1
Views: 447

Re: Storing variables in config file

If you only need to store the values (without variable names in the file), see the example in:

http://www.freebasic.net/wiki/wikka.php?wakka=KeyPgInputPp

Go to advanced search