Character on intro

Started by Edwin Xie, Mon 23/08/2004 04:10:43

Previous topic - Next topic

Edwin Xie

1. You know on the demo, there is the intro room and room 100 and both of them doesn't have the character. I tried to do the exact same on my game and the character does appear. I searched and searched those two rooms and I can't seem to find the answer.
CASE #1 CLOSED

2. Room 100 of the Demo is set to cursor six and when you right click it doesn't go to other cursor but when I tried the exact same on my game... well i think you guessed it, when I right click it does go to other cursors. Alright, I have to do it the hard way, using disablecursormode for all cursors by typing it over again unless someone describes a way to do it all easily.

Can anyone explain to me how to do it like the demo?
Moving at superhigh speed getting to the planet called Earth. But it is boxed in white......thing.....

Kinoko

I'm not sure what the demo does, but you can click the "Hide Player Character" checkbox in any room's 'Settings' panel to make sure the player won't appear.

Ashen

#2
You need to edit the 'on_mouse_click' function in the global script, specificly the bit that says:

Ã,  else {Ã,  Ã, // right-click, so cycle cursor
Ã,  Ã,  SetNextCursorMode();
Ã,  }

If you want it to have a diffent function in every room, just change SetNextCursorMode() to whatever you want it to be. If you just want to disable scrolling in a single room, replace it with the code from the demo game (changing 100 to your room number):

Ã,  Ã, else if (character[ GetPlayerCharacter() ].room != 100 )Ã,  { // If not in intro room right-click, so cycle cursor
Ã,  Ã,  Ã, SetNextCursorMode();
Ã,  }

Don't forget to set the cursor you want in the 'Player enters room' interaction.
I know what you're thinking ... Don't think that.

SMF spam blocked by CleanTalk