game newbie
Moderators:Administrator, Global Moderator
im making a game in quickbasic and was just wondering what would not be a bad starting point (not too easy not too hard)
i was thinking something like connect 4 (1 and 2 player) or space invaders
any suggestions/ tips greatly appreciated
i was thinking something like connect 4 (1 and 2 player) or space invaders
any suggestions/ tips greatly appreciated
-
- QBasic God
- Posts:166
- Joined:Tue Mar 25, 2003 12:45 am
- Location:U.S.A.
- Contact:
-
- QBasic God
- Posts:166
- Joined:Tue Mar 25, 2003 12:45 am
- Location:U.S.A.
- Contact:
Try and make it with as many options(extra points for certain things, etc...) as you can. Make the graphics the best you can... basically, just try to make the best Pong game you've ever seen.
Come check out [url=http://www.freebasic.net/forum/index.php]FreeBASIC[/url]. The syntax is based on QuickBasic, but it expands to use pointers, operator overloading, etc... The list goes on and on!
-
- QBasic God
- Posts:166
- Joined:Tue Mar 25, 2003 12:45 am
- Location:U.S.A.
- Contact:
Space Invaders is a good idea too though. That's also one of the first games I made... as with most people I think. Here's a couple of tips though:
Try to use user defined data types, for instance:
Then you can use the data like this:
I don't know if you already know this stuff, but it's stuff that I didn't know when I first started.
Try to use user defined data types, for instance:
Code: Select all
TYPE EnemyStuff
X as INTEGER
Y as INTEGER
END TYPE
Dim Enemy(1 to 10) as EnemyStuff
Code: Select all
For E = 1 to UBOUND(Enemy)
Enemy(E).X = E*16
Enemy(E).Y = 100
Next
Come check out [url=http://www.freebasic.net/forum/index.php]FreeBASIC[/url]. The syntax is based on QuickBasic, but it expands to use pointers, operator overloading, etc... The list goes on and on!
I have actually decided to create a Connect 4 game called "Correlate Four" thanks to a lets just say creative friend lol
im starting on that and my biggest worry is how to keep track of connecting four especially in the diagonals
on another topic how does POINT command work?
i know its something like POINT (x,y) but that gives me an expected error
im starting on that and my biggest worry is how to keep track of connecting four especially in the diagonals
on another topic how does POINT command work?
i know its something like POINT (x,y) but that gives me an expected error
-
- QBasic God
- Posts:166
- Joined:Tue Mar 25, 2003 12:45 am
- Location:U.S.A.
- Contact:
You can read the color of a pixel with Point...
As for Storing the data, I'd use an 12x12 Matrix...
Then just do a For...Next loop to check if there are four in a row.
Code: Select all
PixelColor = Point(X,Y)
As for Storing the data, I'd use an 12x12 Matrix...
Code: Select all
Dim Board(1 to 12, 1 to 12) as BoardStuff
Come check out [url=http://www.freebasic.net/forum/index.php]FreeBASIC[/url]. The syntax is based on QuickBasic, but it expands to use pointers, operator overloading, etc... The list goes on and on!
point
Ya i used the variable=POINT(x,y) command to find the colour of a pixel (the center of the circle) and then acted accordingly whether it was blue or red. I however did not try putting it into an array to make things easier, as of now its just a bunch of ifs I will try that with a for next loop to check in the coming days when i am tweaking it...