Forums

Forums (http://www.abandonia.com/vbullet/index.php)
-   Tech Corner (http://www.abandonia.com/vbullet/forumdisplay.php?f=23)
-   -   Vb6 (http://www.abandonia.com/vbullet/showthread.php?t=1771)

Omuletzu 17-12-2004 03:25 PM

Yea i also encountered this problem:
How do you make animations animate during a VB program???

Kon-Tiki 17-12-2004 03:30 PM

I got to the point of using the gdi library and bitblt function, but I still don't see how to use that one for animations.

Koen 17-12-2004 04:30 PM

I'm busy writing a rpg in VB6 using the DirectX 8 libraries. I'll post a link when I have it on my site.

.EDIT.

Download it here:

http://vbstuff.siteburg.com/index.php?acti...d&file=yrpg.zip

Koen 17-12-2004 05:08 PM

BTW making games with the DX8 SDK is much more faster than bitblt and stuff.

Kon-Tiki 17-12-2004 05:27 PM

Yeah, but everybody who uses it would need to have DX8 or higher :D

Koen 18-12-2004 11:35 AM

Quote:

Originally posted by Kon-Tiki@Dec 17 2004, 06:27 PM
Yeah, but everybody who uses it would need to have DX8 or higher :D
You can do it with DX7 too... But you'll have less effects then if you want to program 3D apps. (For DirectDraw, you can even use DX3, and that's on every windows computer...)

btw, DX9 is impossible in VB6. It's only possible in VB.NET

Kon-Tiki 18-12-2004 02:30 PM

Well, what I want to do, is animate a Tamagotchi. Not so much 3D in there, so got no need for 3D animation.

Koen 18-12-2004 05:09 PM

Quote:

Originally posted by Kon-Tiki@Dec 18 2004, 03:30 PM
Well, what I want to do, is animate a Tamagotchi. Not so much 3D in there, so got no need for 3D animation.
LOL :D

I once made a tamagotchi-like program in quick basic... :P

It's not too hard to make that using the DX7 SDK, if you have a bit of VB6 knowledge.

Kon-Tiki 18-12-2004 05:13 PM

Indeed. Only two problems I see: The animation and saving the critter to a file, so you don't have to start all over every time you close it (and which could allow more than one pet)

Koen 18-12-2004 10:45 PM

Quote:

Originally posted by Kon-Tiki@Dec 18 2004, 06:13 PM
Indeed. Only two problems I see: The animation and saving the critter to a file, so you don't have to start all over every time you close it (and which could allow more than one pet)
Well, you could put all animation graphics in one file, but you need some knowledge of binary writing for that. For my RPG, for example, I put all graphics of the player in one .CHR file. In-game, I let it unpack to a temporary directory (this all works very fast). It's like zipping/unzipping without compression...

Animation is not too hard. You let the program load all animation frames at the start in buffers, and animating the thing isn't that hard anymore after that.

I can make a little program of my RPG char walking on screen if you want using DX7. Maybe you can use it.


The current time is 10:23 AM (GMT)

Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.