3D Rad - Free 3D game maker - Forum

This forum is now archived!

This forum is locked, and is a read-only version. A new community-ran forum can be found at classdev.net

News:

The 3DRad community can be found at classdev.net.

Pages: [1] 2

Author Topic: why 3d rad can't play video?  (Read 2725 times)

« on: December 10, 2012, 01:05:01 AM »
if you know please help me[font=][/font][color=][/color]
« Reply #1 on: December 10, 2012, 04:42:17 AM »
Use sprites that are animated there's a tutorial in the projects somewhere and a monster truck crashes using the animated sprites,
If you get that done somehow cause I'm not good with videos and stuff add a sound effect of the speech of the video and presto your done

Ask someone else about the video and getting the sprites from it
« Reply #2 on: December 10, 2012, 05:01:14 AM »
we have the same problem...
Using 3drad 7.22 on :
PC :                                    ASUS UL80VT:
Pentium III 600Mhz                Intel U7300
128MB SDRAM                       2GB DDR3 RAM
nVidia GeForce MX400 32MB    nVidia GeForce G210M
With 7 Fan inside.

And using a Honda Cub C-50 bike for transport
« Reply #3 on: December 10, 2012, 01:06:55 PM »
sure 3D RAD can play a video... why do you say it can't...

i'll explain this one, since it's not too obvious...

you'll need two things...

first...
write a text file and save it as a batch file in your 3DRAD folder... i saved mine as playMovie.bat...

(for those who do not know what a batch file is, it's a text file with a series of commands that you'd type out if you were in the command prompt)

the file will look like this...

Code: [Select]
"c:\program files\windows media player\wmplayer" "c:\users\mike hense\videos\0003.wmv"
second...
open up 3DRAD and add a script object to an empty project...
add this line of script...

Code: [Select]
void Main()
{
   if(iInitializing())iCommand("playMovie.bat");
}

run it and open up the popcorn...

if you want the movie to play fullscreen, modify your batch file to look like this...

Code: [Select]
"c:\program files\windows media player\wmplayer" /fullscreen "c:\users\mike hense\videos\0003.wmv"

you can pretty much do this for most external programs that can be run from the command prompt...


have fun...


--Mike
« Last Edit: December 10, 2012, 01:14:23 PM by Mike Hense »
« Reply #4 on: December 10, 2012, 02:11:31 PM »
Sweet!

http://www.youtube.com/watch?v=poJKgKjlHKM
Roblox username: COMMANDERREX12345345
« Reply #5 on: December 10, 2012, 02:46:25 PM »
how do you run it, and where abouts in the 3drad folder do you save the bat?

does it only work when compiled?
« Reply #6 on: December 10, 2012, 03:00:48 PM »
save it in the 3dRad ROOT folder. thats C:\3D Rad
and you run it by running the project. it works in compiled, and uncompiled.
i don't thik i have to tell you to change the directory to your video.

http://www.youtube.com/watch?v=poJKgKjlHKM
Roblox username: COMMANDERREX12345345
« Reply #7 on: December 10, 2012, 04:27:47 PM »
Oh i forgot about batches
« Reply #8 on: December 10, 2012, 11:56:59 PM »
oh thanks) and i've litlle question can 3d rad play video on compiled load Screen?
« Reply #9 on: December 11, 2012, 04:16:56 AM »
sure 3D RAD can play a video... why do you say it can't...

i'll explain this one, since it's not too obvious...

you'll need two things...

first...
write a text file and save it as a batch file in your 3DRAD folder... i saved mine as playMovie.bat...

(for those who do not know what a batch file is, it's a text file with a series of commands that you'd type out if you were in the command prompt)

the file will look like this...

Code: [Select]
"c:\program files\windows media player\wmplayer" "c:\users\mike hense\videos\0003.wmv"
second...
open up 3DRAD and add a script object to an empty project...
add this line of script...

Code: [Select]
void Main()
{
   if(iInitializing())iCommand("playMovie.bat");
}

run it and open up the popcorn...

if you want the movie to play fullscreen, modify your batch file to look like this...

Code: [Select]
"c:\program files\windows media player\wmplayer" /fullscreen "c:\users\mike hense\videos\0003.wmv"

you can pretty much do this for most external programs that can be run from the command prompt...


have fun...


--Mike
your method working only uncompiled project
« Reply #10 on: December 11, 2012, 05:58:06 AM »
no. you have to convert your video to 100 frames of pictures and then saved them
here take a look http://www.3drad.com/forum/index.php?topic=8202.

http://www.youtube.com/watch?v=poJKgKjlHKM
Roblox username: COMMANDERREX12345345
« Reply #11 on: December 11, 2012, 09:34:36 AM »
Exactly 100 frames is not required.
Rocket Rumble, a 3D Rad puzzle game:
http://www.3drad.com/forum/index.php?topic=9896.0
« Reply #12 on: December 11, 2012, 06:59:24 PM »
really?

http://www.youtube.com/watch?v=poJKgKjlHKM
Roblox username: COMMANDERREX12345345
« Reply #13 on: December 12, 2012, 10:28:57 AM »
Not sure if sarcastic or not...

What makes you think a 100 frames is required?
Rocket Rumble, a 3D Rad puzzle game:
http://www.3drad.com/forum/index.php?topic=9896.0
« Reply #14 on: December 12, 2012, 11:01:45 AM »
I think you can have any numbes off pictures up to 249 pictures.
Pages: [1] 2