Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
platformerpeli
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
garammtu
platformerpeli
Commits
d128e633
Commit
d128e633
authored
5 months ago
by
Garam Mikael Toivo Olavi
Browse files
Options
Downloads
Patches
Plain Diff
tein lisää muutoksia pelikoodiin
parent
dd0baea2
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
pelikoodi/platformerPeli/platformerPeli/platformerPeli.cs
+1
-1
1 addition, 1 deletion
pelikoodi/platformerPeli/platformerPeli/platformerPeli.cs
with
1 addition
and
1 deletion
pelikoodi/platformerPeli/platformerPeli/platformerPeli.cs
+
1
−
1
View file @
d128e633
...
@@ -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
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment