Skip to content
Snippets Groups Projects
Commit cc76ecc9 authored by PET Computação's avatar PET Computação
Browse files

Adicionada tela de ajuda e arrumada algumas gambiarras (Tô olhando pra vocẽ...

Adicionada tela de ajuda e arrumada algumas gambiarras (Tô olhando pra vocẽ mesmo bielzinhogit add *git add *
parent 97f92478
Branches
No related tags found
No related merge requests found
Showing
with 234 additions and 39 deletions
fileFormatVersion: 2
guid: 59a179682886f4d3cb7e0c655da0566a
folderAsset: yes
timeCreated: 1509969358
licenseType: Free
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:
......@@ -19,7 +19,7 @@
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>Temp\bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE;UNITY_5_3_OR_NEWER;UNITY_5_4_OR_NEWER;UNITY_5_5_OR_NEWER;UNITY_5_5_0;UNITY_5_5;UNITY_5;ENABLE_AUDIO;ENABLE_CACHING;ENABLE_CLOTH;ENABLE_GENERICS;ENABLE_MICROPHONE;ENABLE_MULTIPLE_DISPLAYS;ENABLE_PHYSICS;ENABLE_SPRITERENDERER_FLIPPING;ENABLE_SPRITES;ENABLE_TERRAIN;ENABLE_RAKNET;ENABLE_UNET;ENABLE_LZMA;ENABLE_UNITYEVENTS;ENABLE_WEBCAM;ENABLE_WWW;ENABLE_CLOUD_SERVICES_COLLAB;ENABLE_CLOUD_SERVICES_ADS;ENABLE_CLOUD_HUB;ENABLE_CLOUD_PROJECT_ID;ENABLE_CLOUD_SERVICES_UNET;ENABLE_CLOUD_SERVICES_BUILD;ENABLE_CLOUD_LICENSE;ENABLE_EDITOR_METRICS;ENABLE_EDITOR_METRICS_CACHING;INCLUDE_DYNAMIC_GI;INCLUDE_GI;PLATFORM_SUPPORTS_MONO;INCLUDE_PUBNUB;ENABLE_PLAYMODE_TESTS_RUNNER;ENABLE_SCRIPTING_NEW_CSHARP_COMPILER;UNITY_ANDROID;ENABLE_SUBSTANCE;UNITY_ANDROID_API;ENABLE_EGL;ENABLE_NETWORK;ENABLE_RUNTIME_GI;ENABLE_CRUNCH_TEXTURE_COMPRESSION;ENABLE_UNITYWEBREQUEST;ENABLE_CLOUD_SERVICES;ENABLE_CLOUD_SERVICES_ANALYTICS;ENABLE_CLOUD_SERVICES_PURCHASING;ENABLE_CLOUD_SERVICES_CRASH_REPORTING;PLATFORM_SUPPORTS_ADS_ID;UNITY_CAN_SHOW_SPLASH_SCREEN;ENABLE_VIDEO;ENABLE_VR;ENABLE_UNITYADS_RUNTIME;UNITY_UNITYADS_API;ENABLE_MONO;ENABLE_PROFILER;UNITY_ASSERTIONS;UNITY_EDITOR;UNITY_EDITOR_64;UNITY_EDITOR_LINUX;UNITY_TEAM_LICENSE</DefineConstants>
<DefineConstants>DEBUG;TRACE;UNITY_5_3_OR_NEWER;UNITY_5_4_OR_NEWER;UNITY_5_5_OR_NEWER;UNITY_5_5_0;UNITY_5_5;UNITY_5;UNITY_64;ENABLE_AUDIO;ENABLE_CACHING;ENABLE_CLOTH;ENABLE_DUCK_TYPING;ENABLE_GENERICS;ENABLE_MICROPHONE;ENABLE_MULTIPLE_DISPLAYS;ENABLE_PHYSICS;ENABLE_SPRITERENDERER_FLIPPING;ENABLE_SPRITES;ENABLE_TERRAIN;ENABLE_RAKNET;ENABLE_UNET;ENABLE_LZMA;ENABLE_UNITYEVENTS;ENABLE_WEBCAM;ENABLE_WWW;ENABLE_CLOUD_SERVICES_COLLAB;ENABLE_CLOUD_SERVICES_ADS;ENABLE_CLOUD_HUB;ENABLE_CLOUD_PROJECT_ID;ENABLE_CLOUD_SERVICES_UNET;ENABLE_CLOUD_SERVICES_BUILD;ENABLE_CLOUD_LICENSE;ENABLE_EDITOR_METRICS;ENABLE_EDITOR_METRICS_CACHING;INCLUDE_DYNAMIC_GI;INCLUDE_GI;PLATFORM_SUPPORTS_MONO;RENDER_SOFTWARE_CURSOR;INCLUDE_PUBNUB;ENABLE_PLAYMODE_TESTS_RUNNER;ENABLE_SCRIPTING_NEW_CSHARP_COMPILER;UNITY_STANDALONE_LINUX;UNITY_STANDALONE;UNITY_STANDALONE_LINUX_API;ENABLE_SUBSTANCE;ENABLE_RUNTIME_GI;ENABLE_MOVIES;ENABLE_NETWORK;ENABLE_CRUNCH_TEXTURE_COMPRESSION;ENABLE_UNITYWEBREQUEST;ENABLE_CLOUD_SERVICES;ENABLE_CLOUD_SERVICES_ANALYTICS;ENABLE_CLOUD_SERVICES_PURCHASING;ENABLE_CLOUD_SERVICES_CRASH_REPORTING;ENABLE_CLUSTERINPUT;ENABLE_VIDEO;ENABLE_WEBSOCKET_HOST;ENABLE_MONO;ENABLE_PROFILER;UNITY_ASSERTIONS;UNITY_EDITOR;UNITY_EDITOR_64;UNITY_EDITOR_LINUX;UNITY_TEAM_LICENSE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<NoWarn>0169</NoWarn>
......@@ -47,7 +47,8 @@
</ItemGroup>
<ItemGroup>
<Compile Include="Assets\Scripts\SairJogo.cs" />
<Compile Include="Assets\Scripts\ilhaTerror.cs" />
<Compile Include="Assets\Scripts\helpScript.cs" />
<Compile Include="Assets\Scripts\ilha.cs" />
<Compile Include="Assets\Scripts\levelManager.cs" />
<Compile Include="Assets\Scripts\moveBarco.cs" />
<Compile Include="Assets\Scripts\onda.cs" />
......
No preview for this file type
No preview for this file type
fileFormatVersion: 2
guid: b5b23e029ba3a475b95f190977b3517a
timeCreated: 1495806579
guid: bfb891716366f4e0cb31fc410bc75376
timeCreated: 1510148473
licenseType: Free
NativeFormatImporter:
userData:
......
MenuJapa/Assets/Images/Pai.png

221 KiB

fileFormatVersion: 2
guid: 3f9495cef7da44c308e03f2c27cd151c
timeCreated: 1509970414
licenseType: Free
TextureImporter:
fileIDToRecycleName: {}
serializedVersion: 4
mipmaps:
mipMapMode: 0
enableMipMap: 0
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
filterMode: -1
aniso: -1
mipBias: -1
wrapMode: 1
nPOTScale: 0
lightmap: 0
compressionQuality: 50
spriteMode: 1
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spritePixelsToUnits: 100
alphaUsage: 1
alphaIsTransparency: 1
spriteTessellationDetail: -1
textureType: 8
textureShape: 1
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
platformSettings:
- buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
spritePackingTag:
userData:
assetBundleName:
assetBundleVariant:
MenuJapa/Assets/Images/balao.png

9.81 KiB

fileFormatVersion: 2
guid: 49d71e57cd7a54044a5a38bec7c13c25
timeCreated: 1509970936
licenseType: Free
TextureImporter:
fileIDToRecycleName: {}
serializedVersion: 4
mipmaps:
mipMapMode: 0
enableMipMap: 0
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
filterMode: -1
aniso: -1
mipBias: -1
wrapMode: 1
nPOTScale: 0
lightmap: 0
compressionQuality: 50
spriteMode: 1
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spritePixelsToUnits: 100
alphaUsage: 1
alphaIsTransparency: 1
spriteTessellationDetail: -1
textureType: 8
textureShape: 1
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
platformSettings:
- buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
spritePackingTag:
userData:
assetBundleName:
assetBundleVariant:
No preview for this file type
File added
fileFormatVersion: 2
guid: e1e909ec1b0cf40ec9cb4bf1ed1b94ad
timeCreated: 1510148608
licenseType: Free
NativeFormatImporter:
userData:
assetBundleName:
assetBundleVariant:
File added
fileFormatVersion: 2
guid: ea8c18d9234bf49d9afc7fabfdd867ae
timeCreated: 1510142809
licenseType: Free
NativeFormatImporter:
userData:
assetBundleName:
assetBundleVariant:
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class helpScript : MonoBehaviour {
// Use this for initialization
void Start () {
if (PlayerPrefs.GetInt("Help") == 1)
{
gameObject.SetActive(false);
}
}
public void Continue ()
{
PlayerPrefs.SetInt("Help", 1);
gameObject.SetActive(false);
}
}
fileFormatVersion: 2
guid: 2e234e03c09b748bfb2bf6d6d5cd30e2
timeCreated: 1496673200
guid: bbd683fc25b414ff5b3f58f7f7f320fe
timeCreated: 1509976864
licenseType: Free
MonoImporter:
serializedVersion: 2
......
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class ilha : MonoBehaviour {
private GameObject barc;
private moveBarco scrBarco;
[SerializeField] private string sceneName;
public void OnClickIsland ()
{
Vector3 pos = transform.position;
barc = GameObject.Find("Barco");
scrBarco = barc.GetComponent<moveBarco>();
scrBarco.MoveTo(pos);
}
void OnCollisionEnter2D ()
{
SceneManager.LoadScene(sceneName);
}
}
fileFormatVersion: 2
guid: 361986133664449faa3437727dfb5d71
timeCreated: 1510156567
licenseType: Free
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ilhaTerror : MonoBehaviour {
void OnCollisionEnter2D (Collision2D col)
{
if(col.gameObject.tag == "Player"){
Debug.Log("socorro");
}
}
}
......@@ -9,41 +9,30 @@ public class moveBarco : MonoBehaviour {
private Vector3 target;
private Animator barco;
private bool moving;
private float x;
private float y;
public void Init (string pos)
public void MoveTo (Vector3 pos)
{
string[] aux = pos.Split(' ');
aux[0] = aux[0].Replace(",", ".");
aux[1] = aux[1].Replace(",", ".");
this.x = float.Parse(aux[0]);
this.y = float.Parse(aux[1]);
target = pos;
moving = true;
barco.SetBool("andando", true);
}
void Start () {
target = transform.position;
barco = GetComponent<Animator>();
//barco.SetBool("andando", true);
moving = false;
}
void Update () {
if ((!moving)) {
if (moving) {
// target = Camera.main.ScreenToWorldPoint(Input.mousePosition);
target.x = x;
target.y = y;
target.z = transform.position.z;
barco.SetBool("andando", true);
moving = true;
}
//barco.SetBool("andando", true);
transform.position = Vector3.MoveTowards(transform.position, target, speed * Time.deltaTime);
}
}
// void OnCollisionEnter2D (Collision2D col)
// {
// Debug.Log("socirr");
// }
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment