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.

Newcomers DBPro Corner / "play animation" help for dbpro

Author
Message
BULLSHOCK 2
Retired Moderator
19
Years of Service
User Offline
Joined: 14th Jun 2005
Location: Shocking Bulls
Posted: 15th Jun 2005 09:37
ok, i need help with something.

i use the "play animation" command to play my cutscenes in my game, but they show up in this little window...is there a way to make them fullscreen like real game cutscenes no matter the resolution?

if there is, please help me, if there isnt, is there a way to fake it?

thanks in advance,

-BULLSHOCK

I am really BULLSHOCK, but my profile got deleted...really, i'm telling the truth!
Three Score
20
Years of Service
User Offline
Joined: 18th Jun 2004
Location: behind you
Posted: 15th Jun 2005 14:51
hmm thats a bit weird, i thought it only did that with play music if u tryed to load a video
it works fine with me

formerly shadows of emptiness
BULLSHOCK 2
Retired Moderator
19
Years of Service
User Offline
Joined: 14th Jun 2005
Location: Shocking Bulls
Posted: 16th Jun 2005 10:07
i know...it is weird...
and you know what i found out? if you lower the resolution, than the video is WAY to big and you can only see half of it.

see, here is the problem in more detail:

i have a video rendered at 1024x768...if that is your current relolution, the video is fine, you can see the whole thing...but if you put it lower than that, the video is bigger...so is there a way to resize it in the code?

I am really BULLSHOCK, but my profile got deleted...really, i'm telling the truth!
BULLSHOCK 2
Retired Moderator
19
Years of Service
User Offline
Joined: 14th Jun 2005
Location: Shocking Bulls
Posted: 17th Jun 2005 11:51
dont wanna spam, but i really need help, so i am bumping this thread...

I am really BULLSHOCK, but my profile got deleted...really, i'm telling the truth!
BULLSHOCK 2
Retired Moderator
19
Years of Service
User Offline
Joined: 14th Jun 2005
Location: Shocking Bulls
Posted: 23rd Jun 2005 11:17
bump once again.........

I am really BULLSHOCK, but my profile got deleted...really, i'm telling the truth!
BULLSHOCK 2
Retired Moderator
19
Years of Service
User Offline
Joined: 14th Jun 2005
Location: Shocking Bulls
Posted: 26th Jun 2005 05:21
sombody, anybody...please help me here...

the fate of my game rests in your hands...

I am really BULLSHOCK, but my profile got deleted...really, i'm telling the truth!
Grog Grueslayer
Valued Member
19
Years of Service
User Offline
Joined: 30th May 2005
Playing: Green Hell
Posted: 26th Jun 2005 12:39 Edited at: 26th Jun 2005 12:47
Now I haven't done it myself but according to the Darkbasic Pro help files (which you should of looked at first) if you use:

PLAY ANIMATION whatever,0,0,1024,768

Here is the entire help text:

PLAY ANIMATION
This command will play an animation on the screen or to the current Bitmap. By default, animations are played to the screen. You must provide an Animation Number of a previously loaded animation file. You can optionally provide either one or two sets of X and Y Coordinates to place and resize the animation anywhere on the screen.

SYNTAX
PLAY ANIMATION Animation Number
PLAY ANIMATION Animation Number,X,Y
PLAY ANIMATION Animation Number,X,Y,X,Y
PLAY ANIMATION Animation Number,Bitmap Number,X,Y,X,Y


Please try to find the answers to your questions in the help files first.
BULLSHOCK 2
Retired Moderator
19
Years of Service
User Offline
Joined: 14th Jun 2005
Location: Shocking Bulls
Posted: 26th Jun 2005 13:00
thanks for trying to help Grog Grueslayer, but thats not what i was asking.

i have looked at the help file numerous times on this...and its not there...

see, the problem with using that method, is that if someone has there resolution lower than 1024x768, then the video would be huge, and only a portion would be displayed on screen...i need a way to keep it full screen, no matter the resolution of the player...

I am really BULLSHOCK, but my profile got deleted...really, i'm telling the truth!
Grog Grueslayer
Valued Member
19
Years of Service
User Offline
Joined: 30th May 2005
Playing: Green Hell
Posted: 26th Jun 2005 13:13
Ah ok. Sorry about that. I'll do a few experiments and post again.
Grog Grueslayer
Valued Member
19
Years of Service
User Offline
Joined: 30th May 2005
Playing: Green Hell
Posted: 26th Jun 2005 13:55 Edited at: 26th Jun 2005 13:57
Ok I got it. It took me a while because I had to render an avi at 1024x768 (about 13mins). To get it to play at the current resolution of the computer use:

play animation 1,0,0,screen width(),screen height()

Of course you can always force the resolution using:

set display mode 1024,768,32
BULLSHOCK 2
Retired Moderator
19
Years of Service
User Offline
Joined: 14th Jun 2005
Location: Shocking Bulls
Posted: 26th Jun 2005 14:58
omg....thanks so much!!!!!

i didnt even think about forcing the resolution!


thanks so much...i dont think there is anyone in this forum that would sit there and render a video just to help something out!

i will try and then post again.
thanks agian!

I am really BULLSHOCK, but my profile got deleted...really, i'm telling the truth!
BULLSHOCK 2
Retired Moderator
19
Years of Service
User Offline
Joined: 14th Jun 2005
Location: Shocking Bulls
Posted: 26th Jun 2005 15:32
flawlessley fullscreen...

THANKS AGAIN!!!!!!!!!!!!!

I am really BULLSHOCK, but my profile got deleted...really, i'm telling the truth!
Grog Grueslayer
Valued Member
19
Years of Service
User Offline
Joined: 30th May 2005
Playing: Green Hell
Posted: 27th Jun 2005 07:37
np
BULLSHOCK 2
Retired Moderator
19
Years of Service
User Offline
Joined: 14th Jun 2005
Location: Shocking Bulls
Posted: 4th Jul 2005 15:43
hey umm...i just noticed something...animations tend to lagg in fullscreen mode...is there a way to prevent this?...my videos are avi...and i have avi codecs...so i dont know what the problem could be...

I am really BULLSHOCK, but my profile got deleted...really, i'm telling the truth!
BULLSHOCK 2
Retired Moderator
19
Years of Service
User Offline
Joined: 14th Jun 2005
Location: Shocking Bulls
Posted: 6th Jul 2005 11:20
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
read the above post!

I am really BULLSHOCK, but my profile got deleted...really, i'm telling the truth!
master programmer
19
Years of Service
User Offline
Joined: 30th May 2005
Location: 3D Space
Posted: 10th Jul 2005 07:46
Use this code (most computers non-Windows screen is 640x480

play animation 1,640,480,0,0





[href]www.rhettgames.tk[/href]

______________________________________
<<<<Check out my websites>>>>
www.rhettgames.tk www.marvel-us-media.tk
Grog Grueslayer
Valued Member
19
Years of Service
User Offline
Joined: 30th May 2005
Playing: Green Hell
Posted: 10th Jul 2005 13:00
What video card do you have BULLSHOCK 2?

Have you tried it out on different computers? It may be just your computer that has the lag. Can you upload the avi to here or somewhere on the internet and post a link to it so we can try it on our computers?
Three Score
20
Years of Service
User Offline
Joined: 18th Jun 2004
Location: behind you
Posted: 10th Jul 2005 14:14
maybe some code would help too

n00bs will be shot on spot...
i need some more ammo there are just too many of them better call in the moderators to help
BULLSHOCK 2
Retired Moderator
19
Years of Service
User Offline
Joined: 14th Jun 2005
Location: Shocking Bulls
Posted: 11th Jul 2005 16:14
ok...first off...i tried it in 640x480...and itt creates a little square in the middle of my screen...then plays the videos and they still lagg.

-i have a geforce fx4400

-i tried the the exe on 3 computers...

1)1024 ram. geforce fx 4400. 3.0 ghz processor
- major video lagg...sound plays fine

2)128 ram. no video card. 2.6 ghz processor
- a lot of lagg...but less then computer # 1

3)512 ram. geforce fx 4400. 2.6 ghz processor
- basically the same as computer # 2

videos are uncompressed and huge...they would take forever to upload (im on vacation on dial-up with my laptop)
could that actually be the problem? that the videos are like 200 megs?


ps...code wouldent help...im using basic play animation and play animation to image commands

thanks all you guys for trying to help!

I am really BULLSHOCK, but my profile got deleted...really, i'm telling the truth!
Grog Grueslayer
Valued Member
19
Years of Service
User Offline
Joined: 30th May 2005
Playing: Green Hell
Posted: 12th Jul 2005 03:43 Edited at: 12th Jul 2005 03:44
Woah... 200 megs! I can't wait to see it.

It could be. Maybe you could try to separate it into small parts and play the parts one at a time.

Login to post a reply

Server time is: 2024-09-23 23:27:11
Your offset time is: 2024-09-23 23:27:11