Looping video question...

This forum is meant for requesting technical support or reporting bugs.

Moderators: time-killer-games, Vengeance66, Candle, reneuend, GM-Support

Looping video question...

Postby ZeornWarlock » Tue Jun 24, 2008 11:54 pm

Hi guys,

Looping videos called by hotspots cannot go on forever in the free version of AM. Can we script such videos to go on forever in the full version?

Thanks.

ZW.
User avatar
ZeornWarlock
Expert Member
 
Posts: 347
Joined: Tue Jun 05, 2007 12:52 am
Location: In front of the monitor.

Postby Candle » Wed Jun 25, 2008 2:44 am

have a look at the controls here.

To stop the looping video number 1, use the following code:
LoopingVideo(1).Pause

To resume playback of the looping video number 1, use the following code:
LoopingVideo(1).Play


Hope that helps.
Please don't PM me questions, ask here in the forums!
``````````````
Between grand theft and a legal fee, there only stands a law degree.
User avatar
Candle
Administrator
 
Posts: 3055
Joined: Sat Feb 07, 2004 2:21 am
Location: Rudy's Bar

Postby ZeornWarlock » Thu Jun 26, 2008 7:14 pm

Thanks for the reply, Candle. A useful one at that, but it is not what I am looking for... exactly.

You see, we have two ways of using looping videos in the free version.

One is to add a video in the hotspot, which will play immediately, where we can check a box to see if it will loop and how long it loops etc.

The other way we can add one, is "if" the player clicks on the hotspot. This is the one, which I need to know if it is possible that once a player clicks on, the video loops forever. Without a script, the video will just play once.

Thanks.

ZW.
User avatar
ZeornWarlock
Expert Member
 
Posts: 347
Joined: Tue Jun 05, 2007 12:52 am
Location: In front of the monitor.

Postby Candle » Thu Jun 26, 2008 7:32 pm

it will keep playing as I just tried it . :)
Just check the box to loop and hide the video till the hot spot is clicked.
Please don't PM me questions, ask here in the forums!
``````````````
Between grand theft and a legal fee, there only stands a law degree.
User avatar
Candle
Administrator
 
Posts: 3055
Joined: Sat Feb 07, 2004 2:21 am
Location: Rudy's Bar

Postby ZeornWarlock » Thu Jun 26, 2008 7:34 pm

Candle wrote:it will keep playing as I just tried it . :)
Just check the box to loop and hide the video till the hot spot is clicked.


DUH @ me! :oops: :roll:

lol thanks again. :lol:

ZW.
Last edited by ZeornWarlock on Thu Jun 26, 2008 8:21 pm, edited 1 time in total.
User avatar
ZeornWarlock
Expert Member
 
Posts: 347
Joined: Tue Jun 05, 2007 12:52 am
Location: In front of the monitor.

Postby ZeornWarlock » Thu Jun 26, 2008 8:12 pm

Candle wrote:Just check the box to loop and hide the video till the hot spot is clicked.


Candle,

where exactly is that check box in the free version? Because I feel even more "DUH" at me right now! I just cannot find it! It is neither in the frame or hotspot properties.... :shock:

Thanks.

ZW.
User avatar
ZeornWarlock
Expert Member
 
Posts: 347
Joined: Tue Jun 05, 2007 12:52 am
Location: In front of the monitor.

Postby Candle » Thu Jun 26, 2008 8:26 pm

When you make the hotspot it will be right there.
Attachments
looping.jpg
looping.jpg (58.71 KiB) Viewed 3396 times
Please don't PM me questions, ask here in the forums!
``````````````
Between grand theft and a legal fee, there only stands a law degree.
User avatar
Candle
Administrator
 
Posts: 3055
Joined: Sat Feb 07, 2004 2:21 am
Location: Rudy's Bar

Postby ZeornWarlock » Thu Jun 26, 2008 8:57 pm

Candle,

By your picture, it looks like I was doing this right, however I want the video to appear "once" the player clicks on the hotspot. The problem I am having is that the video already plays before the Player clicks on the hotspot. (It even plays during settup in AM.)

ZW.
User avatar
ZeornWarlock
Expert Member
 
Posts: 347
Joined: Tue Jun 05, 2007 12:52 am
Location: In front of the monitor.

Postby Candle » Thu Jun 26, 2008 9:43 pm

Click on the variables tab and set it so you can't see it till the click.
Attachments
2008-06-26_154112.jpg
2008-06-26_154112.jpg (42.72 KiB) Viewed 3389 times
Please don't PM me questions, ask here in the forums!
``````````````
Between grand theft and a legal fee, there only stands a law degree.
User avatar
Candle
Administrator
 
Posts: 3055
Joined: Sat Feb 07, 2004 2:21 am
Location: Rudy's Bar

Postby ZeornWarlock » Sat Jun 28, 2008 9:49 pm

Okay thanks again, Candle. I will try that. By the way, is there a "do once" command in VB scripting?

ZW.
User avatar
ZeornWarlock
Expert Member
 
Posts: 347
Joined: Tue Jun 05, 2007 12:52 am
Location: In front of the monitor.

Postby cpkspikyhair » Sat Jun 28, 2008 9:54 pm

I am pretty sure you can have a variable add one when the video starts, then set the video to stop when the variable is > 1.
PSPPC GameMaker!! Where you can find PSP and PC games up for download!
User avatar
cpkspikyhair
Games Page Administrator
 
Posts: 425
Joined: Thu Jun 28, 2007 1:49 pm
Location: On Mars (Yes There Is Water :) )

Postby ZeornWarlock » Sat Jul 05, 2008 7:57 pm

cpkspikyhair wrote:I am pretty sure you can have a variable add one when the video starts, then set the video to stop when the variable is > 1.


Thanks for the info! :)

ZW.
User avatar
ZeornWarlock
Expert Member
 
Posts: 347
Joined: Tue Jun 05, 2007 12:52 am
Location: In front of the monitor.


Return to Adventure Maker Technical Support and Bug Reports

Who is online

Users browsing this forum: No registered users and 1 guest

cron