Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - Willdon

#21
Ah! I see...When I put it under Repeatedly_execute_always, it gives me an engine error which states:

"This command cannot be used within non-blocking events such as repeatedly_execute_always.

After the movie is  up, I want AGS to shift rooms so I can have another interactive screen.

Here is the effect I am trying to acheive:

http://www.youtube.com/watch?v=T3gPKvO6kwI&feature=related
#22
ok, So I am trying to make an FMV game, and this is the very beginnings of my script.

I have a SetTimer function, but it is not changing rooms after the timer is over. any suggestions? Thanks!

// room script file
Theora* video;
float rot = 0.0;

function repeatedly_execute_always() {
   if(video) {
     video.DrawEx(DsBackground, 160.0, 120.0, 2.0, 1.0, 4.0, RtScreen);
     if(System.HardwareAcceleration) video.DrawEx(DsScene, 260.0, 120.0, 0.25, 0.25, rot, RtScreen);
     video.NextFrame();
     rot += 0.2;
   }
}

function room_Load() {
 Display("Welcome to Joshua's Interactive movie test!");

}
function TVstand_AnyClick()
{
 
 SetTimer(1, 160);
 video = Theora.Open("josh.theora.ogg");
 video.loop = false;  
 SetGameSpeed(24); // you don't need to use the same fps as the video like this, but it's easiest this wa
 cjosh.Walk(213, 160, eBlock, eWalkableAreas);
 bool loop;        // enable/disable automatic looping
 

}


function room_AfterFadeIn()
{
 {
 PlaySound(1);
 PlayMusic(1);
 {
 if (IsTimerExpired(1)) {
 cjosh.ChangeRoom(2);}
 }
}
#23
I really did read the manual after I posted. sorry. I now modified my post to make a diff question regarding to the same plugin. thanks though!
#24
I'm trying to write the code so when I click on a hotspot, the video is overlaid full-screen. Any Ideas how to do this?
#25
I am trying to utilize the Theora plugin. However, I am wondering if there is a way to make it play only one time.
#26
Anybody know how to go about this? I'm rather lost. :P

Thanks again!
#27
My AGS is displaying an error like the following on line -10

room1.asc(-10): Runtime error: Function still open, missing }


7   function hTV_Look()
8   {
9   Display("Looks like an old tv here...");
10 }


I have a }. lol. Any ideas?
#28
Runtime Error: Unexpected Eof. Any idea what this means?

EOF = {} lol. I'll stop spamming these forums with easily answered NOOB questions. :P
#29
*Facepalm*

LOL. Thanks guys. It blew right by me. I'm a newbie in case you could not tell. :P
#30
Hey...Here is my script:

// room script file

function room_AfterFadeIn()
{
  cSammy.Say("Ugh! What a weird dream!");
}
function hHotspot1_Look()
{

}

function hTV_Look()
{
  //cSammy.Walk (88, 161, eBlock, eWalkableAreas);
  //cSammy.Say("Looks like an old T.V. Must be from like 2030 or so...");
  Display("Looks like an old TV here");
}

function hHotspot2_Look()
{
  cSammy.Walk (256, 169, eBlock, eWalkableAreas);
  cSammy.Say("the infamous Duke Nukem Forever was finally released after 43 years!");
}
function oObject0_Look()
{
  cSammy.Say("there is a cup sitting on the floor...");
}

function oObject0_Interact()
{
  cSammy.Walk(210, 158, eBlock, eWalkableAreas);
  cSammy.AddInventory(icup);
  icup.Visible = true;
}

and here is the resulting error

Failed to save room room1.crm; details below
room1.asc(33): Error (line 33): '.Visible' is not a public member of 'InventoryItem'. Are you sure you spelt it correctly (remember, capital letters are important)?
#31
maybe I should read before I post. I am new at this. :P

Thank you very much for your help. and good luck!!
#32
How would i actually implement my videos into AGS?
#33
OMG! FINALLY!  :o :o :o :D :) :o :o :o

Someone who loves FMV games!  i thought I was alone! haha. your project looks GREAT! Very promising! Something I would most def. pay money for.

A modern HD FMV game. Something I have been looking forward to for years, but to no avail...until now! lol

#34
Hello everybody! I am wondering if the game play style (Point, click, watch) in Phantasmagoria 2: A Puzzle of Flesh could be replicated within AGS. I hope to make an FMV game with my friends, but have been hindered due to the lack of programming knowledge. Basically, I want to replicate this style.

http://www.youtube.com/watch?v=BNFaB6Q6HDw&feature=related
SMF spam blocked by CleanTalk