JazzJackrabbit Community Forums

JazzJackrabbit Community Forums (http://www.jazz2online.com/jcf/index.php)
-   Beyond Jazz Jackrabbit 2 (http://www.jazz2online.com/jcf/forumdisplay.php?f=8)
-   -   Visual Basic Side Scroller (http://www.jazz2online.com/jcf/showthread.php?t=11969)

Trazz Dec 14, 2004 05:16 PM

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?

Odin Dec 14, 2004 07:01 PM

MMF plz.

http://www.clickteam.com/

Monolith Dec 14, 2004 09:39 PM

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.

Torkell Dec 15, 2004 02:11 AM

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).

Trazz Dec 16, 2004 06:42 PM

Aww you guys I'm a real n00b at this. LOL How exactly do I do all of that?

Odin Dec 16, 2004 06:48 PM

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 Dec 16, 2004 06:59 PM

Does it do it in VB code?

Monolith Dec 16, 2004 11:15 PM

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

Slaz Dec 25, 2004 01:16 PM

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. ;-)


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

Powered by vBulletin® Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
JCF © 2001-Infinity Jazz2Online