mirror of
https://github.com/ConjureETS/Labo_2_Equ_1_a15.git
synced 2026-03-24 01:50:58 +00:00
Add scene for each personne
This commit is contained in:
parent
4a2a0fd111
commit
a7c78fc497
BIN
Assets/Scenes/FrancisScene.unity
Normal file
BIN
Assets/Scenes/FrancisScene.unity
Normal file
Binary file not shown.
8
Assets/Scenes/FrancisScene.unity.meta
Normal file
8
Assets/Scenes/FrancisScene.unity.meta
Normal file
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 90c309e577b1f7f419f12dbfb91180bc
|
||||
timeCreated: 1446164968
|
||||
licenseType: Free
|
||||
DefaultImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
BIN
Assets/Scenes/JustineScene.unity
Normal file
BIN
Assets/Scenes/JustineScene.unity
Normal file
Binary file not shown.
8
Assets/Scenes/JustineScene.unity.meta
Normal file
8
Assets/Scenes/JustineScene.unity.meta
Normal file
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 304af85f492026f499d09ceb6768bd22
|
||||
timeCreated: 1446164889
|
||||
licenseType: Free
|
||||
DefaultImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
BIN
Assets/Scenes/XavierScene.unity
Normal file
BIN
Assets/Scenes/XavierScene.unity
Normal file
Binary file not shown.
8
Assets/Scenes/XavierScene.unity.meta
Normal file
8
Assets/Scenes/XavierScene.unity.meta
Normal file
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 219b5f44e107d8c41a11757f5984af41
|
||||
timeCreated: 1446164899
|
||||
licenseType: Free
|
||||
DefaultImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
26
Assets/Scripts/Control.cs
Normal file
26
Assets/Scripts/Control.cs
Normal file
@ -0,0 +1,26 @@
|
||||
using UnityEngine;
|
||||
using System.Collections;
|
||||
|
||||
public class Control : MonoBehaviour {
|
||||
|
||||
|
||||
public Transform thingsToMove;
|
||||
public int speed;
|
||||
|
||||
// Use this for initialization
|
||||
void Start () {
|
||||
|
||||
}
|
||||
|
||||
// Update is called once per frame
|
||||
void Update () {
|
||||
|
||||
float mouvement = Input.GetAxis ("Horizontal");
|
||||
|
||||
if ( mouvement!= 0)
|
||||
{
|
||||
thingsToMove.Translate(new Vector2(mouvement * speed, 0));
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
12
Assets/Scripts/Control.cs.meta
Normal file
12
Assets/Scripts/Control.cs.meta
Normal file
@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 8c463e473f2ea8549a26cd7912242a56
|
||||
timeCreated: 1446082266
|
||||
licenseType: Free
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
36
Assets/Scripts/Jump.cs
Normal file
36
Assets/Scripts/Jump.cs
Normal file
@ -0,0 +1,36 @@
|
||||
using UnityEngine;
|
||||
using System.Collections;
|
||||
|
||||
public class Jump : MonoBehaviour {
|
||||
|
||||
public int timeJump;
|
||||
|
||||
public Transform player;
|
||||
|
||||
private bool isJumping;
|
||||
// Use this for initialization
|
||||
void Start () {
|
||||
isJumping = false;
|
||||
timeJump = 0;
|
||||
}
|
||||
|
||||
// Update is called once per frame
|
||||
void Update () {
|
||||
|
||||
if (Input.GetButton("Fire1") && isJumping == false)
|
||||
{
|
||||
timeJump = 50;
|
||||
isJumping = true;
|
||||
}
|
||||
|
||||
if (timeJump > 0) {
|
||||
player.Translate(0, 0.5f, 0);
|
||||
timeJump--;
|
||||
}
|
||||
else
|
||||
{
|
||||
isJumping = false;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
12
Assets/Scripts/Jump.cs.meta
Normal file
12
Assets/Scripts/Jump.cs.meta
Normal file
@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: ec5d61680d41d12429fcab4402467d30
|
||||
timeCreated: 1446119170
|
||||
licenseType: Free
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
BIN
Assets/Sprites/backgroundMegaman.jpg
Normal file
BIN
Assets/Sprites/backgroundMegaman.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 247 KiB |
56
Assets/Sprites/backgroundMegaman.jpg.meta
Normal file
56
Assets/Sprites/backgroundMegaman.jpg.meta
Normal file
@ -0,0 +1,56 @@
|
||||
fileFormatVersion: 2
|
||||
guid: cb6fc5e1337ba524083196bbe9cd963c
|
||||
timeCreated: 1446083986
|
||||
licenseType: Free
|
||||
TextureImporter:
|
||||
fileIDToRecycleName: {}
|
||||
serializedVersion: 2
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 1
|
||||
linearTexture: 0
|
||||
correctGamma: 0
|
||||
fadeOut: 0
|
||||
borderMipMap: 0
|
||||
mipMapFadeDistanceStart: 1
|
||||
mipMapFadeDistanceEnd: 3
|
||||
bumpmap:
|
||||
convertToNormalMap: 0
|
||||
externalNormalMap: 0
|
||||
heightScale: .25
|
||||
normalMapFilter: 0
|
||||
isReadable: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 0
|
||||
cubemapConvolution: 0
|
||||
cubemapConvolutionSteps: 8
|
||||
cubemapConvolutionExponent: 1.5
|
||||
seamlessCubemap: 0
|
||||
textureFormat: -1
|
||||
maxTextureSize: 2048
|
||||
textureSettings:
|
||||
filterMode: -1
|
||||
aniso: -1
|
||||
mipBias: -1
|
||||
wrapMode: 1
|
||||
nPOTScale: 0
|
||||
lightmap: 0
|
||||
rGBM: 0
|
||||
compressionQuality: 50
|
||||
allowsAlphaSplitting: 0
|
||||
spriteMode: 1
|
||||
spriteExtrude: 1
|
||||
spriteMeshType: 1
|
||||
alignment: 0
|
||||
spritePivot: {x: .5, y: .5}
|
||||
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||
spritePixelsToUnits: 100
|
||||
alphaIsTransparency: 1
|
||||
textureType: 8
|
||||
buildTargetSettings: []
|
||||
spriteSheet:
|
||||
sprites: []
|
||||
spritePackingTag:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
BIN
Assets/Sprites/megaman.png
Normal file
BIN
Assets/Sprites/megaman.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 522 B |
56
Assets/Sprites/megaman.png.meta
Normal file
56
Assets/Sprites/megaman.png.meta
Normal file
@ -0,0 +1,56 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 43ad63f9802c12d41a11ecaada184904
|
||||
timeCreated: 1446083485
|
||||
licenseType: Free
|
||||
TextureImporter:
|
||||
fileIDToRecycleName: {}
|
||||
serializedVersion: 2
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 1
|
||||
linearTexture: 0
|
||||
correctGamma: 0
|
||||
fadeOut: 0
|
||||
borderMipMap: 0
|
||||
mipMapFadeDistanceStart: 1
|
||||
mipMapFadeDistanceEnd: 3
|
||||
bumpmap:
|
||||
convertToNormalMap: 0
|
||||
externalNormalMap: 0
|
||||
heightScale: .25
|
||||
normalMapFilter: 0
|
||||
isReadable: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 0
|
||||
cubemapConvolution: 0
|
||||
cubemapConvolutionSteps: 8
|
||||
cubemapConvolutionExponent: 1.5
|
||||
seamlessCubemap: 0
|
||||
textureFormat: -1
|
||||
maxTextureSize: 2048
|
||||
textureSettings:
|
||||
filterMode: -1
|
||||
aniso: -1
|
||||
mipBias: -1
|
||||
wrapMode: 1
|
||||
nPOTScale: 0
|
||||
lightmap: 0
|
||||
rGBM: 0
|
||||
compressionQuality: 50
|
||||
allowsAlphaSplitting: 0
|
||||
spriteMode: 1
|
||||
spriteExtrude: 1
|
||||
spriteMeshType: 1
|
||||
alignment: 0
|
||||
spritePivot: {x: .5, y: .5}
|
||||
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||
spritePixelsToUnits: 100
|
||||
alphaIsTransparency: 1
|
||||
textureType: 8
|
||||
buildTargetSettings: []
|
||||
spriteSheet:
|
||||
sprites: []
|
||||
spritePackingTag:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
BIN
Assets/Sprites/mm1cuttiles.gif
Normal file
BIN
Assets/Sprites/mm1cuttiles.gif
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.2 KiB |
56
Assets/Sprites/mm1cuttiles.gif.meta
Normal file
56
Assets/Sprites/mm1cuttiles.gif.meta
Normal file
@ -0,0 +1,56 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 8f99e95040eb0224da6a48b1c6cbe457
|
||||
timeCreated: 1446084884
|
||||
licenseType: Free
|
||||
TextureImporter:
|
||||
fileIDToRecycleName: {}
|
||||
serializedVersion: 2
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 1
|
||||
linearTexture: 0
|
||||
correctGamma: 0
|
||||
fadeOut: 0
|
||||
borderMipMap: 0
|
||||
mipMapFadeDistanceStart: 1
|
||||
mipMapFadeDistanceEnd: 3
|
||||
bumpmap:
|
||||
convertToNormalMap: 0
|
||||
externalNormalMap: 0
|
||||
heightScale: .25
|
||||
normalMapFilter: 0
|
||||
isReadable: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 0
|
||||
cubemapConvolution: 0
|
||||
cubemapConvolutionSteps: 8
|
||||
cubemapConvolutionExponent: 1.5
|
||||
seamlessCubemap: 0
|
||||
textureFormat: -1
|
||||
maxTextureSize: 2048
|
||||
textureSettings:
|
||||
filterMode: -1
|
||||
aniso: -1
|
||||
mipBias: -1
|
||||
wrapMode: 1
|
||||
nPOTScale: 0
|
||||
lightmap: 0
|
||||
rGBM: 0
|
||||
compressionQuality: 50
|
||||
allowsAlphaSplitting: 0
|
||||
spriteMode: 1
|
||||
spriteExtrude: 1
|
||||
spriteMeshType: 1
|
||||
alignment: 0
|
||||
spritePivot: {x: .5, y: .5}
|
||||
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||
spritePixelsToUnits: 100
|
||||
alphaIsTransparency: 1
|
||||
textureType: 8
|
||||
buildTargetSettings: []
|
||||
spriteSheet:
|
||||
sprites: []
|
||||
spritePackingTag:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Loading…
x
Reference in New Issue
Block a user