|
-
Sep 27th, 2001, 11:13 AM
#1
Thread Starter
Member
2D games... requirements
Hello there...
If I were to create a 2D side-scrolling game, what knowledge must i obtained?
a small question, but i hope i can get larger answers
Code:
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
>> ___ __ ____ ____ _ ____ <<
>> \ \ / / _ | | __| | | | __| <<
>> \ \ / / |_| | | |__ | | | |__ <<
>> \ \/ /| _ < |__ \ | | | __| <<
>> \ / | |_| | __) ) | |___ _ | |__ <<
>> \__/ |_____| |____/ |_____||_||____| <<
>> <<
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Visual Basic 5 SP3 Learning Edition.
Sub QuoteOfTheDay()
If ASCII.ugly = True Then
WhatTheHeck.ICare = True
End If
End Sub
-
Sep 27th, 2001, 11:16 AM
#2
BitBlt, would be the knowledge of choice. File I/O would be needed to save and load games. Programming in VB, of course. That is about it.
Z.
-
Sep 27th, 2001, 11:30 AM
#3
Thread Starter
Member
More
I do know BitBlt
I just want more detail information
for example, I/O using binary style?
and what API must i use to make a 2 D game beside BitBlt
Code:
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
>> ___ __ ____ ____ _ ____ <<
>> \ \ / / _ | | __| | | | __| <<
>> \ \ / / |_| | | |__ | | | |__ <<
>> \ \/ /| _ < |__ \ | | | __| <<
>> \ / | |_| | __) ) | |___ _ | |__ <<
>> \__/ |_____| |____/ |_____||_||____| <<
>> <<
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Visual Basic 5 SP3 Learning Edition.
Sub QuoteOfTheDay()
If ASCII.ugly = True Then
WhatTheHeck.ICare = True
End If
End Sub
-
Sep 27th, 2001, 12:16 PM
#4
Binary is best, but any kind of IO is fine for a simple game. You really dont need any other APIs, except, perhaps GetTickCount, for timing reasons.
Z.
-
Sep 27th, 2001, 08:52 PM
#5
Thread Starter
Member
So... using bitblt is the best?
but, its pretty choppy and slow when making a game
and besides, when I use bitblt, a lot of resources have been used
is there any other ways to actually speed up my game (of course i know there is DX as an alternative but that's to complicated)
How does the getTick thingie works ? i know how to use it as a timer and thats all. Is there any other use?
thank you
Code:
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
>> ___ __ ____ ____ _ ____ <<
>> \ \ / / _ | | __| | | | __| <<
>> \ \ / / |_| | | |__ | | | |__ <<
>> \ \/ /| _ < |__ \ | | | __| <<
>> \ / | |_| | __) ) | |___ _ | |__ <<
>> \__/ |_____| |____/ |_____||_||____| <<
>> <<
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Visual Basic 5 SP3 Learning Edition.
Sub QuoteOfTheDay()
If ASCII.ugly = True Then
WhatTheHeck.ICare = True
End If
End Sub
-
Sep 27th, 2001, 09:04 PM
#6
Thread Starter
Member
Oh yeah...
btw
if using bitblt to make a side-scroller,
what do i need?
Code:
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
>> ___ __ ____ ____ _ ____ <<
>> \ \ / / _ | | __| | | | __| <<
>> \ \ / / |_| | | |__ | | | |__ <<
>> \ \/ /| _ < |__ \ | | | __| <<
>> \ / | |_| | __) ) | |___ _ | |__ <<
>> \__/ |_____| |____/ |_____||_||____| <<
>> <<
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Visual Basic 5 SP3 Learning Edition.
Sub QuoteOfTheDay()
If ASCII.ugly = True Then
WhatTheHeck.ICare = True
End If
End Sub
-
Sep 28th, 2001, 03:37 AM
#7
PowerPoster
Hm visit my website (see signature), I got scrolling demos, BitBlt in general, Timing and much more..
-
Sep 28th, 2001, 04:08 AM
#8
Retired VBF Adm1nistrator
Or grab the Craft source code off my website... thats got BitBlt, GetTickCount and lots of other bits and pieces thrown in for good measure
Microsoft MVP : Visual Developer - Visual Basic [2004-2005]
-
Sep 28th, 2001, 04:20 AM
#9
Thread Starter
Member
I viewed Fox website b4
generally, the tutorials there are good.
but, my thirst was not quench fully yet
i want to know how to make a complete side scroller just like you stated on your site(mario sidescroller using dX)
any suggestions?
Code:
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
>> ___ __ ____ ____ _ ____ <<
>> \ \ / / _ | | __| | | | __| <<
>> \ \ / / |_| | | |__ | | | |__ <<
>> \ \/ /| _ < |__ \ | | | __| <<
>> \ / | |_| | __) ) | |___ _ | |__ <<
>> \__/ |_____| |____/ |_____||_||____| <<
>> <<
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Visual Basic 5 SP3 Learning Edition.
Sub QuoteOfTheDay()
If ASCII.ugly = True Then
WhatTheHeck.ICare = True
End If
End Sub
-
Sep 28th, 2001, 06:50 AM
#10
Thread Starter
Member
I tried running your program but all it does is change my resolution and display a grey background...
what's happening?
i'm using vb5, therefore, your project cannot be viewed
(btw, when are u finishing your tutorial? its very nice and i just finished it. I can't wait for the next one)
Code:
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
>> ___ __ ____ ____ _ ____ <<
>> \ \ / / _ | | __| | | | __| <<
>> \ \ / / |_| | | |__ | | | |__ <<
>> \ \/ /| _ < |__ \ | | | __| <<
>> \ / | |_| | __) ) | |___ _ | |__ <<
>> \__/ |_____| |____/ |_____||_||____| <<
>> <<
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Visual Basic 5 SP3 Learning Edition.
Sub QuoteOfTheDay()
If ASCII.ugly = True Then
WhatTheHeck.ICare = True
End If
End Sub
-
Sep 28th, 2001, 08:41 AM
#11
Addicted Member
Try looking around http://www.gamedev.net for some help.
To understand recursion, one must first understand the concept of recursion.
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
|