Esconde Esconde (Finished)
This is a political game made during the Brazilian elections of 2018, it was planned precisely by the speech of today's president Bolsonaro where he said he would "shoot" the favela rocinha.
[How to play]
Use the arrow keys to move
Shift to run
[Tips]
Try to hide or go to the yellow marker
Keep an eye on the Mini-map
-------------------------------------------------------------------------------------------------------
[NPC IA]
There are points spread all over the map of the game, npc selects one of them and walks to it, and all the time it checks if the player was seen
... if(SeingPlayer()){ transform.LookAt(targetRenderer.transform); GameController.instance.PlayerHasCath(); } ... public bool SeingPlayer (){ bool seing = false; if(targetRenderer.isVisible){ RaycastHit hit; if(Physics.Linecast(transform.position,targetRenderer.transform.position,out hit)){ if(hit.collider.tag == "Player"){ seing = true; } } } return seing; }
All scripts are available for download bellow
Status | Released |
Platforms | HTML5 |
Author | Vini_portifolio |
Made with | Unity |
Download
Download
Scripts.rar 9.3 kB