Search found 216 matches

by DaveUnit
Jul 17, 2008 1:22
Forum: Tips and Tricks
Topic: FB OOP Tutorial
Replies: 16
Views: 5073

I made a matrices class once that is a great example of OOP. A more simple one to demonstrate operator overloading would be a Fraction class with overloaded operators for +,-,*,/, casts to strings, singles, and doubles, etc. I'll make that class if you would be interested in using it in another tuto...
by DaveUnit
Jul 17, 2008 0:24
Forum: Tips and Tricks
Topic: FB OOP Tutorial
Replies: 16
Views: 5073

Nice tutorial. Beginners can learn complex topics like OOP if there are tutorials such as these that explain everything in basic terms and relate to basic things they already know about.
by DaveUnit
Jul 15, 2008 1:38
Forum: Community Discussion
Topic: How BASIC is FreeBASIC?
Replies: 82
Views: 14684

Well Z!re, you are a troll and you attacked me and called me some kind of hypocrite, so I defended myself. not a pity play I'm afraid.
I'm sorry for feeding the troll, everyone. I'll stop now. Obviously trying to be reasonable with them has no effect.
by DaveUnit
Jul 15, 2008 1:32
Forum: Community Discussion
Topic: How BASIC is FreeBASIC?
Replies: 82
Views: 14684

well put, Imortis.
by DaveUnit
Jul 15, 2008 1:22
Forum: Community Discussion
Topic: How BASIC is FreeBASIC?
Replies: 82
Views: 14684

Remember that time I said I was also a beginner? I NEVER claimed to be an expert on anything or claimed to use perfect coding practices. I learn the more I code and my coding style improves as I do so. What I am saying is that some features people consider BASIC promote poor programming habits, like...
by DaveUnit
Jul 15, 2008 1:01
Forum: Community Discussion
Topic: How BASIC is FreeBASIC?
Replies: 82
Views: 14684

I think programming languages should be beginner friendly. I am a beginner. But that doesn't mean bad coding practices should be put in place just because it's easier to learn. People should be able to learn how to do stuff the modern, right way when they start. The complexity of a language can be m...
by DaveUnit
Jul 14, 2008 23:53
Forum: Community Discussion
Topic: How BASIC is FreeBASIC?
Replies: 82
Views: 14684

Z!re you're a troll. you never have anything decent to add to anything. just go away. please, thank you.
by DaveUnit
Jul 14, 2008 22:50
Forum: Community Discussion
Topic: How BASIC is FreeBASIC?
Replies: 82
Views: 14684

only CORE features need to have quirk syntax. Graphics commands and the like should not have that type of syntax. They should follow the regular function syntax and be in the FB namespace.
by DaveUnit
Jul 14, 2008 22:19
Forum: Community Discussion
Topic: How BASIC is FreeBASIC?
Replies: 82
Views: 14684

No, it's not the case. Graphics commands like screen, line, etc are all in the global namespace last time I checked. Some things are in the FB namespace like the keyboard code enumerations but that's not enough. If I wanted graphics in FB there should be an explicit #include "fbgfx.bi". There are al...
by DaveUnit
Jul 14, 2008 14:46
Forum: Community Discussion
Topic: How BASIC is FreeBASIC?
Replies: 82
Views: 14684

I like the whole including external libraries to draw a pixel thing. If I don't need graphics, I don't include that library, if I do, I include it. FB to me has a lot of unnecessary keywords and such. I know it's very BASIC to use the entire dictionary and make them keywords, but it would be better ...
by DaveUnit
Jul 07, 2008 23:28
Forum: Projects
Topic: G2: OpenGL 2D Library (Very Easy to Use!!)
Replies: 42
Views: 19510

I only draw part of the texture via the glTexCoord command. For example, this would draw a quad that is 100x100 and uses 1/4th of a texture to draw it. (Remember that the texture will be drawn from the bottom-left rather than top-right like in fbgfx) glBindTexture(GL_TEXTURE_2D, texture_index...
by DaveUnit
Jul 07, 2008 2:03
Forum: Projects
Topic: G2: OpenGL 2D Library (Very Easy to Use!!)
Replies: 42
Views: 19510

Yeah, OpenGL needs to have texture with power of 2 dimensions. There are extensions that can handle not power of 2 textures, but not all cards support this and is not recommended. Mine doesn't and will crawl if the texture isn't a power of 2. I've been able to successfully use OpenGL for 2D sprites ...
by DaveUnit
Jun 24, 2008 21:13
Forum: Community Discussion
Topic: Firefox 3 Day - Today!
Replies: 14
Views: 3558

well it's not like it'll be hard to switch back lachie. I think you'll like how firefox is a good broswer unlike ie. :P
by DaveUnit
Jun 21, 2008 15:26
Forum: Community Discussion
Topic: Firefox 3 Day - Today!
Replies: 14
Views: 3558

I've noticed that flash problem under windows but not under linux. Overall Firefox 3 is a very nice improvement on Firefox 2.
by DaveUnit
Jun 21, 2008 14:56
Forum: Community Discussion
Topic: Firefox 3 Day - Today!
Replies: 14
Views: 3558

Firefox has always had flash support...

Go to advanced search