Skip to content

Commit

Permalink
level 01
Browse files Browse the repository at this point in the history
  • Loading branch information
KishoreKaushal committed Mar 13, 2021
1 parent a1fbe97 commit aefe129
Show file tree
Hide file tree
Showing 10 changed files with 162 additions and 4 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,4 @@ data_*/
# End of https://www.toptal.com/developers/gitignore/api/godot


release/
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -309,4 +309,9 @@ Then create a new level to test the teleport.

![teleport](./img/chapter15startanimationforportal.png "teleport")

Now all that left is to design level 1 of the game.

> Distraction free mode : Ctrl + Shift + F11
> Select complex tiles : Ctrl + B
At this point we are going to have another mini release.
2 changes: 1 addition & 1 deletion platformer/project.godot
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ _global_script_class_icons={
[application]

config/name="platformer"
run/main_scene="res://src/Levels/LevelTemplate.tscn"
run/main_scene="res://src/Levels/Level01.tscn"
config/icon="res://icon.png"

[input]
Expand Down
3 changes: 2 additions & 1 deletion platformer/src/Actors/Player.tscn
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ extents = Vector2( 29, 29 )
[node name="Player" type="KinematicBody2D"]
collision_mask = 8
script = ExtResource( 2 )
gravity = 4000.0
speed = Vector2( 900, 1600 )
gravity = 8000.0

[node name="player" type="Sprite" parent="."]
position = Vector2( -0.5, -31.5 )
Expand Down
152 changes: 152 additions & 0 deletions platformer/src/Levels/Level01.tscn

Large diffs are not rendered by default.

3 changes: 1 addition & 2 deletions platformer/src/Levels/LevelTemplate.tscn
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ tile_data = PoolIntArray( 0, 0, 0, 1, 0, 0, 42, 0, 0, 43, 0, 0, 65536, 0, 0, 655
[node name="Player" parent="." instance=ExtResource( 2 )]
position = Vector2( 249, 522 )
speed = Vector2( 900, 1600 )
gravity = 8000.0

[node name="Camera2D" parent="Player" index="2"]
limit_right = 3500
Expand All @@ -89,6 +88,6 @@ position = Vector2( 835, 507 )
position = Vector2( 919, 507 )

[node name="Portal2D" parent="." instance=ExtResource( 6 )]
position = Vector2( 541, 631 )
position = Vector2( 3267, 631 )

[editable path="Player"]
Binary file removed release/platformer-linux.pck
Binary file not shown.
Binary file removed release/platformer-linux.x86_64
Binary file not shown.
Binary file removed release/platformer-windows.exe
Binary file not shown.
Binary file removed release/platformer-windows.pck
Binary file not shown.

0 comments on commit aefe129

Please sign in to comment.