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 MenuQuote from: willdons babe on Thu 22/04/2010 19:14:48
well.. you're obviously doing something wrong..![]()
![]()
![]()
so.... have fun trying to figure it out! lol
Quote from: Xenogia on Wed 21/04/2010 22:12:03
Here you go:Code: ags int FMVX; // x co-ordinate of video int FMVY; // y co-ordinate of video int VideoCut; // tells AGS when the video needs to be played function repeatedly_execute_always() { if (VideoCut == 1) { // Play FMV if (video) { if (!video.ended) { video.Draw(DsOverlay, FMVX, FMVY, RtScreenPixels); video.NextFrame (); } else { VideoCut = 0; } } } function item_interact() { SetGameSpeed (24); Wait (10); VideoCut = 1; FMVX = 70; FMVY = 130; video = Theora.Open("assets/vid.ogv"); video.loop = false; while (VideoCut != 2) Wait (1); video = null; Wait (10); SetGameSpeed (40);
All this code is the room, nowhere else.
By continuing to use this site you agree to the use of cookies. Please visit this page to see exactly how we use these.
Page created in 0.043 seconds with 14 queries.