14
« on: April 18, 2011, 09:44:24 PM »
Well ok i will solve with 2d sprites, but ani solution with the lips of the character? Another thing i have an old code from the forum for the inventory, any one has a working inventory like old grim fandango? The simple thing of a scene with a hand selecting objects and to activate with i key and arrow to change objects ans space to select
another thing is i make this:
so the idea is when it came from other scene mode to a better x,y but doesn´t responce always go to the default point...
#include "scripts\base.inc"
// here comes the stuff which initializes the scene
// I want the actor to say something the first time the game is played
// And I want the actor appear in different places depending the place (Previous Scene) he came from.
switch(Game.PrevScene)
{
case "":
case "Front":
actor.SkipTo(519, 525);
actor.Direction = DI_UP;
break;
case "Back":
actor.SkipTo(488, 239);
actor.Direction = DI_UP;
break;
case "escalera":
actor.SkipTo(296, 548);
actor.TurnTo(DI_RIGHT);
break;
default:
actor.SkipTo(519, 525);
actor.Direction = DI_UP;
Game.Interactive = true;
break;
}
actor.Active = true;