Skip to content

Commit

Permalink
criado a player
Browse files Browse the repository at this point in the history
  • Loading branch information
icarodgl committed May 5, 2019
1 parent 33653c4 commit eee9057
Show file tree
Hide file tree
Showing 20 changed files with 483 additions and 0 deletions.
Binary file added assets/characters.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
34 changes: 34 additions & 0 deletions assets/characters.png.import
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
[remap]

importer="texture"
type="StreamTexture"
path="res://.import/characters.png-71e65985a77efe7b4b18913c785b67f9.stex"
metadata={
"vram_texture": false
}

[deps]

source_file="res://assets/characters.png"
dest_files=[ "res://.import/characters.png-71e65985a77efe7b4b18913c785b67f9.stex" ]

[params]

compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=false
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0
Binary file added assets/cobra.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
34 changes: 34 additions & 0 deletions assets/cobra.png.import
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
[remap]

importer="texture"
type="StreamTexture"
path="res://.import/cobra.png-fb51063b32efce2c71b8ed5ea2c51131.stex"
metadata={
"vram_texture": false
}

[deps]

source_file="res://assets/cobra.png"
dest_files=[ "res://.import/cobra.png-fb51063b32efce2c71b8ed5ea2c51131.stex" ]

[params]

compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=true
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0
Binary file added assets/mulekim.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
34 changes: 34 additions & 0 deletions assets/mulekim.png.import
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
[remap]

importer="texture"
type="StreamTexture"
path="res://.import/mulekim.png-84a1a766f5b2f02b56297f807cfe26be.stex"
metadata={
"vram_texture": false
}

[deps]

source_file="res://assets/mulekim.png"
dest_files=[ "res://.import/mulekim.png-84a1a766f5b2f02b56297f807cfe26be.stex" ]

[params]

compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=true
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0
Binary file added assets/peladim.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
34 changes: 34 additions & 0 deletions assets/peladim.png.import
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
[remap]

importer="texture"
type="StreamTexture"
path="res://.import/peladim.png-ddea62a94168aaf92595f0eb445369a8.stex"
metadata={
"vram_texture": false
}

[deps]

source_file="res://assets/peladim.png"
dest_files=[ "res://.import/peladim.png-ddea62a94168aaf92595f0eb445369a8.stex" ]

[params]

compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=false
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0
Binary file added assets/reizim.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
34 changes: 34 additions & 0 deletions assets/reizim.png.import
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
[remap]

importer="texture"
type="StreamTexture"
path="res://.import/reizim.png-d67c468eaa8a95d2a32fa95da4d4f320.stex"
metadata={
"vram_texture": false
}

[deps]

source_file="res://assets/reizim.png"
dest_files=[ "res://.import/reizim.png-d67c468eaa8a95d2a32fa95da4d4f320.stex" ]

[params]

compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=true
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0
Binary file added assets/sheet.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
34 changes: 34 additions & 0 deletions assets/sheet.png.import
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
[remap]

importer="texture"
type="StreamTexture"
path="res://.import/sheet.png-52111e7c2e2807483471611e5c60b505.stex"
metadata={
"vram_texture": false
}

[deps]

source_file="res://assets/sheet.png"
dest_files=[ "res://.import/sheet.png-52111e7c2e2807483471611e5c60b505.stex" ]

[params]

compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=true
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0
Binary file added assets/swoosh.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
34 changes: 34 additions & 0 deletions assets/swoosh.png.import
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
[remap]

importer="texture"
type="StreamTexture"
path="res://.import/swoosh.png-f9155c757ba7a905fb8736f4a5858a5d.stex"
metadata={
"vram_texture": false
}

[deps]

source_file="res://assets/swoosh.png"
dest_files=[ "res://.import/swoosh.png-f9155c757ba7a905fb8736f4a5858a5d.stex" ]

[params]

compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=true
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0
74 changes: 74 additions & 0 deletions cenas/game.tscn
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
[gd_scene load_steps=7 format=2]

[ext_resource path="res://script/player.gd" type="Script" id=1]
[ext_resource path="res://assets/peladim.png" type="Texture" id=2]

[sub_resource type="CapsuleShape2D" id=1]
radius = 6.09745
height = 10.7625

[sub_resource type="Animation" id=3]
resource_name = "anda"
length = 0.5
tracks/0/type = "value"
tracks/0/path = NodePath("peladim:frame")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0, 0.4 ),
"transitions": PoolRealArray( 1, 1 ),
"update": 0,
"values": [ 14, 17 ]
}

[sub_resource type="Animation" id=4]
resource_name = "edle"
length = 0.1
tracks/0/type = "value"
tracks/0/path = NodePath("peladim:frame")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0 ),
"transitions": PoolRealArray( 1 ),
"update": 1,
"values": [ 0 ]
}

[sub_resource type="RectangleShape2D" id=2]
extents = Vector2( 152.883, 10 )

[node name="game" type="Node"]

[node name="Node2D" type="Node2D" parent="."]

[node name="player" type="KinematicBody2D" parent="Node2D"]
position = Vector2( 77.7704, 17.5611 )
script = ExtResource( 1 )

[node name="peladim" type="Sprite" parent="Node2D/player"]
position = Vector2( -0.307297, 1.95441 )
texture = ExtResource( 2 )
hframes = 23
frame = 1

[node name="CollisionShape2D" type="CollisionShape2D" parent="Node2D/player"]
visible = false
position = Vector2( 0.17041, 0.413589 )
shape = SubResource( 1 )

[node name="AnimationPlayer" type="AnimationPlayer" parent="Node2D/player"]
anims/anda = SubResource( 3 )
anims/edle = SubResource( 4 )

[node name="chão" type="StaticBody2D" parent="."]
position = Vector2( 1.25436, 91.5684 )
scale = Vector2( 2.55446, 1.21876 )
constant_linear_velocity = Vector2( 0, 0.15 )

[node name="CollisionShape2D" type="CollisionShape2D" parent="chão"]
shape = SubResource( 2 )
7 changes: 7 additions & 0 deletions default_env.tres
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[gd_resource type="Environment" load_steps=2 format=2]

[sub_resource type="ProceduralSky" id=1]

[resource]
background_mode = 2
background_sky = SubResource( 1 )
Binary file added icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
34 changes: 34 additions & 0 deletions icon.png.import
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
[remap]

importer="texture"
type="StreamTexture"
path="res://.import/icon.png-487276ed1e3a0c39cad0279d744ee560.stex"
metadata={
"vram_texture": false
}

[deps]

source_file="res://icon.png"
dest_files=[ "res://.import/icon.png-487276ed1e3a0c39cad0279d744ee560.stex" ]

[params]

compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=true
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0
Loading

0 comments on commit eee9057

Please sign in to comment.