Register FAQ Search Today's Posts Mark Forums Read
Go Back   JazzJackrabbit Community Forums » Open Forums » Beyond Jazz Jackrabbit 2

Visual Basic Side Scroller

Trazz

JCF Member

Joined: Dec 2001

Posts: 39

Trazz is doing well so far

Dec 14, 2004, 04:16 PM
Trazz is offline
Reply With Quote
Visual Basic Side Scroller

Hey, I'm trying to make a visual basic side scroller but I'm not really sure how to do it. I have my ideas, I judt dont know how to make them work. I have all of the animations I need. Can anyone help me out?
__________________
*COUGH* Goto my Web Site *COUGH* Downloads *COUGH*
Odin Odin's Avatar

Banned

Joined: Dec 2003

Posts: 3,776

Odin is doing well so far

Dec 14, 2004, 06:01 PM
Odin is offline
Reply With Quote
MMF plz.

http://www.clickteam.com/
Monolith

JCF Member

Joined: Mar 2001

Posts: 2,221

Monolith is doing well so far

Dec 14, 2004, 08:39 PM
Monolith is offline
Reply With Quote
Lets start with the graphics engine. You already have your art assets? Good. Now you need to be able to draw those graphics in your VB application. Unfortunately, this can be a lot tricker than it sounds. The basic Windows drawing functions don't work too well if you're trying to make something with fast moving graphics. If you are, you'll probably want to use DirectX. I really don't know about using DirectX in VB, but I'm sure you're able to.
__________________
<div style="float: right; width: 100px; height: 70px; margin: 5px 15px;"><img src="http://madskills.org/monolith/idleserver.gif" style="width: 98px; height: 65px;"><img src="http://madskills.org/monolith/theserver.gif" style="width: 98px; height: 65px; position: relative; top: -65px;"></div><div style="margin: 0 3em; font-size: 80%; font-style: italic;">Love is patient, love is kind. It does not envy, it does not boast, it is not proud. It is not rude, it is not self-seeking, it is not easily angered, it keeps no record of wrongs. Love does not delight in evil but rejoices with the truth. It always protects, always trusts, always hopes, always perseveres.</div><div style="text-align: right; text-size: 80%;">1 Corinthians 13:4-7</div>
Torkell Torkell's Avatar

Stealth Admin

Joined: Jul 2004

Posts: 2,153

Torkell is a forum legendTorkell is a forum legendTorkell is a forum legend

Dec 15, 2004, 01:11 AM
Torkell is offline
Reply With Quote
Quote:
Originally Posted by Monolith
Lets start with the graphics engine. You already have your art assets? Good. Now you need to be able to draw those graphics in your VB application. Unfortunately, this can be a lot tricker than it sounds. The basic Windows drawing functions don't work too well if you're trying to make something with fast moving graphics. If you are, you'll probably want to use DirectX. I really don't know about using DirectX in VB, but I'm sure you're able to.
DirectX 7 and 8 can be used in VB. If you're doing a side-scroller I'd recommend DirectX7 as I don't think 8 includes DirectDraw anymore. It's rather easy to code it, as you include the type library and it then appears as a whole bunch of objects to play with. All you do is give it somewhere to draw (a PictureBox or Form does nicely, but anything with a hWnd will do), and tell it what to draw. The SDK has plenty of examples of using DirectDraw (the Space Shooter project will be worth a look as it has a similar type of engine).
__________________
-- Torkell



Trazz

JCF Member

Joined: Dec 2001

Posts: 39

Trazz is doing well so far

Dec 16, 2004, 05:42 PM
Trazz is offline
Reply With Quote
Aww you guys I'm a real n00b at this. LOL How exactly do I do all of that?
__________________
*COUGH* Goto my Web Site *COUGH* Downloads *COUGH*
Odin Odin's Avatar

Banned

Joined: Dec 2003

Posts: 3,776

Odin is doing well so far

Dec 16, 2004, 05:48 PM
Odin is offline
Reply With Quote
Quote:
Originally Posted by Trazz
Aww you guys I'm a real n00b at this. LOL How exactly do I do all of that?

Quote:
Originally Posted by Odin
Trazz

JCF Member

Joined: Dec 2001

Posts: 39

Trazz is doing well so far

Dec 16, 2004, 05:59 PM
Trazz is offline
Reply With Quote
Does it do it in VB code?
__________________
*COUGH* Goto my Web Site *COUGH* Downloads *COUGH*
Monolith

JCF Member

Joined: Mar 2001

Posts: 2,221

Monolith is doing well so far

Dec 16, 2004, 10:15 PM
Monolith is offline
Reply With Quote
You can use MSDN for reference on DirectDraw7 and VB:
http://msdn.microsoft.com/archive/de...dover_7dx3.asp

You can also search the internet using keywords such as:
directdraw visual basic intruduction tutorial
__________________
<div style="float: right; width: 100px; height: 70px; margin: 5px 15px;"><img src="http://madskills.org/monolith/idleserver.gif" style="width: 98px; height: 65px;"><img src="http://madskills.org/monolith/theserver.gif" style="width: 98px; height: 65px; position: relative; top: -65px;"></div><div style="margin: 0 3em; font-size: 80%; font-style: italic;">Love is patient, love is kind. It does not envy, it does not boast, it is not proud. It is not rude, it is not self-seeking, it is not easily angered, it keeps no record of wrongs. Love does not delight in evil but rejoices with the truth. It always protects, always trusts, always hopes, always perseveres.</div><div style="text-align: right; text-size: 80%;">1 Corinthians 13:4-7</div>
Slaz Slaz's Avatar

JCF Member

Joined: Aug 2004

Posts: 1,315

Slaz is OFF DA CHARTSlaz is OFF DA CHARTSlaz is OFF DA CHART

Dec 25, 2004, 12:16 PM
Slaz is offline
Reply With Quote
http://www.gamemaker.nl

I should start with this program before you start with a real language, and anyway, GameMaker has a very nice language build into the program.
__________________
Add SlazRabbit on Xbox Live if you want to play some GoW1/2/3/J or Destiny1/2.
Jazz Jackrabbit 2 Forever!!
Civilian Defence Force - Jazz2 Visual Fantasers
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump

All times are GMT -8. The time now is 03:25 PM.