Skip to content

Commit dcf2afa

Browse files
authored
Merge pull request #60 from endlessm/functional-pong
Basic functional pong game
2 parents c091632 + 0ca2701 commit dcf2afa

35 files changed

+1156
-1643
lines changed
File renamed without changes.

pong_game/ball.png.import renamed to addons/block_code/examples/pong_game/assets/ball.png.import

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@
33
importer="texture"
44
type="CompressedTexture2D"
55
uid="uid://bcgr5amsq3jfl"
6-
path="res://.godot/imported/ball.png-207b87d36613f4458c4a15d56cdcf75a.ctex"
6+
path="res://.godot/imported/ball.png-a3f7eabf64c84da008b32e0603bb9319.ctex"
77
metadata={
88
"vram_texture": false
99
}
1010

1111
[deps]
1212

13-
source_file="res://pong_game/ball.png"
14-
dest_files=["res://.godot/imported/ball.png-207b87d36613f4458c4a15d56cdcf75a.ctex"]
13+
source_file="res://addons/block_code/examples/pong_game/assets/ball.png"
14+
dest_files=["res://.godot/imported/ball.png-a3f7eabf64c84da008b32e0603bb9319.ctex"]
1515

1616
[params]
1717

File renamed without changes.

pong_game/line.png.import renamed to addons/block_code/examples/pong_game/assets/line.png.import

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@
33
importer="texture"
44
type="CompressedTexture2D"
55
uid="uid://dijemw7iilr2m"
6-
path="res://.godot/imported/line.png-452af046907249a8ef12695e48447ab1.ctex"
6+
path="res://.godot/imported/line.png-83090a08b4f906e6a39a1eefa8ad7e77.ctex"
77
metadata={
88
"vram_texture": false
99
}
1010

1111
[deps]
1212

13-
source_file="res://pong_game/line.png"
14-
dest_files=["res://.godot/imported/line.png-452af046907249a8ef12695e48447ab1.ctex"]
13+
source_file="res://addons/block_code/examples/pong_game/assets/line.png"
14+
dest_files=["res://.godot/imported/line.png-83090a08b4f906e6a39a1eefa8ad7e77.ctex"]
1515

1616
[params]
1717

File renamed without changes.

pong_game/paddle.png.import renamed to addons/block_code/examples/pong_game/assets/paddle.png.import

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@
33
importer="texture"
44
type="CompressedTexture2D"
55
uid="uid://tplpgtnfeda0"
6-
path="res://.godot/imported/paddle.png-2fbcaaf37bbbddd482a4ad5b20dde0a2.ctex"
6+
path="res://.godot/imported/paddle.png-811f90fd603b4b0034619e586f57a585.ctex"
77
metadata={
88
"vram_texture": false
99
}
1010

1111
[deps]
1212

13-
source_file="res://pong_game/paddle.png"
14-
dest_files=["res://.godot/imported/paddle.png-2fbcaaf37bbbddd482a4ad5b20dde0a2.ctex"]
13+
source_file="res://addons/block_code/examples/pong_game/assets/paddle.png"
14+
dest_files=["res://.godot/imported/paddle.png-811f90fd603b4b0034619e586f57a585.ctex"]
1515

1616
[params]
1717

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
[remap]
2+
3+
importer="oggvorbisstr"
4+
type="AudioStreamOggVorbis"
5+
uid="uid://jk0oapxjw354"
6+
path="res://.godot/imported/paddle_hit.ogg-531002e4adc01759f28245f9d90a420e.oggvorbisstr"
7+
8+
[deps]
9+
10+
source_file="res://addons/block_code/examples/pong_game/assets/paddle_hit.ogg"
11+
dest_files=["res://.godot/imported/paddle_hit.ogg-531002e4adc01759f28245f9d90a420e.oggvorbisstr"]
12+
13+
[params]
14+
15+
loop=false
16+
loop_offset=0
17+
bpm=0
18+
beat_count=0
19+
bar_beats=4
File renamed without changes.
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
[remap]
2+
3+
importer="oggvorbisstr"
4+
type="AudioStreamOggVorbis"
5+
uid="uid://kr166je3cyj7"
6+
path="res://.godot/imported/score.ogg-5e8aef66830e1343841647f944c8880d.oggvorbisstr"
7+
8+
[deps]
9+
10+
source_file="res://addons/block_code/examples/pong_game/assets/score.ogg"
11+
dest_files=["res://.godot/imported/score.ogg-5e8aef66830e1343841647f944c8880d.oggvorbisstr"]
12+
13+
[params]
14+
15+
loop=false
16+
loop_offset=0
17+
bpm=0
18+
beat_count=0
19+
bar_beats=4

0 commit comments

Comments
 (0)