A downloadable game

Buy Now$44.44 USD or more

CONTROLS:

ASDW: Move
Mouse Left: Shooting
Mouse Right: Aim
Tab: See highscores
Space: jump
Escape: get / unget mouse


in the main menu press f1 same time of the button create

OPEN PORT 20500 TO CREATE GAMES, OPEN DMZ OPTION AND NAT TRANSVERSAL



INTRUCTIONS:

Shoot the targets from the posts
shooting. Score points matching the
objectives.



OTHER ADVICES:


if(Input.GetKeyDown("f4")){GetComponent.<NetworkView>().RPC("ResetearJuegoB",RPCMode.All,1);}

if(Input.GetKeyDown("f1")){GetComponent.<NetworkView>().RPC("IniciarDesafio",RPCMode.All,1);}

if(Input.GetKeyDown("f2")){GetComponent.<NetworkView>().RPC("IniciarDesafio2",RPCMode.All,1);}

if(Input.GetKeyDown("f3")){GetComponent.<NetworkView>().RPC("ResetearJuegoA",RPCMode.All,1);

if(Input.GetKeyDown("f12")){

if(entrenamiento==1){GetComponent.<NetworkView>().RPC("ActivarEntrenamiento",RPCMode.All,0);}else{GetComponent.<NetworkView>().RPC("ActivarEntrenamiento",RPCMode.All,1);}

}




CONNECTION GUI:


private var ip = "90.94.198.210"; //90.94.196.138

private var puerto;

private var useNAT = true;

var fase=0;

var pulsar_boton=0;

static var username="";

function Start(){

GameObject.Find("USERNAME_").GetComponent(UI.InputField).text="username"+Random.Range(1,1000);

Screen.SetResolution (1280, 720,false);

   Cursor.visible = true;

   Screen.lockCursor = false;

}

function Update () {

username=GameObject.Find("USERNAME_").GetComponent(UI.InputField).text;

ip=GameObject.Find("IP_").GetComponent(UI.InputField).text;

puerto=GameObject.Find("PORT_").GetComponent(UI.InputField).text;

if(fase==0)

{

GameObject.Find("DEBUG").transform.localPosition.x=-3.2;

GameObject.Find("BOTONJOIN").transform.localPosition.x=-1.4;

GameObject.Find("IP_").transform.localPosition.x=-2.2;

GameObject.Find("BOTONDISCONNECT").transform.localPosition.x=-111111.17;

GameObject.Find("PORT_").transform.localPosition.x=-2.7; 

GameObject.Find("USERNAME_").transform.localPosition.x=-1.7;

GameObject.Find("BOTONCREATE").transform.localPosition.x=-1.2;

GameObject.Find("FONDO").transform.localPosition.x=0;

GameObject.Find("USERNAME_").GetComponent(UI.InputField).interactable=true;

GameObject.Find("BOTONCREATE").GetComponent(UI.Button).interactable=true;

GameObject.Find("BOTONJOIN").GetComponent(UI.Button).interactable=true;

GameObject.Find("EXIT").transform.localPosition.x=-3.199951;

if(fase==1)

{

GameObject.Find("Texto69").transform.localPosition.x=-22223.199951;

GameObject.Find("EXIT").transform.localPosition.x=-22223.199951;

GameObject.Find("FONDO").transform.localPosition.x=222220;

GameObject.Find("USERNAME_").GetComponent(UI.InputField).interactable=false;

GameObject.Find("BOTONCREATE").GetComponent(UI.Button).interactable=false;

GameObject.Find("BOTONJOIN").GetComponent(UI.Button).interactable=false;

GameObject.Find("USERNAME_").transform.localPosition.x=333349.9;

GameObject.Find("IP_").transform.localPosition.x=-1111111.17;

GameObject.Find("PORT_").transform.localPosition.x=-1111111.17;

GameObject.Find("DEBUG").transform.localPosition.x=-1111111.17;

GameObject.Find("BOTONJOIN").transform.localPosition.x=-1111111.17;

GameObject.Find("BOTONCREATE").transform.localPosition.x=-1111111.17;

GameObject.Find("BOTONDISCONNECT").transform.localPosition.x=-452.7;

GameObject.Find("BOTONDISCONNECT").transform.localPosition.y=-284.9999;

}

}

function OnConnectedToServer() {

// Notify our objects that the level and the network is ready

Debug.Log("Established connection.");

for (var go : GameObject in FindObjectsOfType(GameObject))

go.SendMessage("OnNetworkLoadedLevel", SendMessageOptions.DontRequireReceiver); 

}

function OnDisconnectedFromServer () {

if (this.enabled != false)

Application.LoadLevel(Application.loadedLevel);

else

{

var _NetworkLevelLoad : NetworkLevelLoad = FindObjectOfType(NetworkLevelLoad);

_NetworkLevelLoad.OnDisconnectedFromServer();

}

}

function JoinGame()

{

if(pulsar_boton==0)

{

Network.Connect(ip, parseInt(puerto)); 

pulsar_boton=1;

fase=1;

}

}

function Desconectar(){

if(fase==1)

{

pulsar_boton=0;

Network.Disconnect(200);

fase=0;

   Movimiento.stand1_balas=3;

   Movimiento.stand2_balas=3;

   Movimiento.stand3_balas=3;

   Movimiento.stand4_balas=3;

   Movimiento.stand5_balas=3;

   Movimiento.stand6_balas=3;

   Movimiento.stand7_balas=3;

}

function BotonBack(){

Application.LoadLevel("MENU");

}

function BotonCreate(){

var useNat = !Network.HavePublicAddress();

Network.InitializeServer(32, 20500, useNat);

for (var go : GameObject in FindObjectsOfType(GameObject))

{

go.SendMessage("OnNetworkLoadedLevel", SendMessageOptions.DontRequireReceiver); 

}

fase=1;

}

function DEBUG()

{

if(pulsar_boton==0)

{

Network.Connect("127.0.0.1", 20500); 

pulsar_boton=1;

fase=1;

}

}



Purchase

Buy Now$44.44 USD or more

In order to download this game you must purchase it at or above the minimum price of $44.44 USD. You will get access to the following files:

SR21.rar 41 MB

Leave a comment

Log in with itch.io to leave a comment.