Search found 72 matches

by DaveUnit
Mon Feb 11, 2008 5:19 pm
Forum: Pete's QB Site News
Topic: QB Express #26
Replies: 12
Views: 78203

nice issue, Pete. It's been awhile. Had a few things in it that I had missed through my own searchings.
by DaveUnit
Mon Feb 11, 2008 6:42 am
Forum: QBASIC and QB64 Questions & Answers
Topic: Haven't used qb in awhile, quick question
Replies: 28
Views: 46091

@burger: My question needed no code and needed no more explanation that I gave. really. Keep flaming if you want, I won't reply anymore.

The FB community is much more helpful and FB is just a hell of a lot better than your archaic language.
by DaveUnit
Sun Feb 10, 2008 7:23 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Haven't used qb in awhile, quick question
Replies: 28
Views: 46091

Wow the QB community has been reduced to a bunch of d1cks. I asked a simple, easy to understand question. I simply forgot if qb could handle returning user defined types from functions(UDT is a very common acronym, btw). Nodtveidt was the ONLY one to help me. The rest of you just flame me and say my...
by DaveUnit
Sun Feb 10, 2008 8:43 am
Forum: QBASIC and QB64 Questions & Answers
Topic: Haven't used qb in awhile, quick question
Replies: 28
Views: 46091

Thanks Nodtveidt for understanding my simple question. I just haven't used QB 4.5 in a long time and I took a programming class in my high school and they still teach QB. I know more than my teacher does. :P What I wanted to do was having a function that would work like a constructor for the type. I...
by DaveUnit
Fri Feb 08, 2008 5:50 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Haven't used qb in awhile, quick question
Replies: 28
Views: 46091

Haven't used qb in awhile, quick question

It's been a long time since I've used QB.
I have been trying to get a function to return a UDT. Is it just me not remembering the proper syntax or can QB not do that?
thanks.
by DaveUnit
Wed Oct 10, 2007 8:17 pm
Forum: General Discussion
Topic: Influential QBasic Programs
Replies: 8
Views: 23782

http://qbasic.parkdalien.com/homes/qb/QBGamesDirectory/M/MysteriousSong.gif Mysterious Song by Darkdread. download: http://qbasic.parkdalien.com/homes/qb/QBGamesDirectory/M/MysteriousSong.zip To this day this game remains the one freeware rpg I've played all the way through. It wasn't too complex, ...
by DaveUnit
Tue May 30, 2006 4:19 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Trouble making a true equation
Replies: 5
Views: 12954

Hmmm... that's really interesting, Zim. Thanks for the advice! I realized my problem was with the division being rounded up so I ended up subtracting .4 from the result and it will always being a number rounded down. it has worked flawlessly and now I got my map displaying properly. My first FB scro...
by DaveUnit
Sat May 27, 2006 7:15 am
Forum: QBASIC and QB64 Questions & Answers
Topic: Trouble making a true equation
Replies: 5
Views: 12954

I imagine that I confused the hell out of all of you. Sorry.
But I'm kinda glad no one replied because I figured it out on my own, and it was really easy too! I can't believe it took me so long to figure out. :oops:
by DaveUnit
Fri May 26, 2006 1:29 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: one more question
Replies: 6
Views: 12553

If you don't have something already to use the mouse in qb, and you don't wanna use a library, I suggest grabbing some code from one of Vic's game tutorials for the mouse. That's what I used when I was still using QB.
Or you can try freebasic with built in mouse support as was already mentioned.
by DaveUnit
Thu May 25, 2006 8:24 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: one more question
Replies: 6
Views: 12553

What you need to do is identify where on the screen is clickable
let's say (0,0)-(10,10) is clickable
then, you check to see if the left mouse button is clicked and if so where is it clicked and if it is in that clickable area...
it goes to a sub or something to do whatever you want it to.
by DaveUnit
Thu May 25, 2006 7:02 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Trouble making a true equation
Replies: 5
Views: 12954

EDIT: got rid of everything I posted earlier... I just thought of something... ya know those old qb double buffering tutorials? ya know to put the right pixel color on the right spot on the array you'd use the equation x+320*y? Well... for me the 320 would be whatever the image width was. It sucks t...
by DaveUnit
Thu May 25, 2006 4:49 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Trouble making a true equation
Replies: 5
Views: 12954

Trouble making a true equation

Sorry about the vague title... My program loads a map file and whatnot, let's say one of the points has a tile number of 9. I need to take that number, then, based on the number of tiles horizontal and the number of tiles vertical in the tileset, find the column and row that tile is in, then finally...
by DaveUnit
Thu Apr 20, 2006 4:31 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: 2D Graphics Library
Replies: 8
Views: 17595

Thanks Z!re, I think I'll just stick with YAGL.
I wish I had something to offer to help with YAGL because it'd be sad to see the project die.
by DaveUnit
Thu Apr 20, 2006 3:05 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: 2D Graphics Library
Replies: 8
Views: 17595

I dunno, AFLib2 seems a little... not good. It's definitely an old-school thing, seeing as how it is 8-bit. I don't think it's for me.

Right now I'm looking at either Allegro or YAGL I think.

What are your opinions of Allegro?
by DaveUnit
Thu Apr 20, 2006 10:35 am
Forum: QBASIC and QB64 Questions & Answers
Topic: 2D Graphics Library
Replies: 8
Views: 17595

2D Graphics Library

Hey, I'm gonna attempt to do a little project in Freebasic and all I would like to know is what is your preference for a 2D graphics library? Until recently I've been learning how to use YAGL, then I took a break from 2D and did some 3D with OpenGL, got frustrated, and am now back to 2D. There are j...
by DaveUnit
Thu Apr 06, 2006 2:05 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: MMORPG in QBASIC?
Replies: 15
Views: 50380

Yeah, and the person that's making it is none other than Z!re that posted earlier.

Good work btw, Z!re. It's looking good.
by DaveUnit
Sat Mar 25, 2006 6:05 pm
Forum: General Discussion
Topic: Map Makers?
Replies: 7
Views: 21404

Mappy is the only one I really know of.
http://www.geocities.com/siliconvalley/ ... robmpy.htm
by DaveUnit
Wed Mar 15, 2006 2:52 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Making a Centering function for True Type Fonts
Replies: 16
Views: 26843

Could it be because Width is an FB command? I thought about that but since yaglwrapper.bi had that paramater called width also I thought it must work still. It must be because of that 'cuz changing width to anything else works perfectly. Thanks for helping with another one of my stupid mistakes Z!re...
by DaveUnit
Tue Mar 14, 2006 9:25 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Making a Centering function for True Type Fonts
Replies: 16
Views: 26843

Me either, lemme look somewhere else..

Code: Select all

yaglgfxdevice_solidbox(.x,.y,.x+.length,.y+.height,.shade_color,.transparency)
That's the only place anything involving text dimensions comes up, do you see anything wrong there?
by DaveUnit
Tue Mar 14, 2006 7:35 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Making a Centering function for True Type Fonts
Replies: 16
Views: 26843

I feel a little like Dr. Frankenstein bringing this once dead topic back to life but I'm having one wee problem with yaggfxfont_gettextdimensions. In addition to centering text, I made an option where the text can have a background color rather than being transparent. The background color takes up t...