CreatePlayer

CreatePlayer(integer x, integer y)

Create the Player Sprite at (x,y) coordinates.

 

//The main function
function Main()
{
	//Title of the Room
	SetTitle("Outside the house");
	
	//Creating Scene and menu
	CreateScreen("outsideleft","216,287,245,249,281,249,290,237,290,222,312,184,329,166,796,167,796,398,3,398,3,229,57,230,51,258,26,275,41,283,53,285,43,311,75,299,62,326,95,315,117,333,145,317,166,328,169,301,206,293");
	
	//Adding the player
	CreatePlayer(690,290);
	
	//-Windows
	Window1=CreateInvisibleObject("680,113,711,103,731,74,712,52,681,41,648,53,632,75,652,102");
	Window1.description="Window to my bedroom";
	Window1.DoorTo("bedroom",95,170);
	
}

Get the latest version here.


It works on: