Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

2D All the way! / Intro Movie (How you doing them?)

Author
Message
Dexter
20
Years of Service
User Offline
Joined: 4th Nov 2005
Location: Ohio
Posted: 14th Nov 2005 16:03
Hey all...
I'm just wondering and im sure lots out there are also wondering what is the best way to make a intro in 2d...
Like d you use sprites? or make a .avi and import it...?
tell us how you would do it and give code snipps if you want...

Thanx

Who Dey Bengals
Zergei
21
Years of Service
User Offline
Joined: 9th Feb 2005
Location: Everywhere
Posted: 15th Nov 2005 14:22
It depends, if you want a intro to the story and most of the games stuff, you could do an avi, but if you want to introduce the game itself, doing it with sprites and through code is the way to.

I'd do it with sprites, because im no good at drawing, thougth i could do a 3d intro, however, i prefer showing the games graphics and concepts than just a simple 3d video, or something as such.
Dexter
20
Years of Service
User Offline
Joined: 4th Nov 2005
Location: Ohio
Posted: 15th Nov 2005 15:57
yea thats cool... I think im going the Sprite route... so also wondering in theese forums I have heard .GIF's work and dont work... do you know if they do work and wuts the code snip for that?
Quote: "
Ex: LOAD GIF "woo.gif",1 ???
"


Who Dey Bengals
Tapewormz
23
Years of Service
User Offline
Joined: 15th Sep 2002
Location: Winnipeg, Mantoba, Canada
Posted: 17th Nov 2005 05:48 Edited at: 17th Nov 2005 05:48
Write a scripting language for your intro's. Like the SCUMM (tm) system. Used in Monkey Island. *oh no...the monkey island music is in my head now*

I think I see Lemonhead!

Zergei
21
Years of Service
User Offline
Joined: 9th Feb 2005
Location: Everywhere
Posted: 17th Nov 2005 18:01
As far as i know, DbPro doesn't support .gif . It just load the first frame, and not the hole animation.
Dexter
20
Years of Service
User Offline
Joined: 4th Nov 2005
Location: Ohio
Posted: 17th Nov 2005 20:49
I run DB classic...

Who Dey Bengals
Zergei
21
Years of Service
User Offline
Joined: 9th Feb 2005
Location: Everywhere
Posted: 17th Nov 2005 20:54
Then it's less likely it can run .gif
Dexter
20
Years of Service
User Offline
Joined: 4th Nov 2005
Location: Ohio
Posted: 18th Nov 2005 15:21
hey... I been doing my intro to my game.. using only sprites and bitmaps...
but i have ran into a problem that can be easily fixed, but I cant find the right paremiter...
EX:


that makes the sprite move from "off left" of the screen to the middle... when the sprite hit 0 (the middle) then it goes to the next animation... yea I also have keys assigned to them because I dont know how to do it any other way... also the code line + Code Snippet
if sprite1 = 0 then gosub next
doesnt work right... I think its because X and Y are not assigned and I cant figure out how to.... so pretty much it just skips the first animation and goes to the next one "next"...

well post back... Thank you
Dex

Who Dey Bengals
Zergei
21
Years of Service
User Offline
Joined: 9th Feb 2005
Location: Everywhere
Posted: 18th Nov 2005 16:12
First off, refere to your coordinates with a variable, such as "x" and not a number "750" or whatever.... it is easier to work with it that way. Now "if sprite1 = 0 then gosub next" i don't know what will the program compare here, as you don't specify any coordinates or anything but the sprite itself. The command to check for the x position of a sprite is "sprite x(sprite number)", so your code would be ... "if sprite x(1) = 0 then gosub next"...

Still, that way you programed it, is a bit inefficient, and may/will cause you problems in a near future. I mean by this, the doble loop and the gosub. Gosub saves from where it came from, so when you use the command return, it goes back to where you called it. To avoid saving the destination from where it came, use the goto command, however, i can think why to use it in this situation....

Login to post a reply

Server time is: 2026-07-06 15:43:34
Your offset time is: 2026-07-06 15:43:34