|
-
Feb 13th, 2001, 11:46 AM
#1
Hi
Any ideas on a basic game for me to build for my Visual Programming Unit. I am a newbie!!! - Please help me think of a good and releively easy one.
Thanks
-
Feb 13th, 2001, 11:47 AM
#2
Retired VBF Adm1nistrator
You're a newbie with 184 posts ?
- jamie
Microsoft MVP : Visual Developer - Visual Basic [2004-2005]
-
Feb 13th, 2001, 11:49 AM
#3
PowerPoster
Why not?
1 "How can I..."
2 "Is there a way to..."
3 "What does..."
4 "And what about..."
...
*g
-
Feb 13th, 2001, 03:32 PM
#4
Frenzied Member
He might be a newbie to graphics...
You can try a shooting scroller (might flicker though)...
You could try a racing game but they're hard...
You could try something similar to mancala...
-
Feb 13th, 2001, 03:51 PM
#5
-
Feb 13th, 2001, 04:37 PM
#6
Good Ol' Platypus
RTS games are cool.. I'd like to see one be made in VB though. If you do an RTS, start with ONE unit and work your way up.
RPGs are cool, lots of people try to make them and they seem simple... use DDraw to get good effects.
All contents of the above post that aren't somebody elses are mine, not the property of some media corporation. 
(Just a heads-up)
-
Feb 13th, 2001, 04:47 PM
#7
what about a space invaders type game?
-
Feb 13th, 2001, 04:50 PM
#8
Frenzied Member
Most of those described will take far longer than you'd want to spend for an academic exercise, you need to make levels and scripting engines and all sorts. I'd recommend you stick to the old arcade game type things, like Space Invaders (as suggested) or Pong, or Tetris, or Snake, or something of that ilk. They won't suck so much of your life away 
Of course, if you have a few months of free time...
Harry.
"From one thing, know ten thousand things."
-
Feb 14th, 2001, 03:05 AM
#9
Retired VBF Adm1nistrator
HarryW,
you said there about snake.
I decided a while ago to make a snake game, and it took me a loooong time 
Could never get the shaggin thing to move properly.
But I finally finished it and then put in multiplayer.
So anyone up for 64 player snake 
- jamie
Microsoft MVP : Visual Developer - Visual Basic [2004-2005]
-
Feb 14th, 2001, 05:10 AM
#10
Frenzied Member
-
Feb 14th, 2001, 07:53 AM
#11
Member
Board gamez
I think "simple" board games like Othello, chess, Mines (...and tons of others) are an excellent way to get started.
Theese are often easy to get to work, but add details/graphics and they can become very complicated.
Tetris is one of my favourite projects, i made tetris versions long ago and I am still doing new ones of it.
Good luck!
Balder = Viking God
VB6/VC++ Enterprise Editions
-
Feb 14th, 2001, 08:10 AM
#12
Frenzied Member
-
Feb 15th, 2001, 12:55 PM
#13
Lively Member
I am also a newbie and am currently working on a single player Tic Tac Toe game. I could show you what I have done to help get you started, and maybe we could bounce some ideas off of each other!
-Justin
-
Feb 15th, 2001, 05:00 PM
#14
transcendental analytic
Afaik, aiming too high usually doesn't result in anything. I could work all my life time on a project and never get ready, even a tic tac toe game could be hard for a newbie. RTS and RPG's are out of sight even for advanced programmers.
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
-
Feb 15th, 2001, 05:22 PM
#15
Lively Member
2-player Tic-Tac-Toe should not be TOO difficult unless you are VERY new to programming. Again I am currently working on a single player and could help you.
-
Feb 15th, 2001, 05:33 PM
#16
Frenzied Member
plenderj - I made a snake game in C++ with DirectDraw a month or two ago. It's still technically a work in progress, I ought to finish the damn thing with a start screen and menu and stuff. As far as the actual game goes it's complete, but the frills aren't there yet.
The way I did it was using a limked list. All you have to do then is move the tail of the list to the new position of the head, and mark the new head. All the other bits of snake can stay where they are, you don't have to worry about moving them. It also allows you to stack up tail blocks on top of each other when your snake grows, and the snake will grow one block at a time. Hmm not sure if that makes much sense.
Of course, since I was using C++ I could allocate memory for the snake dynamically as it grew, which you can't do in VB. You can use a dynamic array though, and use a cursor implementation of a linked list.
Harry.
"From one thing, know ten thousand things."
-
Feb 16th, 2001, 02:51 AM
#17
Retired VBF Adm1nistrator
HarryW, I never thought of that.
Ive been using dynamic arrays of UDTs, remembering where each block is, and where each block has to go.
I never copped only 2 blocks move ...
Oh well, time to cut out half the code 
- jamie
Microsoft MVP : Visual Developer - Visual Basic [2004-2005]
-
Feb 16th, 2001, 09:03 AM
#18
Frenzied Member
I also had an idea for a snake game, you had a dynamic array with the x/y positions of each "square" of the snake. You then just replaced the last square's position with the new position, and redimmed the array to make it larger. THAT would be fast, don't you think?
-
Feb 16th, 2001, 09:07 AM
#19
Retired VBF Adm1nistrator
Well, what i did was as follows :
(i know it looks odd, but it works great !)
Code:
Private Sub MakeBoard(Optional full As Boolean)
Me.Hide
If full Then
j = 1
For j = 1 To 3600
'spot() = control array of shapes
Load Spot(j)
With Spot(j)
.BackColor = &H80000005
.BackStyle = 0
.Bordercolor = &H80000008
.BorderStyle = 0
.BorderWidth = 1
.DrawMode = 13
.FillColor = &H0&
.FillStyle = 0
.Height = 135
.Width = 135
.Left = 135 + (Int((j Mod 60) * .Width))
.Top = 135 + (Int((j / 60)) * .Height)
.Visible = True
.Shape = 0
End With
DoEvents
Next
End If
For X = 0 To 3599
If (X <= 59) Or (X >= 3539) Then
Spot(X).FillColor = Bordercolor
ElseIf ((X Mod 60) = 59) Or ((X Mod 60) = 0) Then
Spot(X).FillColor = Bordercolor
Else
Spot(X).FillColor = BGColor
End If
Next
End Sub
So then, every often, I just fill the shape with a certain color. Works very well ...
- jamie
Microsoft MVP : Visual Developer - Visual Basic [2004-2005]
-
Feb 16th, 2001, 09:12 AM
#20
Frenzied Member
Nice code 
But won't the squares flicker a bit?...
-
Feb 16th, 2001, 09:19 AM
#21
Retired VBF Adm1nistrator
Nope.
It runs perfectly.
Here's the exe :
http://www.everyman.ie/jamiep/snake.zip
Dont bother trying the multiplayer part - its not finished yet.
Im not releasing the src till im done 
- jamie
Microsoft MVP : Visual Developer - Visual Basic [2004-2005]
-
Feb 16th, 2001, 09:22 AM
#22
Retired VBF Adm1nistrator
Also,
That compiled fils is using the following 'dash' of GetTickCount() :
Code:
Private Const UpdateSpeed As Long = 60
Private Sub RunGameLoop()
Do While doloop
CurrentTick = GetTickCount()
DoEvents
If ((CurrentTick - LastTick) >= UpdateSpeed) Then
LastTick = GetTickCount()
So obviously it could be sped up, but on this P-III its a tad difficult to control
- jamie
Microsoft MVP : Visual Developer - Visual Basic [2004-2005]
-
Feb 16th, 2001, 10:22 AM
#23
Frenzied Member
Jotaf - that's pretty much what I meant
Harry.
"From one thing, know ten thousand things."
-
Feb 16th, 2001, 12:42 PM
#24
Frenzied Member
Oops, you're right - but when you see my version of Snake, know that I did it without knowing of your technique
-
Feb 16th, 2001, 03:40 PM
#25
Frenzied Member
Huh... HarryW... there's a problem with my code: when a new piece is added, it has some bugs... how did you do it?
-
Feb 16th, 2001, 05:59 PM
#26
Fanatic Member
Anybody interested in putting together a 194x or Galaga type game with DX??
{Insert random techno-babble here}
{Insert quote from some long gone mofo here}
-
Feb 17th, 2001, 07:56 AM
#27
-
Feb 17th, 2001, 01:22 PM
#28
Fanatic Member
Their both shooters, but these two are my favorites from childhood 
Galaga
1943
{Insert random techno-babble here}
{Insert quote from some long gone mofo here}
-
Feb 19th, 2001, 02:58 AM
#29
Retired VBF Adm1nistrator
Ive written a space based shooter-upper game.
It not an arcade type game.
Its more frontier elite.
The idea behind it was to make a multiplayer version of frontier elite.
This project is how I learned VB as a matter of fact.
But I'm still working on it.
Its very fast - and doesnt use any DX.
I'm thinking of posting the source code.
Whaddaya think ?
- jamie
Microsoft MVP : Visual Developer - Visual Basic [2004-2005]
-
Feb 19th, 2001, 04:39 PM
#30
Frenzied Member
Sure, post it - we'd really like to see it
-
Feb 20th, 2001, 03:13 AM
#31
Retired VBF Adm1nistrator
Perchance detect I a hint of sarcasm ?
- jamie
Microsoft MVP : Visual Developer - Visual Basic [2004-2005]
-
Feb 20th, 2001, 11:54 AM
#32
Frenzied Member
Sorry if I sounded sarcastic (and rude) - but what I meant was that there aren't that many good games in VB, so we'd like to see it.
-
Feb 20th, 2001, 11:57 AM
#33
Retired VBF Adm1nistrator
K.
Ill stick it up on the web tonight.
Its an odd feeling you get when you release your baby for so many years as public domain ...
- jamie
Microsoft MVP : Visual Developer - Visual Basic [2004-2005]
-
Feb 20th, 2001, 12:05 PM
#34
Frenzied Member
Hey, if you don't wanna post the code, don't do it!
I'd just like to see what you could do with VB, so you could post only the EXE
-
Feb 20th, 2001, 12:17 PM
#35
Retired VBF Adm1nistrator
Ah to hell with it.
In a few minutes time, the uploading of the 3 mb file called craft.zip will be finished to :
http://members.fortunecity.com/plenderj
It is the entire source code + history of craft.
By history, I mean the source of every version.
Hope you enjoy.
I enjoyed working on it.
This game is how I taught myself Visual Basic.
I didn't know a line of VB when I started.
Let me know what you think.
Obviously its far from finished, but with work and college 'n all, I don't have time to make games anymore 
Anyway, I'd like to continue working on it, if anyone else is interested ...
The url should be :
http://members.fortunecity.com/plenderj/craft.zip
and will be there in 2 minutes.
- jamie
Microsoft MVP : Visual Developer - Visual Basic [2004-2005]
-
Feb 20th, 2001, 12:21 PM
#36
Retired VBF Adm1nistrator
Fortunecity would appear to think its being smart ...
Goto this url
http://members.fortunecity.com/plenderj/
and click on the link 
- jamie
Microsoft MVP : Visual Developer - Visual Basic [2004-2005]
-
Feb 21st, 2001, 06:32 PM
#37
Frenzied Member
Sorry for going so much off-topic, but I'm not gonna start a new thread because of this. I just want to hear 2 or 3 opinions: do you think my signature is too long? If yes, which part should I cut out?
"Sorry for the inconvenience" (or whatever )
-
Feb 22nd, 2001, 04:46 AM
#38
Retired VBF Adm1nistrator
I'd just leave in the code piece ...
Microsoft MVP : Visual Developer - Visual Basic [2004-2005]
-
Feb 22nd, 2001, 03:10 PM
#39
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|