P.S
Dropbox link seems down
Dropbox link seems down
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
However, I will warn you that both options we're looking at say no children under 2 are allowed on site (for safety reasons). If you wanted, you could probably work out some way of doing it though. You visit us during the day, then go home to your family at night, or you stay with us and visit them every day or two. Whatever you feel comfortable with! Of course, if you didn't sleep at the house you wouldn't need to pay a full share of the costs.
function on_mouse_click(MouseButton button) {
// called when a mouse button is clicked. button is either LEFT or RIGHT
if (IsGamePaused() == 1) {
// Game is paused, so do nothing (ie. don't allow mouse click)
}
else if (button == eMouseLeft) {
if (cRicca.ActiveInventory!=null)
{
ProcessClickSpecial(mouse.x, mouse.y, eModeUseinv, eModeWalkto);
gInventory.Visible = false;
}
else ProcessClickSpecial(mouse.x, mouse.y, eModeInteract, eModeWalkto);
gInventory.Visible = false;
//Room.ProcessClick(mouse.x, mouse.y, mouse.Mode );
}
if(mouse.click(emouseleft) == true && cRicca.ActiveInventory != null)
{
gInventory.visible = false;
}
function bad_Inventory_use(String objcase)
{
switch(objcase)
{
case "cloud":
.... //do something
break;
case "sun":
...... //do something
break;
default:
..... //do something else
}
function oCloud_UseInv()
{
bad_Inventory_use("cloud");
}
function room_AfterFadeIn()
{
oSharkfin.TweenPosition(10.0,470, 347, eEaseLinearTween, eNoBlock);//sharkfin start moving to the left
cRicca.Walk(356, 584, eBlock); //My character walks in
Wait(300); //I put a wait that is still active when sharfin reaches X=470
Display("X = %d",oSharkfin.X);
}
function room_RepExec()
{
if (oSharkfin.X == 870)
{
oSharkfin.Graphic = 6;
oSharkfin.TweenPosition(10.0, 470, 347, eEaseLinearTween, eNoBlock); //Right(X=870) to left(X=470)
}
else if (oSharkfin.X == 470)
{
//oSharkfin.StopTweenPosition();
oSharkfin.Graphic = 82;
oSharkfin.TweenPosition(10.0, 870, 347, eEaseLinearTween, eNoBlock); //Left(X=470) to Right(X=870)
}
}
function room_Load()
{
...
......
oSharkfin.TweenPosition(10.0,470, 347, eEaseLinearTween, eNoBlock); //Right(X=870) to left(X=470) first time.
}
function room_RepExec()
{
if (oSharkfin.X == 869)
{
oSharkfin.Graphic = 6;
oSharkfin.TweenPosition(10.0, 470, 347, eEaseLinearTween, eNoBlock); //Right(X=870) to left(X=470)
}
else if (oSharkfin.X == 471)
{
//oSharkfin.StopTweenPosition();
oSharkfin.Graphic = 82;
oSharkfin.TweenPosition(10.0, 870, 347, eEaseLinearTween, eNoBlock); //Left(X=470) to Right(X=870)
}
}
function room_Load()
{
..
....
oSharkfin.TweenPosition(10.0,470, 347, eEaseLinearTween, eNoBlock);
}
function room_RepExec()
{
//right to left
if (oSharkfin.X == 840) {
oSharkfin.Graphic = 6;
oSharkfin.TweenPosition(10.0, 470, 347, eEaseLinearTween, eNoBlock);
}
//left to right
else if (oSharkfin.X == 470) {
oSharkfin.Graphic = 82;
oSharkfin.TweenPosition(10.0, 870, 347, eEaseLinearTween, eNoBlock);
}
}
function room_AfterFadeIn()
{
oSharkfin.TweenPosition(10.0,470, 347, eDirectionLeft, eOnce);
}
function room_RepExec()
{
if (oSharkfin.X == 830) {
oSharkfin.StopTweenPosition();
oSharkfin.Graphic = 6;
oSharkfin.TweenPosition(10.0, 470, 347, eDirectionRight, eOnce);
}
else if (oSharkfin.X == 470) {
oSharkfin.StopTweenPosition();
oSharkfin.Graphic = 82;
oSharkfin.TweenPosition(10.0, 870, 347, eDirectionLeft, eOnce);
}
}
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.035 seconds with 13 queries.