Skip to content
Snippets Groups Projects
Commit d128e633 authored by Garam Mikael Toivo Olavi's avatar Garam Mikael Toivo Olavi
Browse files

tein lisää muutoksia pelikoodiin

parent dd0baea2
No related branches found
No related tags found
No related merge requests found
...@@ -67,7 +67,7 @@ public class platformerPeli : PhysicsGame ...@@ -67,7 +67,7 @@ public class platformerPeli : PhysicsGame
if ((nopeus.Y > 0 ) && (pelaaja.Top > Level.Top)) if ((nopeus.Y > 0 ) && (pelaaja.Top > Level.Top))
{ {
pelaaja.Velocity = Vector.Zero; pelaaja.Velocity = Vector.Zero;
return; // hey owo return;
} }
pelaaja.Velocity = nopeus; pelaaja.Velocity = nopeus;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment