Please login or register.

Login with username, password and session length
Advanced search  

News:

Latest WME version: WME 1.9.1 (January 1st, 2010) - download

Author Topic: Videos...  (Read 5006 times)

0 Members and 1 Guest are viewing this topic.

SP

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 10
    • View Profile
Videos...
« on: July 08, 2009, 11:30:39 PM »

Logged

Jose

  • Regular poster
  • ***
  • Karma: 2
  • Offline Offline
  • Posts: 134
    • View Profile
Re: Videos...
« Reply #1 on: July 09, 2009, 08:26:07 AM »

Logged

SP

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 10
    • View Profile
Re: Videos...
« Reply #2 on: July 09, 2009, 03:59:52 PM »

El video es .avi, te adjunto el codigo:


Code: [Select]
#include "scripts\base.inc"


////////////////////////////////////////////////////////////////////////////////
on "LookAt"
{
  GoToObject(551, 565);
var mirar;
 
mirar[0] = "Una l??mpara"; 
mirar[1] = "Est?? encendida";
var reply = Random(0,1);
actor.Talk(mirar[reply]);
}

////////////////////////////////////////////////////////////////////////////////
on "Take"
{
  GoToObject(551, 565);
Game.PlayVideo("scenes\Room\L??mparaencendida\L??mparavideo.sprite");
Sleep(650);
}


////////////////////////////////////////////////////////////////////////////////
on "Talk"
{
  actor.GoTo(551, 565);
  actor.TurnTo(DI_RIGHT);
var hablar;
 
hablar[0] = "?Por qui?n me has tomado?"; 
hablar[1] = "No quiero hablar con la l??mpara";
hablar[2] = "Ilum?name";
var reply = Random(0,2);
actor.Talk(hablar[reply]);
}

////////////////////////////////////////////////////////////////////////////////
on "LeftClick"
{
  GoToObject();
}


////////////////////////////////////////////////////////////////////////////////
function GoToObject()
{
  actor.GoTo(551, 565);
  actor.TurnTo(DI_UPRIGHT);
}
« Last Edit: July 11, 2009, 12:42:46 PM by SP »
Logged

Jose

  • Regular poster
  • ***
  • Karma: 2
  • Offline Offline
  • Posts: 134
    • View Profile
Re: Videos...
« Reply #3 on: July 10, 2009, 08:26:54 AM »

Logged

SP

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 10
    • View Profile
Re: Videos...
« Reply #4 on: July 12, 2009, 04:41:27 PM »

Lo he editado
Logged

HelLRaiseR

  • I don't want to make a Monkey Island clone :(
  • Moderator
  • Frequent poster
  • *****
  • Karma: 4
  • Offline Offline
  • Posts: 270
    • View Profile
    • Adventure Box Studios
Re: Videos...
« Reply #5 on: July 12, 2009, 06:59:38 PM »

Muy raro se ve esto:

Code: [Select]
Game.PlayVideo("scenes\Room\L??mparaencendida\L??mparavideo.sprite");
Logged
Regards,

    Fernando

HelLRaiseR

  • I don't want to make a Monkey Island clone :(
  • Moderator
  • Frequent poster
  • *****
  • Karma: 4
  • Offline Offline
  • Posts: 270
    • View Profile
    • Adventure Box Studios
Re: Videos...
« Reply #6 on: July 12, 2009, 07:31:47 PM »

Logged
Regards,

    Fernando

SP

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 10
    • View Profile
Re: Videos...
« Reply #7 on: July 14, 2009, 10:29:34 AM »

Logged

HelLRaiseR

  • I don't want to make a Monkey Island clone :(
  • Moderator
  • Frequent poster
  • *****
  • Karma: 4
  • Offline Offline
  • Posts: 270
    • View Profile
    • Adventure Box Studios
Re: Videos...
« Reply #8 on: July 14, 2009, 04:53:50 PM »

Logged
Regards,

    Fernando
 

Page created in 0.151 seconds with 23 queries.