Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prototype #6

Open
wants to merge 66 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
66 commits
Select commit Hold shift + click to select a range
05612a1
Initial commit
StoRRica Oct 11, 2015
10daa03
Moving snake + snake prefab
StoRRica Oct 11, 2015
7f92764
Snake now gets bigger by eating
StoRRica Oct 11, 2015
f99ec38
Small changes in behaviour
StoRRica Oct 11, 2015
d9685ca
messing with portals
StoRRica Oct 14, 2015
4a50234
Forgot the save file
StoRRica Oct 14, 2015
b08fc22
Added static portal
StoRRica Oct 14, 2015
baba90a
Portals direction
Nov 23, 2015
edf038a
Now going throug portalsgit add .
StoRRica Nov 23, 2015
ede9474
portal fully functional, head rotation
StoRRica Nov 23, 2015
b9cee8a
snake now eats his food
StoRRica Nov 25, 2015
3143b3e
Portal now change colors (proforma until both portals are whiite)
StoRRica Dec 14, 2015
23d6c87
removed some unused code
StoRRica Dec 16, 2015
318e101
new version ov movement(code)
StoRRica Jan 25, 2016
bd9fe58
food won't be genrated to the corners from now on
StoRRica Jan 26, 2016
914a20a
some code cleaning done
StoRRica Jan 27, 2016
ad3c414
start menu created
Feb 3, 2016
929db60
font changed
Feb 3, 2016
c188fea
menu items functional
Feb 3, 2016
231c695
portals removing after snake goes through them
StoRRica Feb 3, 2016
7db4772
Merge branch 'prototype' of https://github.com/StoRRica/Sn-c-ake into…
StoRRica Feb 3, 2016
8f0fae1
UI score added, pausing game enabled
Feb 4, 2016
e6f1772
UI componets added
Feb 4, 2016
44b755b
some bugs in UI fixed
Feb 4, 2016
ab3442f
menu and game are in the single scene
Feb 4, 2016
97f5fa7
menu scene removed
Feb 4, 2016
e01da9c
about scene created
Feb 4, 2016
173e1f4
snake with new graphics, animation of snake
StoRRica Feb 5, 2016
74a2f1f
resolved merge conflict, update on snake graphics
StoRRica Feb 5, 2016
281d8a8
removing useless imports
Feb 5, 2016
97af9c7
merged conflict in snake.cs, removing exit game method
Feb 5, 2016
51f48be
conflicts, conflicts, conflicts
StoRRica Feb 5, 2016
724eb96
menu controls upgraded
Feb 5, 2016
d6516bc
menu controls upgraded2
Feb 5, 2016
84ad8fd
removed bug with multiple foods on table at once
StoRRica Feb 5, 2016
cef7d7d
new closing of portals (hope) no more bugs
StoRRica Feb 5, 2016
29eea6c
game over now means not restarting a level
StoRRica Feb 5, 2016
bf00d61
zmena kamery
StoRRica Feb 5, 2016
a9095b3
snake collision with himself causes game over
StoRRica Feb 5, 2016
eab895d
alligment of texts
StoRRica Feb 5, 2016
a4a98dd
game over dialog added
Feb 5, 2016
e505eb8
catching up with michal jarolimek
StoRRica Feb 5, 2016
215c704
resolved conflicts with michal's version
StoRRica Feb 5, 2016
03c62ae
level button enabling/disabling
Feb 5, 2016
f1cd23f
music playing is quite ok, not the best, but ok
Feb 5, 2016
2c8e792
uprava grafiky na novsiu verziu, levely
StoRRica Feb 5, 2016
98037e1
Merge branch 'prototype' of https://github.com/StoRRica/Sn-c-ake into…
StoRRica Feb 5, 2016
8f6ebc9
forgot the save
StoRRica Feb 5, 2016
e8d2de5
music checkbox replaced by music volume slider
Feb 5, 2016
70d5d40
Merge branch 'prototype' of https://github.com/StoRRica/Sn-c-ake into…
Feb 5, 2016
12a01a9
eating food sound added
Feb 5, 2016
50c91c0
new graphics for portals
StoRRica Feb 5, 2016
301c475
Merge branch 'prototype' of https://github.com/StoRRica/Sn-c-ake into…
StoRRica Feb 5, 2016
14b35b3
sound volume controll added
Feb 5, 2016
7d2d4c2
Merge branch 'prototype' of https://github.com/StoRRica/Sn-c-ake into…
Feb 5, 2016
29ea2d5
game over screen added
Feb 5, 2016
f53fef7
new background
StoRRica Feb 5, 2016
cc4657a
music to menu and music to game added
Feb 5, 2016
28902ef
Merge branch 'prototype' of https://github.com/StoRRica/Sn-c-ake into…
Feb 5, 2016
c0e89c5
order layar in options set to 1
Feb 5, 2016
082abbb
how to play screen added
Feb 5, 2016
f90fa56
order layar controls changed
Feb 5, 2016
2b15065
added levels
StoRRica Feb 5, 2016
d13dd9e
Merge branch 'prototype' of https://github.com/StoRRica/Sn-c-ake into…
StoRRica Feb 5, 2016
3fb1963
resolved conflict
StoRRica Feb 5, 2016
d78fbe6
options sliders starting position fixed and quit dialog appearing fixed
Feb 26, 2016
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions Assets/Animation.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

73 changes: 73 additions & 0 deletions Assets/Animation/body.anim
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!74 &7400000
AnimationClip:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_Name: body
serializedVersion: 6
m_Legacy: 0
m_Compressed: 0
m_UseHighQualityCurve: 1
m_RotationCurves: []
m_CompressedRotationCurves: []
m_EulerCurves: []
m_PositionCurves: []
m_ScaleCurves: []
m_FloatCurves: []
m_PPtrCurves:
- curve:
- time: 0
value: {fileID: 21300000, guid: 7a657d060bb332a49ba8414af8c74414, type: 3}
- time: 0.083333336
value: {fileID: 21300002, guid: 7a657d060bb332a49ba8414af8c74414, type: 3}
- time: 0.16666667
value: {fileID: 21300004, guid: 7a657d060bb332a49ba8414af8c74414, type: 3}
attribute: m_Sprite
path:
classID: 212
script: {fileID: 0}
m_SampleRate: 12
m_WrapMode: 0
m_Bounds:
m_Center: {x: 0, y: 0, z: 0}
m_Extent: {x: 0, y: 0, z: 0}
m_ClipBindingConstant:
genericBindings:
- path: 0
attribute: 0
script: {fileID: 0}
classID: 212
customType: 23
isPPtrCurve: 1
pptrCurveMapping:
- {fileID: 21300000, guid: 7a657d060bb332a49ba8414af8c74414, type: 3}
- {fileID: 21300002, guid: 7a657d060bb332a49ba8414af8c74414, type: 3}
- {fileID: 21300004, guid: 7a657d060bb332a49ba8414af8c74414, type: 3}
m_AnimationClipSettings:
serializedVersion: 2
m_AdditiveReferencePoseClip: {fileID: 0}
m_AdditiveReferencePoseTime: 0
m_StartTime: 0
m_StopTime: 0.25
m_OrientationOffsetY: 0
m_Level: 0
m_CycleOffset: 0
m_HasAdditiveReferencePose: 0
m_LoopTime: 1
m_LoopBlend: 0
m_LoopBlendOrientation: 0
m_LoopBlendPositionY: 0
m_LoopBlendPositionXZ: 0
m_KeepOriginalOrientation: 0
m_KeepOriginalPositionY: 1
m_KeepOriginalPositionXZ: 0
m_HeightFromFeet: 0
m_Mirror: 0
m_EditorCurves: []
m_EulerEditorCurves: []
m_HasGenericRootTransform: 0
m_HasMotionFloatCurves: 0
m_GenerateMotionCurves: 0
m_Events: []
8 changes: 8 additions & 0 deletions Assets/Animation/body.anim.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

73 changes: 73 additions & 0 deletions Assets/Animation/head.anim
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!74 &7400000
AnimationClip:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_Name: head
serializedVersion: 6
m_Legacy: 0
m_Compressed: 0
m_UseHighQualityCurve: 1
m_RotationCurves: []
m_CompressedRotationCurves: []
m_EulerCurves: []
m_PositionCurves: []
m_ScaleCurves: []
m_FloatCurves: []
m_PPtrCurves:
- curve:
- time: 0
value: {fileID: 21300000, guid: 459841720cf24d544b480412a96497c0, type: 3}
- time: 0.083333336
value: {fileID: 21300002, guid: 459841720cf24d544b480412a96497c0, type: 3}
- time: 0.16666667
value: {fileID: 21300004, guid: 459841720cf24d544b480412a96497c0, type: 3}
attribute: m_Sprite
path:
classID: 212
script: {fileID: 0}
m_SampleRate: 12
m_WrapMode: 0
m_Bounds:
m_Center: {x: 0, y: 0, z: 0}
m_Extent: {x: 0, y: 0, z: 0}
m_ClipBindingConstant:
genericBindings:
- path: 0
attribute: 0
script: {fileID: 0}
classID: 212
customType: 23
isPPtrCurve: 1
pptrCurveMapping:
- {fileID: 21300000, guid: 459841720cf24d544b480412a96497c0, type: 3}
- {fileID: 21300002, guid: 459841720cf24d544b480412a96497c0, type: 3}
- {fileID: 21300004, guid: 459841720cf24d544b480412a96497c0, type: 3}
m_AnimationClipSettings:
serializedVersion: 2
m_AdditiveReferencePoseClip: {fileID: 0}
m_AdditiveReferencePoseTime: 0
m_StartTime: 0
m_StopTime: 0.25
m_OrientationOffsetY: 0
m_Level: 0
m_CycleOffset: 0
m_HasAdditiveReferencePose: 0
m_LoopTime: 1
m_LoopBlend: 0
m_LoopBlendOrientation: 0
m_LoopBlendPositionY: 0
m_LoopBlendPositionXZ: 0
m_KeepOriginalOrientation: 0
m_KeepOriginalPositionY: 1
m_KeepOriginalPositionXZ: 0
m_HeightFromFeet: 0
m_Mirror: 0
m_EditorCurves: []
m_EulerEditorCurves: []
m_HasGenericRootTransform: 0
m_HasMotionFloatCurves: 0
m_GenerateMotionCurves: 0
m_Events: []
8 changes: 8 additions & 0 deletions Assets/Animation/head.anim.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

76 changes: 76 additions & 0 deletions Assets/Animation/inPortal.anim
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!74 &7400000
AnimationClip:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_Name: inPortal
serializedVersion: 6
m_Legacy: 0
m_Compressed: 0
m_UseHighQualityCurve: 1
m_RotationCurves: []
m_CompressedRotationCurves: []
m_EulerCurves: []
m_PositionCurves: []
m_ScaleCurves: []
m_FloatCurves: []
m_PPtrCurves:
- curve:
- time: 0
value: {fileID: 21300000, guid: 3cd4f75a0fe3e884683b2df3975933f6, type: 3}
- time: 0.083333336
value: {fileID: 21300002, guid: 3cd4f75a0fe3e884683b2df3975933f6, type: 3}
- time: 0.16666667
value: {fileID: 21300004, guid: 3cd4f75a0fe3e884683b2df3975933f6, type: 3}
- time: 0.25
value: {fileID: 21300006, guid: 3cd4f75a0fe3e884683b2df3975933f6, type: 3}
attribute: m_Sprite
path:
classID: 212
script: {fileID: 0}
m_SampleRate: 12
m_WrapMode: 0
m_Bounds:
m_Center: {x: 0, y: 0, z: 0}
m_Extent: {x: 0, y: 0, z: 0}
m_ClipBindingConstant:
genericBindings:
- path: 0
attribute: 0
script: {fileID: 0}
classID: 212
customType: 23
isPPtrCurve: 1
pptrCurveMapping:
- {fileID: 21300000, guid: 3cd4f75a0fe3e884683b2df3975933f6, type: 3}
- {fileID: 21300002, guid: 3cd4f75a0fe3e884683b2df3975933f6, type: 3}
- {fileID: 21300004, guid: 3cd4f75a0fe3e884683b2df3975933f6, type: 3}
- {fileID: 21300006, guid: 3cd4f75a0fe3e884683b2df3975933f6, type: 3}
m_AnimationClipSettings:
serializedVersion: 2
m_AdditiveReferencePoseClip: {fileID: 0}
m_AdditiveReferencePoseTime: 0
m_StartTime: 0
m_StopTime: 0.33333334
m_OrientationOffsetY: 0
m_Level: 0
m_CycleOffset: 0
m_HasAdditiveReferencePose: 0
m_LoopTime: 1
m_LoopBlend: 0
m_LoopBlendOrientation: 0
m_LoopBlendPositionY: 0
m_LoopBlendPositionXZ: 0
m_KeepOriginalOrientation: 0
m_KeepOriginalPositionY: 1
m_KeepOriginalPositionXZ: 0
m_HeightFromFeet: 0
m_Mirror: 0
m_EditorCurves: []
m_EulerEditorCurves: []
m_HasGenericRootTransform: 0
m_HasMotionFloatCurves: 0
m_GenerateMotionCurves: 0
m_Events: []
8 changes: 8 additions & 0 deletions Assets/Animation/inPortal.anim.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

67 changes: 67 additions & 0 deletions Assets/Animation/newhad-chvost_0 (1).controller
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!91 &9100000
AnimatorController:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_Name: newhad-chvost_0 (1)
serializedVersion: 5
m_AnimatorParameters: []
m_AnimatorLayers:
- serializedVersion: 5
m_Name: New Layer
m_StateMachine: {fileID: 110775094}
m_Mask: {fileID: 0}
m_Motions: []
m_Behaviours: []
m_BlendingMode: 0
m_SyncedLayerIndex: -1
m_DefaultWeight: 0
m_IKPass: 0
m_SyncedLayerAffectsTiming: 0
m_Controller: {fileID: 9100000}
--- !u!1102 &110246442
AnimatorState:
serializedVersion: 5
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_Name: tail
m_Speed: 0.4
m_CycleOffset: 0
m_Transitions: []
m_StateMachineBehaviours: []
m_Position: {x: 50, y: 50, z: 0}
m_IKOnFeet: 0
m_WriteDefaultValues: 1
m_Mirror: 0
m_SpeedParameterActive: 0
m_MirrorParameterActive: 0
m_CycleOffsetParameterActive: 0
m_Motion: {fileID: 7400000, guid: 32236c37f0276f34e8028e701cefc6b6, type: 2}
m_Tag:
m_SpeedParameter:
m_MirrorParameter:
m_CycleOffsetParameter:
--- !u!1107 &110775094
AnimatorStateMachine:
serializedVersion: 5
m_ObjectHideFlags: 1
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_Name: New Layer
m_ChildStates:
- serializedVersion: 1
m_State: {fileID: 110246442}
m_Position: {x: 393, y: 15, z: 0}
m_ChildStateMachines: []
m_AnyStateTransitions: []
m_EntryTransitions: []
m_StateMachineTransitions: {}
m_StateMachineBehaviours: []
m_AnyStatePosition: {x: 50, y: 20, z: 0}
m_EntryPosition: {x: 264, y: 96, z: 0}
m_ExitPosition: {x: 800, y: 120, z: 0}
m_ParentStateMachinePosition: {x: 800, y: 20, z: 0}
m_DefaultState: {fileID: 110246442}
8 changes: 8 additions & 0 deletions Assets/Animation/newhad-chvost_0 (1).controller.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading