diff options
| -rw-r--r-- | .gitignore | 2 | ||||
| -rw-r--r-- | Jaula_gato_naro.png | bin | 0 -> 307245 bytes | |||
| -rw-r--r-- | Spatial.gd | 224 | ||||
| -rw-r--r-- | Spatial.tscn | 264 | ||||
| -rw-r--r-- | StaticBody.gd | 19 | ||||
| -rw-r--r-- | basefloor.gd | 13 | ||||
| -rw-r--r-- | bg.png | bin | 0 -> 727309 bytes | |||
| -rw-r--r-- | box.gd | 45 | ||||
| -rw-r--r-- | box.mtl | 12 | ||||
| -rw-r--r-- | box.obj | 1314 | ||||
| -rw-r--r-- | box.tscn | 20 | ||||
| -rw-r--r-- | box/Material_001.material | bin | 0 -> 1647 bytes | |||
| -rw-r--r-- | box/Material_003.material | bin | 0 -> 1647 bytes | |||
| -rw-r--r-- | box/box.obj | 278 | ||||
| -rw-r--r-- | cat-walking/cm0.png | bin | 0 -> 40657 bytes | |||
| -rw-r--r-- | cat-walking/cm1.png | bin | 0 -> 38980 bytes | |||
| -rw-r--r-- | cat-walking/cm10.png | bin | 0 -> 41735 bytes | |||
| -rw-r--r-- | cat-walking/cm11.png | bin | 0 -> 41232 bytes | |||
| -rw-r--r-- | cat-walking/cm2.png | bin | 0 -> 39058 bytes | |||
| -rw-r--r-- | cat-walking/cm3.png | bin | 0 -> 39114 bytes | |||
| -rw-r--r-- | cat-walking/cm4.png | bin | 0 -> 33546 bytes | |||
| -rw-r--r-- | cat-walking/cm5.png | bin | 0 -> 38498 bytes | |||
| -rw-r--r-- | cat-walking/cm6.png | bin | 0 -> 34105 bytes | |||
| -rw-r--r-- | cat-walking/cm7.png | bin | 0 -> 37305 bytes | |||
| -rw-r--r-- | cat-walking/cm8.png | bin | 0 -> 39111 bytes | |||
| -rw-r--r-- | cat-walking/cm9.png | bin | 0 -> 40638 bytes | |||
| -rw-r--r-- | cat.gd | 25 | ||||
| -rw-r--r-- | cat.tscn | 44 | ||||
| -rwxr-xr-x | cat/c0.png | bin | 0 -> 38069 bytes | |||
| -rwxr-xr-x | cat/c1.png | bin | 0 -> 47034 bytes | |||
| -rwxr-xr-x | cat/c10.png | bin | 0 -> 37617 bytes | |||
| -rwxr-xr-x | cat/c11.png | bin | 0 -> 38585 bytes | |||
| -rwxr-xr-x | cat/c12.png | bin | 0 -> 41253 bytes | |||
| -rwxr-xr-x | cat/c13.png | bin | 0 -> 41028 bytes | |||
| -rwxr-xr-x | cat/c14.png | bin | 0 -> 38346 bytes | |||
| -rwxr-xr-x | cat/c15.png | bin | 0 -> 38346 bytes | |||
| -rwxr-xr-x | cat/c16.png | bin | 0 -> 37578 bytes | |||
| -rwxr-xr-x | cat/c17.png | bin | 0 -> 38842 bytes | |||
| -rwxr-xr-x | cat/c18.png | bin | 0 -> 38163 bytes | |||
| -rwxr-xr-x | cat/c19.png | bin | 0 -> 37497 bytes | |||
| -rwxr-xr-x | cat/c2.png | bin | 0 -> 43905 bytes | |||
| -rwxr-xr-x | cat/c20.png | bin | 0 -> 37497 bytes | |||
| -rwxr-xr-x | cat/c21.png | bin | 0 -> 37318 bytes | |||
| -rwxr-xr-x | cat/c22.png | bin | 0 -> 37028 bytes | |||
| -rwxr-xr-x | cat/c23.png | bin | 0 -> 36122 bytes | |||
| -rwxr-xr-x | cat/c24.png | bin | 0 -> 36183 bytes | |||
| -rwxr-xr-x | cat/c25.png | bin | 0 -> 35634 bytes | |||
| -rwxr-xr-x | cat/c26.png | bin | 0 -> 43597 bytes | |||
| -rwxr-xr-x | cat/c27.png | bin | 0 -> 44601 bytes | |||
| -rwxr-xr-x | cat/c28.png | bin | 0 -> 41577 bytes | |||
| -rwxr-xr-x | cat/c29.png | bin | 0 -> 47971 bytes | |||
| -rwxr-xr-x | cat/c3.png | bin | 0 -> 45728 bytes | |||
| -rwxr-xr-x | cat/c30.png | bin | 0 -> 48002 bytes | |||
| -rwxr-xr-x | cat/c31.png | bin | 0 -> 44519 bytes | |||
| -rwxr-xr-x | cat/c32.png | bin | 0 -> 45737 bytes | |||
| -rwxr-xr-x | cat/c33.png | bin | 0 -> 41812 bytes | |||
| -rwxr-xr-x | cat/c34.png | bin | 0 -> 37461 bytes | |||
| -rwxr-xr-x | cat/c35.png | bin | 0 -> 43664 bytes | |||
| -rwxr-xr-x | cat/c36.png | bin | 0 -> 40900 bytes | |||
| -rwxr-xr-x | cat/c37.png | bin | 0 -> 38689 bytes | |||
| -rwxr-xr-x | cat/c38.png | bin | 0 -> 38246 bytes | |||
| -rwxr-xr-x | cat/c39.png | bin | 0 -> 37753 bytes | |||
| -rwxr-xr-x | cat/c4.png | bin | 0 -> 41874 bytes | |||
| -rwxr-xr-x | cat/c40.png | bin | 0 -> 38668 bytes | |||
| -rwxr-xr-x | cat/c41.png | bin | 0 -> 41092 bytes | |||
| -rwxr-xr-x | cat/c42.png | bin | 0 -> 40900 bytes | |||
| -rwxr-xr-x | cat/c43.png | bin | 0 -> 38270 bytes | |||
| -rwxr-xr-x | cat/c44.png | bin | 0 -> 38270 bytes | |||
| -rwxr-xr-x | cat/c45.png | bin | 0 -> 37739 bytes | |||
| -rwxr-xr-x | cat/c46.png | bin | 0 -> 39084 bytes | |||
| -rwxr-xr-x | cat/c47.png | bin | 0 -> 38491 bytes | |||
| -rwxr-xr-x | cat/c48.png | bin | 0 -> 37976 bytes | |||
| -rwxr-xr-x | cat/c49.png | bin | 0 -> 37701 bytes | |||
| -rwxr-xr-x | cat/c5.png | bin | 0 -> 37317 bytes | |||
| -rwxr-xr-x | cat/c50.png | bin | 0 -> 37423 bytes | |||
| -rwxr-xr-x | cat/c51.png | bin | 0 -> 36524 bytes | |||
| -rwxr-xr-x | cat/c52.png | bin | 0 -> 36496 bytes | |||
| -rwxr-xr-x | cat/c53.png | bin | 0 -> 35853 bytes | |||
| -rwxr-xr-x | cat/c54.png | bin | 0 -> 43823 bytes | |||
| -rwxr-xr-x | cat/c55.png | bin | 0 -> 37855 bytes | |||
| -rwxr-xr-x | cat/c6.png | bin | 0 -> 43484 bytes | |||
| -rwxr-xr-x | cat/c7.png | bin | 0 -> 41028 bytes | |||
| -rwxr-xr-x | cat/c8.png | bin | 0 -> 38736 bytes | |||
| -rwxr-xr-x | cat/c9.png | bin | 0 -> 38065 bytes | |||
| -rw-r--r-- | countdown.gd | 14 | ||||
| -rw-r--r-- | countdown.tscn | 36 | ||||
| -rw-r--r-- | credits.gd | 15 | ||||
| -rw-r--r-- | credits.tscn | 97 | ||||
| -rw-r--r-- | draw.mp3 | bin | 0 -> 47500 bytes | |||
| -rw-r--r-- | draw.png | bin | 0 -> 53414 bytes | |||
| -rw-r--r-- | explosion.mp3 | bin | 0 -> 40026 bytes | |||
| -rw-r--r-- | explosion.png | bin | 0 -> 465877 bytes | |||
| -rw-r--r-- | export_presets.cfg | 59 | ||||
| -rw-r--r-- | floor.png | bin | 0 -> 384800 bytes | |||
| -rw-r--r-- | game-over.gd | 45 | ||||
| -rw-r--r-- | game-over.tscn | 107 | ||||
| -rw-r--r-- | green-wins.png | bin | 0 -> 78960 bytes | |||
| -rw-r--r-- | greenbox.png | bin | 0 -> 445460 bytes | |||
| -rw-r--r-- | jail.tscn | 48 | ||||
| -rw-r--r-- | magnet.png | bin | 0 -> 86330 bytes | |||
| -rw-r--r-- | mainmenu.gd | 42 | ||||
| -rw-r--r-- | mainmenu.tscn | 116 | ||||
| -rw-r--r-- | music.mp3 | bin | 0 -> 1343043 bytes | |||
| -rw-r--r-- | pink-wins.png | bin | 0 -> 82780 bytes | |||
| -rw-r--r-- | powerup.gd | 59 | ||||
| -rw-r--r-- | powerup.tscn | 29 | ||||
| -rw-r--r-- | project.godot | 185 | ||||
| -rw-r--r-- | rcat.gd | 32 | ||||
| -rw-r--r-- | redbox.png | bin | 0 -> 536838 bytes | |||
| -rw-r--r-- | running-cat.gd | 36 | ||||
| -rw-r--r-- | select.gd | 86 | ||||
| -rw-r--r-- | select.tscn | 219 | ||||
| -rw-r--r-- | select/p0.png | bin | 0 -> 230586 bytes | |||
| -rw-r--r-- | select/p1.png | bin | 0 -> 236876 bytes | |||
| -rw-r--r-- | select/p2.png | bin | 0 -> 277208 bytes | |||
| -rw-r--r-- | select/p3.png | bin | 0 -> 99594 bytes | |||
| -rw-r--r-- | select/ps0.png | bin | 0 -> 203040 bytes | |||
| -rw-r--r-- | select/ps1.png | bin | 0 -> 201059 bytes | |||
| -rw-r--r-- | select/ps2.png | bin | 0 -> 142720 bytes | |||
| -rw-r--r-- | select/ps3.png | bin | 0 -> 192550 bytes | |||
| -rw-r--r-- | sfx/cat/Gato.wav | bin | 0 -> 3009450 bytes | |||
| -rw-r--r-- | sfx/cat/Gato.wav.import | 23 | ||||
| -rw-r--r-- | sfx/p0/Derrota.wav | bin | 0 -> 555756 bytes | |||
| -rw-r--r-- | sfx/p0/Derrota.wav.import | 23 | ||||
| -rw-r--r-- | sfx/p0/Power Up.wav | bin | 0 -> 512292 bytes | |||
| -rw-r--r-- | sfx/p0/Power Up.wav.import | 23 | ||||
| -rw-r--r-- | sfx/p0/Seleccion.wav | bin | 0 -> 242364 bytes | |||
| -rw-r--r-- | sfx/p0/Seleccion.wav.import | 23 | ||||
| -rw-r--r-- | sfx/p0/Victoria.wav | bin | 0 -> 444222 bytes | |||
| -rw-r--r-- | sfx/p0/Victoria.wav.import | 23 | ||||
| -rw-r--r-- | sfx/p1/Derrota.wav | bin | 0 -> 594552 bytes | |||
| -rw-r--r-- | sfx/p1/Derrota.wav.import | 23 | ||||
| -rw-r--r-- | sfx/p1/Power Up.wav | bin | 0 -> 628380 bytes | |||
| -rw-r--r-- | sfx/p1/Power Up.wav.import | 23 | ||||
| -rw-r--r-- | sfx/p1/Seleccion.wav | bin | 0 -> 605034 bytes | |||
| -rw-r--r-- | sfx/p1/Seleccion.wav.import | 23 | ||||
| -rw-r--r-- | sfx/p1/Victoria.wav | bin | 0 -> 265290 bytes | |||
| -rw-r--r-- | sfx/p1/Victoria.wav.import | 23 | ||||
| -rw-r--r-- | sfx/p2/Derrota.wav | bin | 0 -> 939630 bytes | |||
| -rw-r--r-- | sfx/p2/Derrota.wav.import | 23 | ||||
| -rw-r--r-- | sfx/p2/Power Up.wav | bin | 0 -> 885162 bytes | |||
| -rw-r--r-- | sfx/p2/Power Up.wav.import | 23 | ||||
| -rw-r--r-- | sfx/p2/Seleccion.wav | bin | 0 -> 887754 bytes | |||
| -rw-r--r-- | sfx/p2/Seleccion.wav.import | 23 | ||||
| -rw-r--r-- | sfx/p2/Victoria.wav | bin | 0 -> 1064130 bytes | |||
| -rw-r--r-- | sfx/p2/Victoria.wav.import | 23 | ||||
| -rw-r--r-- | sfx/p3/Derrota.wav | bin | 0 -> 1173066 bytes | |||
| -rw-r--r-- | sfx/p3/Derrota.wav.import | 23 | ||||
| -rw-r--r-- | sfx/p3/Power Up.wav | bin | 0 -> 765846 bytes | |||
| -rw-r--r-- | sfx/p3/Power Up.wav.import | 23 | ||||
| -rw-r--r-- | sfx/p3/Seleccion.wav | bin | 0 -> 1170474 bytes | |||
| -rw-r--r-- | sfx/p3/Seleccion.wav.import | 23 | ||||
| -rw-r--r-- | sfx/p3/Victoria.wav | bin | 0 -> 1012254 bytes | |||
| -rw-r--r-- | sfx/p3/Victoria.wav.import | 23 | ||||
| -rw-r--r-- | sky.tscn | 15 | ||||
| -rw-r--r-- | speed.png | bin | 0 -> 42407 bytes | |||
| -rw-r--r-- | splash.png | bin | 0 -> 392007 bytes | |||
| -rw-r--r-- | swap.png | bin | 0 -> 528238 bytes | |||
| -rw-r--r-- | team.gd | 6 | ||||
| -rw-r--r-- | title.png | bin | 0 -> 520643 bytes | |||
| -rw-r--r-- | vera/CMakeLists.txt | 10 | ||||
| -rwxr-xr-x | vera/COPYRIGHT.TXT | 124 | ||||
| -rwxr-xr-x | vera/README.TXT | 11 | ||||
| -rwxr-xr-x | vera/RELEASENOTES.TXT | 162 | ||||
| -rwxr-xr-x | vera/Vera.ttf | bin | 0 -> 65932 bytes | |||
| -rwxr-xr-x | vera/VeraBI.ttf | bin | 0 -> 63208 bytes | |||
| -rwxr-xr-x | vera/VeraBd.ttf | bin | 0 -> 58716 bytes | |||
| -rwxr-xr-x | vera/VeraIt.ttf | bin | 0 -> 63684 bytes | |||
| -rw-r--r-- | win.mp3 | bin | 0 -> 59680 bytes | |||
| -rw-r--r-- | zombie.gd | 282 | ||||
| -rw-r--r-- | zombie.tscn | 63 | ||||
| -rw-r--r-- | zombie0/idle.png | bin | 0 -> 182838 bytes | |||
| -rw-r--r-- | zombie0/left0.png | bin | 0 -> 150664 bytes | |||
| -rw-r--r-- | zombie0/left1.png | bin | 0 -> 150664 bytes | |||
| -rw-r--r-- | zombie0/left10.png | bin | 0 -> 150503 bytes | |||
| -rw-r--r-- | zombie0/left11.png | bin | 0 -> 150503 bytes | |||
| -rw-r--r-- | zombie0/left12.png | bin | 0 -> 150503 bytes | |||
| -rw-r--r-- | zombie0/left13.png | bin | 0 -> 158426 bytes | |||
| -rw-r--r-- | zombie0/left14.png | bin | 0 -> 158426 bytes | |||
| -rw-r--r-- | zombie0/left15.png | bin | 0 -> 139493 bytes | |||
| -rw-r--r-- | zombie0/left16.png | bin | 0 -> 139493 bytes | |||
| -rw-r--r-- | zombie0/left17.png | bin | 0 -> 139493 bytes | |||
| -rw-r--r-- | zombie0/left18.png | bin | 0 -> 152528 bytes | |||
| -rw-r--r-- | zombie0/left19.png | bin | 0 -> 152528 bytes | |||
| -rw-r--r-- | zombie0/left2.png | bin | 0 -> 150664 bytes | |||
| -rw-r--r-- | zombie0/left3.png | bin | 0 -> 152528 bytes | |||
| -rw-r--r-- | zombie0/left4.png | bin | 0 -> 152528 bytes | |||
| -rw-r--r-- | zombie0/left5.png | bin | 0 -> 139493 bytes | |||
| -rw-r--r-- | zombie0/left6.png | bin | 0 -> 139493 bytes | |||
| -rw-r--r-- | zombie0/left7.png | bin | 0 -> 139493 bytes | |||
| -rw-r--r-- | zombie0/left8.png | bin | 0 -> 158426 bytes | |||
| -rw-r--r-- | zombie0/left9.png | bin | 0 -> 158426 bytes | |||
| -rw-r--r-- | zombie1/idle.png | bin | 0 -> 159999 bytes | |||
| -rw-r--r-- | zombie1/left0.png | bin | 0 -> 134081 bytes | |||
| -rw-r--r-- | zombie1/left1.png | bin | 0 -> 134081 bytes | |||
| -rw-r--r-- | zombie1/left10.png | bin | 0 -> 122482 bytes | |||
| -rw-r--r-- | zombie1/left11.png | bin | 0 -> 120462 bytes | |||
| -rw-r--r-- | zombie1/left12.png | bin | 0 -> 120462 bytes | |||
| -rw-r--r-- | zombie1/left13.png | bin | 0 -> 122482 bytes | |||
| -rw-r--r-- | zombie1/left14.png | bin | 0 -> 122482 bytes | |||
| -rw-r--r-- | zombie1/left15.png | bin | 0 -> 122482 bytes | |||
| -rw-r--r-- | zombie1/left16.png | bin | 0 -> 113987 bytes | |||
| -rw-r--r-- | zombie1/left17.png | bin | 0 -> 113987 bytes | |||
| -rw-r--r-- | zombie1/left18.png | bin | 0 -> 129316 bytes | |||
| -rw-r--r-- | zombie1/left19.png | bin | 0 -> 129316 bytes | |||
| -rw-r--r-- | zombie1/left2.png | bin | 0 -> 129316 bytes | |||
| -rw-r--r-- | zombie1/left3.png | bin | 0 -> 129316 bytes | |||
| -rw-r--r-- | zombie1/left4.png | bin | 0 -> 129316 bytes | |||
| -rw-r--r-- | zombie1/left5.png | bin | 0 -> 129316 bytes | |||
| -rw-r--r-- | zombie1/left6.png | bin | 0 -> 113987 bytes | |||
| -rw-r--r-- | zombie1/left7.png | bin | 0 -> 113987 bytes | |||
| -rw-r--r-- | zombie1/left8.png | bin | 0 -> 122482 bytes | |||
| -rw-r--r-- | zombie1/left9.png | bin | 0 -> 122482 bytes | |||
| -rw-r--r-- | zombie2/idle.png | bin | 0 -> 152645 bytes | |||
| -rw-r--r-- | zombie2/left0.png | bin | 0 -> 122232 bytes | |||
| -rw-r--r-- | zombie2/left1.png | bin | 0 -> 122232 bytes | |||
| -rw-r--r-- | zombie2/left10.png | bin | 0 -> 129070 bytes | |||
| -rw-r--r-- | zombie2/left11.png | bin | 0 -> 129070 bytes | |||
| -rw-r--r-- | zombie2/left12.png | bin | 0 -> 129070 bytes | |||
| -rw-r--r-- | zombie2/left13.png | bin | 0 -> 123145 bytes | |||
| -rw-r--r-- | zombie2/left14.png | bin | 0 -> 123145 bytes | |||
| -rw-r--r-- | zombie2/left15.png | bin | 0 -> 112136 bytes | |||
| -rw-r--r-- | zombie2/left16.png | bin | 0 -> 112136 bytes | |||
| -rw-r--r-- | zombie2/left17.png | bin | 0 -> 112136 bytes | |||
| -rw-r--r-- | zombie2/left18.png | bin | 0 -> 121650 bytes | |||
| -rw-r--r-- | zombie2/left19.png | bin | 0 -> 121650 bytes | |||
| -rw-r--r-- | zombie2/left2.png | bin | 0 -> 122232 bytes | |||
| -rw-r--r-- | zombie2/left3.png | bin | 0 -> 121650 bytes | |||
| -rw-r--r-- | zombie2/left4.png | bin | 0 -> 121650 bytes | |||
| -rw-r--r-- | zombie2/left5.png | bin | 0 -> 112136 bytes | |||
| -rw-r--r-- | zombie2/left6.png | bin | 0 -> 112136 bytes | |||
| -rw-r--r-- | zombie2/left7.png | bin | 0 -> 112136 bytes | |||
| -rw-r--r-- | zombie2/left8.png | bin | 0 -> 123145 bytes | |||
| -rw-r--r-- | zombie2/left9.png | bin | 0 -> 123145 bytes | |||
| -rw-r--r-- | zombie3/idle.png | bin | 0 -> 74329 bytes | |||
| -rw-r--r-- | zombie3/left0.png | bin | 0 -> 116922 bytes | |||
| -rw-r--r-- | zombie3/left1.png | bin | 0 -> 149920 bytes | |||
| -rw-r--r-- | zombie3/left2.png | bin | 0 -> 140015 bytes | |||
| -rw-r--r-- | zombie3/left3.png | bin | 0 -> 115367 bytes | |||
| -rw-r--r-- | zombie3/left4.png | bin | 0 -> 119176 bytes | |||
| -rw-r--r-- | zombie3/left5.png | bin | 0 -> 143722 bytes | |||
| -rw-r--r-- | zombie3/left6.png | bin | 0 -> 124019 bytes | |||
| -rw-r--r-- | zombie3/left7.png | bin | 0 -> 147205 bytes |
243 files changed, 4548 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..efe6fac --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +/.import/ +*.import diff --git a/Jaula_gato_naro.png b/Jaula_gato_naro.png Binary files differnew file mode 100644 index 0000000..66ed959 --- /dev/null +++ b/Jaula_gato_naro.png diff --git a/Spatial.gd b/Spatial.gd new file mode 100644 index 0000000..e093df9 --- /dev/null +++ b/Spatial.gd @@ -0,0 +1,224 @@ +extends Spatial + +const t = preload("res://team.gd") +var box_scene = preload("res://box.tscn") +var zombie_scene = preload("res://zombie.tscn") +var pwup = preload("res://powerup.tscn") +var pw = preload("res://powerup.gd") +var gameover = preload("res://game-over.tscn").instance() + +var green_points = 0 +var pink_points = 0 +var jailpos: Vector3 +var zombies = [] +var boxes = [] +var done = false +var finalpos +var running_cat +var can_move = false + +signal new_points + +func set_points(box, points): + var team = box.myteam + + if team == t.Team.GREEN: + green_points += points + else: + pink_points += points + + on_points() + # jailpos -= Vector3(0, points * 0.375, 0) + jailpos -= Vector3(0, points * 0.45, 0) + # jailpos -= Vector3(0, points * 3, 0) + +func _entered(box): + set_points(box, 1) + +func _exited(box): + set_points(box, -1) + +func on_points(): + $CanvasLayer/cc/hb/green.text = "Team Green: %d" % green_points + $CanvasLayer/cc/hb/pink.text = "Team Pink: %d" % pink_points + +func _create_cat(): + var cat = load("res://cat.tscn").instance() + cat.translate(Vector3(0, -1, 0)) + running_cat = cat + for zombie in zombies: + zombie.running_cat = cat + $jail/Spatial/cat.visible = false + add_child(cat) + +func _physics_process(delta): + var jail = get_node("jail") + + if done: + jail.global_transform.origin = finalpos + return + + var pos = jail.global_transform.origin + var diff = jailpos.y - lerp(jailpos.y, pos.y, delta) + + if !jail.get_colliding_bodies().size(): + jail.translate(Vector3(0, diff, 0)) + else: + done = true + _create_cat() + finalpos = jail.global_transform.origin + + for z in zombies: + z.can_move = can_move + z.run_powerup(boxes) + +func randpos(y = 10): + var maxp = 6.8 + var minp = 5.0 + var x = randf() * maxp + var z = randf() * maxp + + if randi() & 1: + while x > maxp or (x < minp and z < minp): + x = randf() * maxp + else: + while z > maxp or (z < minp and x < minp): + z = randf() * maxp + + if randi() & 1: + x = -x + + if randi() & 1: + z = -z + + return Vector3(x, y, z) + +func create_box(team): + var box = box_scene.instance() + + box.set_team(team) + box.set_floor(get_node("mesh/MeshInstance2/basefloor")) + box.translate(randpos()) + box.connect("entered", self, "_entered") + box.connect("exited", self, "_exited") + boxes += [box] + add_child(box) + +func _on_powerup(node, zombie): + if node.get_type() == pw.Type.swap: + var green = green_points + + for b in boxes: + b.set_team(b.get_team() ^ 1) + + green_points = pink_points + pink_points = green + emit_signal("new_points") + + var sfx = get_node("powerup/p" + str(zombie.get_rid())) + + sfx.play() + remove_child(node) + +func _on_cat_killed(zombie): + $game_time.stop() + get_tree().root.add_child(gameover) + gameover.set_winner(green_points, pink_points, zombie.get_team()) + remove_child(running_cat) + +func create_zombie(rid, id, team, pos): + var zombie = zombie_scene.instance() + + zombie.set_rid(rid) + zombie.set_id(id) + zombie.set_team(team) + zombie.translate(pos) + zombie.connect("powerup", self, "_on_powerup") + zombie.connect("cat_killed", self, "_on_cat_killed") + zombies += [zombie] + add_child(zombie) + +func create_powerup(): + var powerup = pwup.instance() + + powerup.translate(randpos(-0.5)) + add_child(powerup) + +func _on_powerup_timeout(): + create_powerup() + $powerup_timer.start(randi() % 10 + 3) + +func game_over(): + $game_time.stop() + get_tree().root.add_child(gameover) + gameover.set_winner(green_points, pink_points, null) + +func _process(_delta): + var text = "Time left: " + var seconds = $game_time.get_time_left() + var minutes = 0 + + while seconds >= 60: + minutes += 1 + seconds -= 60 + + text += "%02d" % minutes + text += ":%02d" % seconds + $CanvasLayer/cc/hb/time_left.text = text + + if Input.is_action_just_released("ui_escape"): + go_back() + +func _on_box_timeout(): + var team + + if randi() & 1: + team = t.Team.GREEN + else: + team = t.Team.PINK + + create_box(team) + $box_timer.start(randi() % 10 + 3) + +func start_game(): + for z in zombies: + z.set_can_move(true) + + $game_time.start(120) + +func go_back(): + var mainmenu = load("res://mainmenu.tscn").instance() + get_tree().root.add_child(mainmenu) + get_tree().root.remove_child(self) + +func set_players(players): + create_zombie(0, players[0], t.Team.GREEN, Vector3(-6.0, 0, -3)) + create_zombie(1, players[1], t.Team.GREEN, Vector3(-6.0, 0, 3)) + create_zombie(2, players[2], t.Team.PINK, Vector3(6.0, 0, -3)) + create_zombie(3, players[3], t.Team.PINK, Vector3(6.0, 0, 3)) + +func _ready(): + var __ + + randomize() + jailpos = get_node("jail").global_transform.origin + + for _i in range(randi() % 6 + 2): + create_powerup() + + for _i in range(15): + create_box(t.Team.PINK) + + for _i in range(15): + create_box(t.Team.GREEN) + + __ = $powerup_timer.connect("timeout", self, "_on_powerup_timeout") + $powerup_timer.start(randi() % 16 + 5) + $box_timer.start(randi() % 16 + 5) + __ = $box_timer.connect("timeout", self, "_on_box_timeout") + $game_time.start(120) + $game_time.stop() + __ = $game_time.connect("timeout", self, "game_over") + __ = $countdown.connect("timeout", self, "start_game") + __ = connect("new_points", self, "on_points") + __ = gameover.connect("go_back", self, "go_back") diff --git a/Spatial.tscn b/Spatial.tscn new file mode 100644 index 0000000..f7d86ec --- /dev/null +++ b/Spatial.tscn @@ -0,0 +1,264 @@ +[gd_scene load_steps=27 format=2] + +[ext_resource path="res://floor.png" type="Texture" id=1] +[ext_resource path="res://sky.tscn" type="PackedScene" id=2] +[ext_resource path="res://jail.tscn" type="PackedScene" id=3] +[ext_resource path="res://Spatial.gd" type="Script" id=4] +[ext_resource path="res://basefloor.gd" type="Script" id=5] +[ext_resource path="res://vera/Vera.ttf" type="DynamicFontData" id=6] +[ext_resource path="res://vera/VeraBd.ttf" type="DynamicFontData" id=7] +[ext_resource path="res://countdown.tscn" type="PackedScene" id=8] +[ext_resource path="res://sfx/p0/Power Up.wav" type="AudioStream" id=9] +[ext_resource path="res://sfx/p1/Power Up.wav" type="AudioStream" id=10] +[ext_resource path="res://sfx/p2/Power Up.wav" type="AudioStream" id=11] +[ext_resource path="res://sfx/p3/Power Up.wav" type="AudioStream" id=12] + +[sub_resource type="PlaneMesh" id=1] +size = Vector2( 20, 40 ) + +[sub_resource type="SpatialMaterial" id=8] +flags_transparent = true +albedo_color = Color( 0.490196, 0.282353, 0.584314, 0.772549 ) + +[sub_resource type="BoxShape" id=2] +extents = Vector3( 10, 1, 20 ) + +[sub_resource type="SpatialMaterial" id=12] +albedo_texture = ExtResource( 1 ) + +[sub_resource type="Environment" id=7] +ambient_light_color = Color( 1, 1, 1, 1 ) +ambient_light_sky_contribution = 0.25 + +[sub_resource type="BoxShape" id=5] +extents = Vector3( 1, 40, 10 ) + +[sub_resource type="BoxShape" id=3] +extents = Vector3( 1, 40, 12 ) + +[sub_resource type="CylinderShape" id=9] +height = 1.0 +radius = 1.8 + +[sub_resource type="CylinderMesh" id=10] + +[sub_resource type="SpatialMaterial" id=14] +albedo_color = Color( 0.415686, 0.305882, 0.545098, 1 ) + +[sub_resource type="SphereShape" id=11] +radius = 6.565 + +[sub_resource type="DynamicFont" id=17] +size = 32 +use_filter = true +font_data = ExtResource( 7 ) + +[sub_resource type="DynamicFont" id=13] +size = 48 +use_mipmaps = true +use_filter = true +font_data = ExtResource( 6 ) + +[sub_resource type="DynamicFont" id=16] +size = 32 +use_filter = true +font_data = ExtResource( 7 ) + +[node name="Spatial" type="Spatial"] +script = ExtResource( 4 ) + +[node name="mesh" type="MeshInstance" parent="."] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 3.66808, 0 ) + +[node name="MeshInstance2" type="MeshInstance" parent="mesh"] +transform = Transform( 0.375, 0, 0, 0, 1, 0, 0, 0, 0.188, 0, -4.49062, 0 ) +sorting_offset = -5.0 +mesh = SubResource( 1 ) +material/0 = SubResource( 8 ) + +[node name="basefloor" type="StaticBody" parent="mesh/MeshInstance2"] +script = ExtResource( 5 ) + +[node name="CollisionShape" type="CollisionShape" parent="mesh/MeshInstance2/basefloor"] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -1, 0 ) +shape = SubResource( 2 ) + +[node name="floor2" type="Spatial" parent="."] + +[node name="MeshInstance" type="MeshInstance" parent="floor2"] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 0.5, 0.11645, -0.833609, 0 ) +mesh = SubResource( 1 ) +skeleton = NodePath("../..") +material/0 = SubResource( 12 ) + +[node name="StaticBody" type="StaticBody" parent="floor2/MeshInstance"] + +[node name="CollisionShape" type="CollisionShape" parent="floor2/MeshInstance/StaticBody"] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -1, 0 ) +shape = SubResource( 2 ) + +[node name="Camera" type="Camera" parent="."] +transform = Transform( 1, 0, 0, 0, 0.707107, 0.707107, 0, -0.707107, 0.707107, 0, 7.46512, 8.14918 ) +environment = SubResource( 7 ) + +[node name="walls" type="Spatial" parent="."] + +[node name="Node4" type="StaticBody" parent="walls"] +transform = Transform( -4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 0, 0, -13 ) +collision_layer = 3 +collision_mask = 3 + +[node name="CollisionShape2" type="CollisionShape" parent="walls/Node4"] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -2, 0, 0 ) +shape = SubResource( 5 ) + +[node name="MeshInstance" type="MeshInstance" parent="walls/Node4"] + +[node name="Node3" type="StaticBody" parent="walls"] +transform = Transform( -4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 0, 0, 7.5 ) +collision_layer = 3 +collision_mask = 3 + +[node name="CollisionShape2" type="CollisionShape" parent="walls/Node3"] +shape = SubResource( 5 ) + +[node name="MeshInstance" type="MeshInstance" parent="walls/Node3"] + +[node name="Node6" type="StaticBody" parent="walls"] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -10, 0, 0 ) +collision_layer = 3 +collision_mask = 3 + +[node name="CollisionShape" type="CollisionShape" parent="walls/Node6"] +shape = SubResource( 3 ) + +[node name="MeshInstance" type="MeshInstance" parent="walls/Node6"] + +[node name="Node5" type="StaticBody" parent="walls"] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 10, 8.50955, 0 ) +collision_layer = 3 +collision_mask = 3 + +[node name="CollisionShape" type="CollisionShape" parent="walls/Node5"] +shape = SubResource( 3 ) + +[node name="MeshInstance" type="MeshInstance" parent="walls/Node5"] + +[node name="DirectionalLight" type="DirectionalLight" parent="."] +transform = Transform( 0.892224, -0.0689083, 0.446306, -0.451594, -0.136144, 0.881775, 0, -0.98829, -0.152589, 0.895573, 11.4073, -2.06028 ) +light_energy = 0.3 +shadow_enabled = true + +[node name="jail" parent="." instance=ExtResource( 3 )] +transform = Transform( -4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 0, 15.315, 0 ) +contacts_reported = 3 +contact_monitor = true + +[node name="reserved" type="RigidBody" parent="."] +collision_layer = 3 +collision_mask = 3 +mode = 1 +continuous_cd = true +can_sleep = false + +[node name="CollisionShape" type="CollisionShape" parent="reserved"] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.482761, 0 ) +shape = SubResource( 9 ) + +[node name="MeshInstance" type="MeshInstance" parent="reserved"] +transform = Transform( 1.8, 0, 0, 0, 1.8, 0, 0, 0, 1.81, 0, -2.65038, 0 ) +mesh = SubResource( 10 ) + +[node name="reserved2" type="RigidBody" parent="."] +collision_layer = 4 +collision_mask = 4 +mode = 1 +continuous_cd = true + +[node name="CollisionShape" type="CollisionShape" parent="reserved2"] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -1.01591, 0 ) +shape = SubResource( 9 ) + +[node name="MeshInstance" type="MeshInstance" parent="reserved2"] +transform = Transform( 1.8, 0, 0, 0, 1.8, 0, 0, 0, 1.81, 0, -2.53708, 0 ) +mesh = SubResource( 10 ) +material/0 = SubResource( 14 ) + +[node name="StaticBody" type="StaticBody" parent="."] + +[node name="CollisionShape" type="CollisionShape" parent="StaticBody"] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 11.6885, 0 ) +shape = SubResource( 11 ) + +[node name="CanvasLayer" type="CanvasLayer" parent="."] + +[node name="cc" type="CenterContainer" parent="CanvasLayer"] +anchor_right = 1.0 +margin_right = 40.0 +margin_bottom = 40.0 +__meta__ = { +"_edit_use_anchors_": true +} + +[node name="hb" type="HBoxContainer" parent="CanvasLayer/cc"] +margin_left = 527.0 +margin_right = 1433.0 +margin_bottom = 57.0 +size_flags_horizontal = 3 +size_flags_vertical = 3 + +[node name="pink" type="Label" parent="CanvasLayer/cc/hb"] +margin_top = 9.0 +margin_right = 230.0 +margin_bottom = 47.0 +custom_colors/font_color = Color( 1, 0, 1, 1 ) +custom_fonts/font = SubResource( 17 ) +text = "Team Pink: 0" + +[node name="time_left" type="Label" parent="CanvasLayer/cc/hb"] +margin_left = 234.0 +margin_right = 641.0 +margin_bottom = 57.0 +custom_colors/font_color = Color( 1, 1, 1, 1 ) +custom_constants/shadow_as_outline = 1 +custom_fonts/font = SubResource( 13 ) +text = "Time left: 00:00" +align = 1 +valign = 1 +uppercase = true + +[node name="green" type="Label" parent="CanvasLayer/cc/hb"] +margin_left = 645.0 +margin_top = 9.0 +margin_right = 906.0 +margin_bottom = 47.0 +custom_colors/font_color = Color( 0, 1, 0, 1 ) +custom_fonts/font = SubResource( 16 ) +text = "Team Green: 0" +align = 1 +valign = 1 + +[node name="sky" parent="." instance=ExtResource( 2 )] +transform = Transform( 15, 0, 0, 0, 10.6066, 10.6066, 0, -10.6066, 10.6066, 0, 0, 0 ) + +[node name="powerup_timer" type="Timer" parent="."] + +[node name="game_time" type="Timer" parent="."] + +[node name="box_timer" type="Timer" parent="."] + +[node name="powerup" type="Node" parent="."] + +[node name="p0" type="AudioStreamPlayer" parent="powerup"] +stream = ExtResource( 9 ) + +[node name="p1" type="AudioStreamPlayer" parent="powerup"] +stream = ExtResource( 10 ) + +[node name="p2" type="AudioStreamPlayer" parent="powerup"] +stream = ExtResource( 11 ) + +[node name="p3" type="AudioStreamPlayer" parent="powerup"] +stream = ExtResource( 12 ) + +[node name="countdown" parent="." instance=ExtResource( 8 )] diff --git a/StaticBody.gd b/StaticBody.gd new file mode 100644 index 0000000..bb47ad0 --- /dev/null +++ b/StaticBody.gd @@ -0,0 +1,19 @@ +extends StaticBody + + +# Declare member variables here. Examples: +# var a = 2 +# var b = "text" + + +# Called when the node enters the scene tree for the first time. +func _ready(): + pass # Replace with function body. + + +# Called every frame. 'delta' is the elapsed time since the previous frame. +#func _process(delta): +# pass + +func _init(): + pass diff --git a/basefloor.gd b/basefloor.gd new file mode 100644 index 0000000..534df46 --- /dev/null +++ b/basefloor.gd @@ -0,0 +1,13 @@ +extends StaticBody + +func _ready(): + pass + +func _init(): + pass + # contact_monitor = true + # contacts_reported = 30 + +# Called every frame. 'delta' is the elapsed time since the previous frame. +#func _process(delta): +# pass Binary files differ@@ -0,0 +1,45 @@ +class_name Box extends RigidBody +const t = preload("res://team.gd") +const pinkbox = preload("res://redbox.png") +const greenbox = preload("res://greenbox.png") + +signal entered +signal exited + +var myteam = t.Team.GREEN +var _floor: Node + +func get_team(): + return myteam + +func set_team(team): + var mesh = get_node("MeshInstance") + var material = mesh.get_active_material(0).duplicate() + myteam = team + + if myteam == t.Team.PINK: + material.albedo_texture = pinkbox + else: + material.albedo_texture = greenbox + + mesh.set_surface_material(0, material) + +func _entered(node: Node): + if node == _floor: + emit_signal("entered", self) + +func _exited(node: Node): + if node == _floor: + emit_signal("exited", self) + +func set_floor(node: Node): + _floor = node + +func _ready(): + var __ + + contact_monitor = true + contacts_reported = 4 + + __ = connect("body_entered", self, "_entered") + __ = connect("body_exited", self, "_exited") @@ -0,0 +1,12 @@ +# Blender 4.0.2 MTL File: 'box.blend' +# www.blender.org + +newmtl Material +Ns 250.000000 +Ka 1.000000 1.000000 1.000000 +Ks 0.500000 0.500000 0.500000 +Ke 0.000000 0.000000 0.000000 +Ni 1.450000 +d 1.000000 +illum 2 +map_Kd redbox.png @@ -0,0 +1,1314 @@ +# Blender 4.0.2 +# www.blender.org +mtllib box.mtl +o Cube +v 1.000000 1.000000 -1.000000 +v 1.000000 -1.000000 -1.000000 +v 1.000000 1.000000 1.000000 +v 1.000000 -1.000000 1.000000 +v -1.000000 1.000000 -1.000000 +v -1.000000 -1.000000 -1.000000 +v -1.000000 1.000000 1.000000 +v -1.000000 -1.000000 1.000000 +v 0.823227 1.000000 -0.823227 +v -0.823227 1.000000 -0.823227 +v -0.823227 1.000000 0.823227 +v 0.823227 1.000000 0.823227 +v 0.823227 -0.823227 1.000000 +v 0.823227 0.823227 1.000000 +v -0.823227 0.823227 1.000000 +v -0.823227 -0.823227 1.000000 +v -1.000000 -0.823227 0.823227 +v -1.000000 0.823227 0.823227 +v -1.000000 0.823227 -0.823227 +v -1.000000 -0.823227 -0.823227 +v -0.823227 -1.000000 -0.823227 +v 0.823227 -1.000000 -0.823227 +v 0.823227 -1.000000 0.823227 +v -0.823227 -1.000000 0.823227 +v 1.000000 -0.823227 -0.823227 +v 1.000000 0.823227 -0.823227 +v 1.000000 0.823227 0.823227 +v 1.000000 -0.823227 0.823227 +v -0.823227 -0.823227 -1.000000 +v -0.823227 0.823227 -1.000000 +v 0.823227 0.823227 -1.000000 +v 0.823227 -0.823227 -1.000000 +v 0.823227 0.892344 -0.823227 +v -0.823227 0.892344 -0.823227 +v -0.823227 0.892344 0.823227 +v 0.823227 0.892344 0.823227 +v 0.823227 -0.823227 0.892344 +v 0.823227 0.823227 0.892344 +v -0.823227 0.823227 0.892344 +v -0.823227 -0.823227 0.892344 +v -0.892344 -0.823227 0.823227 +v -0.892344 0.823227 0.823227 +v -0.892344 0.823227 -0.823227 +v -0.892344 -0.823227 -0.823227 +v -0.823227 -0.892344 -0.823227 +v 0.823227 -0.892344 -0.823227 +v 0.823227 -0.892344 0.823227 +v -0.823227 -0.892344 0.823227 +v 0.892344 -0.823227 -0.823227 +v 0.892344 0.823227 -0.823227 +v 0.892344 0.823227 0.823227 +v 0.892344 -0.823227 0.823227 +v -0.823227 -0.823227 -0.892344 +v -0.823227 0.823227 -0.892344 +v 0.823227 0.823227 -0.892344 +v 0.823227 -0.823227 -0.892344 +v 0.823227 0.892344 -0.823227 +v -0.823227 0.892344 -0.823227 +v -0.823227 0.892344 0.823227 +v 0.823227 0.892344 0.823227 +v 0.698928 -0.935600 -0.823227 +v -0.673373 -0.935600 -0.823227 +v 0.204301 -0.935600 0.053971 +v 0.823227 -0.935600 0.644639 +v -0.892344 -0.823227 0.823227 +v -0.892344 0.823227 0.823227 +v -0.892344 0.823227 -0.823227 +v -0.892344 -0.823227 -0.823227 +v 0.823227 -0.935600 -0.601379 +v 0.038650 -0.935600 0.200819 +v -0.548307 -0.935600 0.823227 +v 0.570449 -0.935600 0.823227 +v 0.823227 -0.935600 0.823227 +v -0.823227 -0.935600 0.823227 +v -0.823227 -0.935600 -0.823227 +v 0.823227 -0.935600 -0.823227 +v -0.892344 0.823227 0.704850 +v -0.892344 0.823227 -0.681688 +v -0.892344 0.151145 0.017039 +v -0.892344 -0.689574 0.823227 +v -0.892344 0.570596 0.823227 +v -0.892344 -0.055024 0.205116 +v -0.892344 -0.823227 -0.563185 +v -0.892344 -0.823227 0.622629 +v -0.892344 -0.219678 0.026610 +v -0.892344 0.606177 -0.823227 +v -0.892344 -0.655405 -0.823227 +v -0.892344 -0.079847 -0.162992 +v -0.956829 0.570596 0.823227 +v -0.956829 0.823227 0.823227 +v -0.956829 -0.823227 0.622629 +v -0.956829 -0.823227 0.823227 +v -0.956829 0.823227 -0.681688 +v -0.956829 0.823227 -0.823227 +v -0.956829 -0.655405 -0.823227 +v -0.956829 -0.823227 -0.823227 +v -0.956829 0.823227 0.704850 +v -0.956829 0.151145 0.017039 +v -0.956829 -0.689574 0.823227 +v -0.956829 -0.055024 0.205116 +v -0.956829 -0.823227 -0.563185 +v -0.956829 -0.219678 0.026610 +v -0.956829 0.606177 -0.823227 +v -0.956829 -0.079847 -0.162992 +v 0.570449 0.892344 0.823227 +v -0.548307 0.892344 0.823227 +v 0.038650 0.892344 0.200819 +v 0.823227 0.892344 -0.601379 +v 0.823227 0.892344 0.644639 +v 0.204301 0.892344 0.053971 +v -0.673373 0.892344 -0.823227 +v 0.698928 0.892344 -0.823227 +v -0.004027 0.892344 -0.139112 +v -0.823227 0.892344 0.688106 +v -0.823227 0.892344 -0.588949 +v -0.194536 0.892344 0.048259 +v 0.698928 0.979872 -0.823227 +v 0.823227 0.979872 -0.823227 +v 0.823227 0.979872 0.644639 +v 0.823227 0.979872 0.823227 +v -0.823227 0.979872 -0.588949 +v -0.823227 0.979872 -0.823227 +v -0.548307 0.979872 0.823227 +v -0.823227 0.979872 0.823227 +v 0.570449 0.979872 0.823227 +v -0.004027 0.979872 -0.139112 +v 0.823227 0.979872 -0.601379 +v 0.038650 0.979872 0.200819 +v -0.673373 0.979872 -0.823227 +v 0.204301 0.979872 0.053971 +v -0.823227 0.979872 0.688106 +v -0.194536 0.979872 0.048259 +v 0.887867 -0.823227 -0.802180 +v 0.887867 0.823227 -0.802180 +v 0.887867 0.823227 0.844275 +v 0.887867 -0.823227 0.844275 +v 0.887867 0.823227 -0.683803 +v 0.887867 0.823227 0.702736 +v 0.887867 0.151145 0.004009 +v 0.887867 -0.689574 -0.802180 +v 0.887867 0.570596 -0.802180 +v 0.887867 -0.055024 -0.184068 +v 0.887867 -0.823227 0.584232 +v 0.887867 -0.823227 -0.601582 +v 0.887867 -0.219678 -0.005563 +v 0.887867 0.606177 0.844275 +v 0.887867 -0.655405 0.844275 +v 0.887867 -0.079847 0.184039 +v 0.952352 0.570596 -0.802180 +v 0.952352 0.823227 -0.802180 +v 0.952352 -0.823227 -0.601582 +v 0.952352 -0.823227 -0.802180 +v 0.952352 0.823227 0.702736 +v 0.952352 0.823227 0.844275 +v 0.952352 -0.655405 0.844275 +v 0.952352 -0.823227 0.844275 +v 0.952352 0.823227 -0.683803 +v 0.952352 0.151145 0.004009 +v 0.952352 -0.689574 -0.802180 +v 0.952352 -0.055024 -0.184068 +v 0.952352 -0.823227 0.584232 +v 0.952352 -0.219678 -0.005563 +v 0.952352 0.606177 0.844275 +v 0.952352 -0.079847 0.184039 +v 0.777977 -0.823227 0.868141 +v 0.777977 0.823227 0.868141 +v -0.868477 0.823227 0.868141 +v -0.868477 -0.823227 0.868141 +v 0.659600 0.823227 0.868141 +v -0.726938 0.823227 0.868141 +v -0.028212 0.151145 0.868141 +v 0.777977 -0.689574 0.868141 +v 0.777977 0.570596 0.868141 +v 0.159865 -0.055024 0.868141 +v -0.608435 -0.823227 0.868141 +v 0.577379 -0.823227 0.868141 +v -0.018640 -0.219678 0.868141 +v -0.868477 0.606177 0.868141 +v -0.868477 -0.655405 0.868141 +v -0.208242 -0.079847 0.868141 +v 0.777977 0.570596 0.932626 +v 0.777977 0.823227 0.932626 +v 0.577379 -0.823227 0.932626 +v 0.777977 -0.823227 0.932626 +v -0.726938 0.823227 0.932626 +v -0.868477 0.823227 0.932626 +v -0.868477 -0.655405 0.932626 +v -0.868477 -0.823227 0.932626 +v 0.659600 0.823227 0.932626 +v -0.028212 0.151145 0.932626 +v 0.777977 -0.689574 0.932626 +v 0.159865 -0.055024 0.932626 +v -0.608435 -0.823227 0.932626 +v -0.018640 -0.219678 0.932626 +v -0.868477 0.606177 0.932626 +v -0.208242 -0.079847 0.932626 +v -0.847430 -0.823227 -0.905203 +v -0.847430 0.823227 -0.905203 +v 0.799024 0.823227 -0.905204 +v 0.799024 -0.823227 -0.905204 +v -0.729053 0.823227 -0.905203 +v 0.657486 0.823227 -0.905204 +v -0.041241 0.151145 -0.905204 +v -0.847430 -0.689574 -0.905203 +v -0.847430 0.570596 -0.905203 +v -0.229318 -0.055024 -0.905203 +v 0.538982 -0.823227 -0.905204 +v -0.646832 -0.823227 -0.905203 +v -0.050813 -0.219678 -0.905204 +v 0.799024 0.606177 -0.905204 +v 0.799024 -0.655405 -0.905204 +v 0.138789 -0.079847 -0.905204 +v -0.847430 0.570596 -0.969688 +v -0.847430 0.823227 -0.969688 +v -0.646832 -0.823227 -0.969688 +v -0.847430 -0.823227 -0.969688 +v 0.657486 0.823227 -0.969688 +v 0.799024 0.823227 -0.969688 +v 0.799024 -0.655405 -0.969688 +v 0.799024 -0.823227 -0.969688 +v -0.729053 0.823227 -0.969688 +v -0.041241 0.151145 -0.969688 +v -0.847430 -0.689574 -0.969688 +v -0.229318 -0.055024 -0.969688 +v 0.538982 -0.823227 -0.969688 +v -0.050813 -0.219678 -0.969688 +v 0.799024 0.606177 -0.969688 +v 0.138789 -0.079847 -0.969688 +v -0.004027 -0.935600 -0.139112 +v -0.823227 -0.935600 0.688106 +v -0.823227 -0.935600 -0.588949 +v -0.194536 -0.935600 0.048259 +v 0.698928 -0.848073 -0.823227 +v 0.823227 -0.848073 -0.823227 +v 0.823227 -0.848073 0.644639 +v 0.823227 -0.848073 0.823227 +v -0.823227 -0.848073 -0.588949 +v -0.823227 -0.848073 -0.823227 +v -0.548307 -0.848073 0.823227 +v -0.823227 -0.848073 0.823227 +v 0.570449 -0.848073 0.823227 +v -0.004027 -0.848073 -0.139112 +v 0.823227 -0.848073 -0.601379 +v 0.038650 -0.848073 0.200819 +v -0.673373 -0.848073 -0.823227 +v 0.204301 -0.848073 0.053971 +v -0.823227 -0.848073 0.688106 +v -0.194536 -0.848073 0.048259 +v -0.894831 0.994376 -0.974780 +v -0.949790 0.994376 -0.952015 +v -0.972555 0.994376 -0.897056 +v -0.949790 0.994376 -0.842097 +v -0.894831 0.994376 -0.819332 +v -0.839872 0.994376 -0.842097 +v -0.817107 0.994376 -0.897056 +v -0.839872 0.994376 -0.952015 +v -0.949790 1.022838 -0.952015 +v -0.894831 1.022838 -0.974780 +v -0.972555 1.022838 -0.897056 +v -0.949790 1.022838 -0.842097 +v -0.894831 1.022838 -0.819332 +v -0.839872 1.022838 -0.842097 +v -0.817107 1.022838 -0.897056 +v -0.839872 1.022838 -0.952015 +v 0.902289 0.995367 -0.979004 +v 0.851156 0.995367 -0.957824 +v 0.829976 0.995367 -0.906690 +v 0.851156 0.995367 -0.855557 +v 0.902289 0.995367 -0.834377 +v 0.953422 0.995367 -0.855557 +v 0.974602 0.995367 -0.906690 +v 0.953422 0.995367 -0.957824 +v 0.851156 1.021847 -0.957824 +v 0.902289 1.021847 -0.979004 +v 0.829976 1.021847 -0.906690 +v 0.851156 1.021847 -0.855557 +v 0.902289 1.021847 -0.834377 +v 0.953422 1.021847 -0.855557 +v 0.974602 1.021847 -0.906690 +v 0.953422 1.021847 -0.957824 +v 0.902289 0.994229 0.801758 +v 0.846764 0.994229 0.824757 +v 0.823765 0.994229 0.880282 +v 0.846764 0.994229 0.935807 +v 0.902289 0.994229 0.958806 +v 0.957814 0.994229 0.935807 +v 0.980813 0.994229 0.880282 +v 0.957814 0.994229 0.824757 +v 0.846764 1.022984 0.824757 +v 0.902289 1.022984 0.801758 +v 0.823765 1.022984 0.880282 +v 0.846764 1.022984 0.935807 +v 0.902289 1.022984 0.958806 +v 0.957814 1.022984 0.935807 +v 0.980813 1.022984 0.880282 +v 0.957814 1.022984 0.824757 +v -0.889085 0.995636 0.800638 +v -0.939177 0.995636 0.821387 +v -0.959926 0.995636 0.871479 +v -0.939177 0.995636 0.921571 +v -0.889085 0.995636 0.942320 +v -0.838992 0.995636 0.921571 +v -0.818244 0.995636 0.871479 +v -0.838992 0.995636 0.821387 +v -0.939177 1.021577 0.821387 +v -0.889085 1.021577 0.800638 +v -0.959926 1.021577 0.871479 +v -0.939177 1.021577 0.921571 +v -0.889085 1.021577 0.942320 +v -0.838992 1.021577 0.921571 +v -0.818244 1.021577 0.871479 +v -0.838992 1.021577 0.821387 +v -0.887496 -1.019058 -0.960109 +v -0.942455 -1.019058 -0.937344 +v -0.965219 -1.019058 -0.882385 +v -0.942455 -1.019058 -0.827426 +v -0.887496 -1.019058 -0.804661 +v -0.832536 -1.019058 -0.827426 +v -0.809772 -1.019058 -0.882385 +v -0.832536 -1.019058 -0.937344 +v -0.942455 -0.990597 -0.937344 +v -0.887496 -0.990597 -0.960109 +v -0.965219 -0.990597 -0.882385 +v -0.942455 -0.990597 -0.827426 +v -0.887496 -0.990597 -0.804661 +v -0.832536 -0.990597 -0.827426 +v -0.809772 -0.990597 -0.882385 +v -0.832536 -0.990597 -0.937344 +v 0.906690 -1.018068 -0.952595 +v 0.855557 -1.018068 -0.931415 +v 0.834377 -1.018068 -0.880282 +v 0.855557 -1.018068 -0.829149 +v 0.906690 -1.018068 -0.807969 +v 0.957823 -1.018068 -0.829149 +v 0.979003 -1.018068 -0.880282 +v 0.957823 -1.018068 -0.931415 +v 0.855557 -0.991587 -0.931415 +v 0.906690 -0.991587 -0.952595 +v 0.834377 -0.991587 -0.880282 +v 0.855557 -0.991587 -0.829149 +v 0.906690 -0.991587 -0.807969 +v 0.957823 -0.991587 -0.829149 +v 0.979003 -0.991587 -0.880282 +v 0.957823 -0.991587 -0.931415 +v 0.902289 -1.019205 0.817603 +v 0.846764 -1.019205 0.840602 +v 0.823765 -1.019205 0.896127 +v 0.846764 -1.019205 0.951652 +v 0.902289 -1.019205 0.974651 +v 0.957814 -1.019205 0.951652 +v 0.980813 -1.019205 0.896127 +v 0.957814 -1.019205 0.840602 +v 0.846764 -0.990450 0.840602 +v 0.902289 -0.990450 0.817603 +v 0.823765 -0.990450 0.896127 +v 0.846764 -0.990450 0.951652 +v 0.902289 -0.990450 0.974651 +v 0.957814 -0.990450 0.951652 +v 0.980813 -0.990450 0.896127 +v 0.957814 -0.990450 0.840602 +v -0.883803 -1.017798 0.837610 +v -0.933895 -1.017798 0.858359 +v -0.954644 -1.017798 0.908451 +v -0.933895 -1.017798 0.958543 +v -0.883803 -1.017798 0.979292 +v -0.833711 -1.017798 0.958543 +v -0.812962 -1.017798 0.908451 +v -0.833711 -1.017798 0.858359 +v -0.933895 -0.991857 0.858359 +v -0.883803 -0.991857 0.837610 +v -0.954644 -0.991857 0.908451 +v -0.933895 -0.991857 0.958543 +v -0.883803 -0.991857 0.979292 +v -0.833711 -0.991857 0.958543 +v -0.812962 -0.991857 0.908451 +v -0.833711 -0.991857 0.858359 +v 0.997652 0.901886 -0.974780 +v 0.997652 0.956845 -0.952015 +v 0.997652 0.979610 -0.897056 +v 0.997652 0.956845 -0.842097 +v 0.997652 0.901886 -0.819332 +v 0.997652 0.846927 -0.842097 +v 0.997652 0.824162 -0.897056 +v 0.997652 0.846927 -0.952015 +v 1.026114 0.956845 -0.952015 +v 1.026114 0.901886 -0.974780 +v 1.026114 0.979610 -0.897056 +v 1.026114 0.956845 -0.842097 +v 1.026114 0.901886 -0.819332 +v 1.026114 0.846927 -0.842097 +v 1.026114 0.824162 -0.897056 +v 1.026114 0.846927 -0.952015 +v 0.998643 -0.895234 -0.979003 +v 0.998643 -0.844101 -0.957824 +v 0.998643 -0.822921 -0.906690 +v 0.998643 -0.844101 -0.855557 +v 0.998643 -0.895234 -0.834377 +v 0.998643 -0.946367 -0.855557 +v 0.998643 -0.967547 -0.906690 +v 0.998643 -0.946367 -0.957824 +v 1.025123 -0.844101 -0.957824 +v 1.025123 -0.895234 -0.979003 +v 1.025123 -0.822921 -0.906690 +v 1.025123 -0.844101 -0.855557 +v 1.025123 -0.895234 -0.834377 +v 1.025123 -0.946367 -0.855557 +v 1.025123 -0.967547 -0.906690 +v 1.025123 -0.946367 -0.957824 +v 0.997505 -0.895234 0.801758 +v 0.997505 -0.839709 0.824757 +v 0.997505 -0.816710 0.880282 +v 0.997505 -0.839709 0.935807 +v 0.997505 -0.895234 0.958806 +v 0.997505 -0.950759 0.935807 +v 0.997505 -0.973758 0.880282 +v 0.997505 -0.950759 0.824757 +v 1.026260 -0.839709 0.824757 +v 1.026260 -0.895234 0.801758 +v 1.026260 -0.816710 0.880282 +v 1.026260 -0.839709 0.935807 +v 1.026260 -0.895234 0.958806 +v 1.026260 -0.950759 0.935807 +v 1.026260 -0.973758 0.880282 +v 1.026260 -0.950759 0.824757 +v 0.998912 0.896139 0.800638 +v 0.998912 0.946232 0.821387 +v 0.998912 0.966981 0.871479 +v 0.998912 0.946232 0.921571 +v 0.998912 0.896139 0.942320 +v 0.998912 0.846047 0.921571 +v 0.998912 0.825298 0.871479 +v 0.998912 0.846047 0.821387 +v 1.024853 0.946232 0.821387 +v 1.024853 0.896139 0.800638 +v 1.024853 0.966981 0.871479 +v 1.024853 0.946232 0.921571 +v 1.024853 0.896139 0.942320 +v 1.024853 0.846047 0.921571 +v 1.024853 0.825298 0.871479 +v 1.024853 0.846047 0.821387 +v -1.015782 0.901886 -0.974780 +v -1.015782 0.956845 -0.952015 +v -1.015782 0.979610 -0.897056 +v -1.015782 0.956845 -0.842097 +v -1.015782 0.901886 -0.819332 +v -1.015782 0.846927 -0.842097 +v -1.015782 0.824162 -0.897056 +v -1.015782 0.846927 -0.952015 +v -0.987321 0.956845 -0.952015 +v -0.987321 0.901886 -0.974780 +v -0.987321 0.979610 -0.897056 +v -0.987321 0.956845 -0.842097 +v -0.987321 0.901886 -0.819332 +v -0.987321 0.846927 -0.842097 +v -0.987321 0.824162 -0.897056 +v -0.987321 0.846927 -0.952015 +v -1.014792 -0.872310 -0.968815 +v -1.014792 -0.821177 -0.947635 +v -1.014792 -0.799997 -0.896502 +v -1.014792 -0.821177 -0.845369 +v -1.014792 -0.872310 -0.824189 +v -1.014792 -0.923443 -0.845369 +v -1.014792 -0.944623 -0.896502 +v -1.014792 -0.923443 -0.947635 +v -0.988311 -0.821177 -0.947635 +v -0.988311 -0.872310 -0.968815 +v -0.988311 -0.799997 -0.896502 +v -0.988311 -0.821177 -0.845369 +v -0.988311 -0.872310 -0.824189 +v -0.988311 -0.923443 -0.845369 +v -0.988312 -0.944623 -0.896502 +v -0.988311 -0.923443 -0.947635 +v -1.015929 -0.872310 0.832323 +v -1.015929 -0.816785 0.855322 +v -1.015929 -0.793786 0.910847 +v -1.015929 -0.816785 0.966372 +v -1.015929 -0.872310 0.989371 +v -1.015929 -0.927835 0.966372 +v -1.015929 -0.950834 0.910847 +v -1.015929 -0.927835 0.855322 +v -0.987174 -0.816785 0.855322 +v -0.987174 -0.872310 0.832323 +v -0.987174 -0.793786 0.910847 +v -0.987174 -0.816785 0.966372 +v -0.987174 -0.872310 0.989371 +v -0.987174 -0.927835 0.966372 +v -0.987174 -0.950834 0.910847 +v -0.987174 -0.927835 0.855322 +v -1.014522 0.901421 0.837610 +v -1.014522 0.951513 0.858359 +v -1.014522 0.972262 0.908451 +v -1.014522 0.951513 0.958543 +v -1.014522 0.901421 0.979292 +v -1.014522 0.851329 0.958543 +v -1.014522 0.830580 0.908451 +v -1.014522 0.851329 0.858359 +v -0.988581 0.951513 0.858359 +v -0.988581 0.901421 0.837610 +v -0.988581 0.972262 0.908451 +v -0.988581 0.951513 0.958543 +v -0.988581 0.901421 0.979292 +v -0.988581 0.851329 0.958543 +v -0.988581 0.830580 0.908451 +v -0.988581 0.851329 0.858359 +v -0.988308 0.907168 -1.005483 +v -0.965544 0.962127 -1.005483 +v -0.910584 0.984892 -1.005483 +v -0.855625 0.962127 -1.005483 +v -0.832861 0.907168 -1.005483 +v -0.855625 0.852209 -1.005483 +v -0.910584 0.829444 -1.005483 +v -0.965544 0.852209 -1.005483 +v -0.965544 0.962127 -1.033944 +v -0.988308 0.907168 -1.033944 +v -0.910584 0.984892 -1.033944 +v -0.855625 0.962127 -1.033944 +v -0.832860 0.907168 -1.033944 +v -0.855625 0.852209 -1.033944 +v -0.910584 0.829444 -1.033944 +v -0.965544 0.852209 -1.033944 +v -0.985294 -0.879951 -1.006473 +v -0.964114 -0.828818 -1.006473 +v -0.912981 -0.807638 -1.006473 +v -0.861847 -0.828818 -1.006473 +v -0.840667 -0.879951 -1.006473 +v -0.861847 -0.931084 -1.006473 +v -0.912981 -0.952264 -1.006473 +v -0.964114 -0.931084 -1.006473 +v -0.964114 -0.828818 -1.032954 +v -0.985294 -0.879951 -1.032954 +v -0.912981 -0.807638 -1.032954 +v -0.861847 -0.828818 -1.032954 +v -0.840668 -0.879951 -1.032954 +v -0.861847 -0.931084 -1.032954 +v -0.912981 -0.952264 -1.032954 +v -0.964114 -0.931084 -1.032954 +v 0.804075 -0.884671 -1.005336 +v 0.827074 -0.829145 -1.005336 +v 0.882599 -0.806146 -1.005336 +v 0.938124 -0.829145 -1.005336 +v 0.961123 -0.884671 -1.005336 +v 0.938124 -0.940196 -1.005336 +v 0.882599 -0.963195 -1.005336 +v 0.827074 -0.940196 -1.005336 +v 0.827074 -0.829145 -1.034091 +v 0.804075 -0.884671 -1.034091 +v 0.882599 -0.806146 -1.034091 +v 0.938124 -0.829145 -1.034091 +v 0.961123 -0.884671 -1.034091 +v 0.938124 -0.940196 -1.034091 +v 0.882599 -0.963195 -1.034091 +v 0.827074 -0.940196 -1.034091 +v 0.818800 0.896139 -1.006743 +v 0.839549 0.946232 -1.006743 +v 0.889641 0.966980 -1.006743 +v 0.939733 0.946232 -1.006743 +v 0.960482 0.896139 -1.006743 +v 0.939733 0.846047 -1.006743 +v 0.889641 0.825298 -1.006743 +v 0.839549 0.846047 -1.006743 +v 0.839549 0.946232 -1.032684 +v 0.818800 0.896139 -1.032684 +v 0.889641 0.966980 -1.032684 +v 0.939733 0.946232 -1.032684 +v 0.960482 0.896139 -1.032684 +v 0.939733 0.846047 -1.032684 +v 0.889641 0.825298 -1.032684 +v 0.839549 0.846047 -1.032684 +v -0.956618 0.901886 1.007951 +v -0.933853 0.956845 1.007951 +v -0.878894 0.979610 1.007951 +v -0.823935 0.956845 1.007951 +v -0.801170 0.901886 1.007951 +v -0.823935 0.846927 1.007951 +v -0.878894 0.824162 1.007951 +v -0.933853 0.846927 1.007951 +v -0.933853 0.956845 0.979490 +v -0.956618 0.901886 0.979490 +v -0.878894 0.979610 0.979490 +v -0.823935 0.956845 0.979490 +v -0.801170 0.901886 0.979490 +v -0.823935 0.846927 0.979490 +v -0.878894 0.824162 0.979490 +v -0.933853 0.846927 0.979490 +v -0.963898 -0.879951 1.006961 +v -0.942718 -0.828818 1.006961 +v -0.891585 -0.807638 1.006961 +v -0.840452 -0.828818 1.006961 +v -0.819272 -0.879951 1.006961 +v -0.840452 -0.931084 1.006961 +v -0.891585 -0.952264 1.006961 +v -0.942718 -0.931084 1.006961 +v -0.942718 -0.828818 0.980481 +v -0.963898 -0.879951 0.980481 +v -0.891585 -0.807638 0.980481 +v -0.840452 -0.828818 0.980481 +v -0.819272 -0.879951 0.980481 +v -0.840452 -0.931084 0.980481 +v -0.891585 -0.952264 0.980481 +v -0.942718 -0.931084 0.980481 +v 0.830483 -0.889952 1.008098 +v 0.853482 -0.834427 1.008098 +v 0.909007 -0.811428 1.008098 +v 0.964532 -0.834427 1.008098 +v 0.987531 -0.889952 1.008098 +v 0.964532 -0.945477 1.008098 +v 0.909007 -0.968476 1.008098 +v 0.853482 -0.945477 1.008098 +v 0.853482 -0.834427 0.979343 +v 0.830483 -0.889952 0.979343 +v 0.909007 -0.811428 0.979343 +v 0.964532 -0.834427 0.979343 +v 0.987531 -0.889952 0.979343 +v 0.964532 -0.945477 0.979343 +v 0.909007 -0.968476 0.979343 +v 0.853482 -0.945477 0.979343 +v 0.834083 0.908366 1.006691 +v 0.854832 0.958458 1.006691 +v 0.904924 0.979207 1.006691 +v 0.955016 0.958458 1.006691 +v 0.975765 0.908366 1.006691 +v 0.955016 0.858273 1.006691 +v 0.904924 0.837525 1.006691 +v 0.854832 0.858273 1.006691 +v 0.854832 0.958458 0.980750 +v 0.834083 0.908366 0.980750 +v 0.904924 0.979207 0.980750 +v 0.955016 0.958458 0.980750 +v 0.975765 0.908366 0.980750 +v 0.955016 0.858273 0.980750 +v 0.904924 0.837525 0.980750 +v 0.854832 0.858273 0.980750 +vn -1.0000 -0.0000 -0.0000 +vn -0.0000 -0.0000 1.0000 +vn -0.0000 -0.0000 -1.0000 +vn -0.0000 -1.0000 -0.0000 +vn -0.0000 1.0000 -0.0000 +vn 1.0000 -0.0000 -0.0000 +vn -0.0000 0.7152 -0.6989 +vn -0.0000 -0.6989 0.7152 +vn -0.0000 -0.7028 0.7114 +vn -0.0000 0.7538 -0.6571 +vn -0.0000 0.6978 0.7163 +vn -0.0000 -0.6934 -0.7205 +vn -0.0000 0.7207 0.6932 +vn -0.0000 -0.7027 -0.7115 +vn 0.7270 -0.0000 0.6866 +vn -0.7133 -0.0000 -0.7009 +vn 0.7275 -0.0000 0.6861 +vn -0.6974 -0.0000 -0.7166 +vn -0.7603 -0.0000 0.6496 +vn 0.7148 -0.0000 -0.6993 +vn 0.6904 -0.0000 -0.7234 +vn -0.7118 -0.0000 0.7023 +vn -0.0000 0.7152 0.6989 +vn -0.0000 -0.6989 -0.7152 +vn -0.0000 -0.7028 -0.7114 +vn -0.0000 0.7538 0.6571 +vn -0.0000 0.6978 -0.7163 +vn -0.0000 -0.6934 0.7205 +vn -0.0000 0.7207 -0.6932 +vn -0.0000 -0.7027 0.7115 +vn -0.6989 0.7152 -0.0000 +vn 0.7152 -0.6989 -0.0000 +vn 0.7114 -0.7028 -0.0000 +vn -0.6571 0.7538 -0.0000 +vn 0.7163 0.6978 -0.0000 +vn -0.7205 -0.6934 -0.0000 +vn 0.6932 0.7207 -0.0000 +vn -0.7115 -0.7027 -0.0000 +vn 0.6989 0.7152 -0.0000 +vn -0.7152 -0.6989 -0.0000 +vn -0.7114 -0.7028 -0.0000 +vn 0.6571 0.7538 -0.0000 +vn -0.7163 0.6978 -0.0000 +vn 0.7205 -0.6934 -0.0000 +vn -0.6932 0.7207 -0.0000 +vn 0.7115 -0.7027 -0.0000 +vn 0.3827 -0.0000 -0.9239 +vn 0.9239 -0.0000 0.3827 +vn -0.3827 -0.0000 0.9239 +vn -0.9239 -0.0000 -0.3827 +vn 0.9239 -0.0000 -0.3827 +vn 0.3827 -0.0000 0.9239 +vn -0.9239 -0.0000 0.3827 +vn -0.3827 -0.0000 -0.9239 +vn -0.0000 -0.3827 -0.9239 +vn -0.0000 -0.9239 0.3827 +vn -0.0000 0.3827 0.9239 +vn -0.0000 0.9239 -0.3827 +vn -0.0000 -0.9239 -0.3827 +vn -0.0000 -0.3827 0.9239 +vn -0.0000 0.9239 0.3827 +vn -0.0000 0.3827 -0.9239 +vn -0.9239 -0.3827 -0.0000 +vn 0.3827 -0.9239 -0.0000 +vn 0.9239 0.3827 -0.0000 +vn -0.3827 0.9239 -0.0000 +vn -0.3827 -0.9239 -0.0000 +vn 0.9239 -0.3827 -0.0000 +vn 0.3827 0.9239 -0.0000 +vn -0.9239 0.3827 -0.0000 +vt 0.909461 0.090539 +vt 0.909461 0.909461 +vt 0.090539 0.909461 +vt 0.090539 0.909461 +vt 0.090539 0.090539 +vt 0.090539 0.090539 +vt 0.997385 0.997385 +vt 0.002615 0.997385 +vt 0.002615 0.002615 +vt 0.997385 0.002615 +vt 0.997385 0.997386 +vt 0.002615 0.997386 +vt 0.997386 0.002615 +vt 0.997386 0.997385 +vt 0.002615 0.997385 +vt 0.002615 0.002615 +vt 0.497997 0.569192 +vt 0.519224 0.400116 +vt 0.403241 0.475997 +vt 0.909461 0.799117 +vt 0.847636 0.909461 +vt 0.090539 0.801503 +vt 0.508475 0.575177 +vt 0.418930 0.460285 +vt 0.783733 0.090539 +vt 0.909461 0.179366 +vt 0.090539 0.174011 +vt 0.219880 0.090539 +vt 0.809686 0.090539 +vt 0.602021 0.472632 +vt 0.909461 0.157016 +vt 0.909461 0.783806 +vt 0.850582 0.909461 +vt 0.513235 0.390735 +vt 0.160938 0.909461 +vt 0.165074 0.909461 +vt 0.090539 0.792935 +vt 0.601616 0.473155 +vt 0.227280 0.090539 +vt 0.090539 0.157746 +vt 0.022788 0.964022 +vt 0.042798 0.984031 +vt 0.071095 0.984031 +vt 0.091104 0.964022 +vt 0.091104 0.935725 +vt 0.071095 0.915716 +vt 0.042798 0.915716 +vt 0.022788 0.935725 +s 0 +usemtl Material +f 13/1/1 14/2/1 38/2/1 37/1/1 +f 9/2/2 10/3/2 34/3/2 33/2/2 +f 31/4/1 32/5/1 56/5/1 55/4/1 +f 27/3/3 28/6/3 52/6/3 51/3/3 +f 30/2/4 31/4/4 55/4/4 54/2/4 +f 23/2/3 24/3/3 48/3/3 47/2/3 +f 1/7/5 5/8/5 10/3/5 9/2/5 +f 5/8/5 7/9/5 11/6/5 10/3/5 +f 7/9/5 3/10/5 12/1/5 11/6/5 +f 3/10/5 1/7/5 9/2/5 12/1/5 +f 4/10/2 3/11/2 14/2/2 13/1/2 +f 3/11/2 7/12/2 15/3/2 14/2/2 +f 7/12/2 8/9/2 16/6/2 15/3/2 +f 8/9/2 4/10/2 13/1/2 16/6/2 +f 8/10/1 7/7/1 18/2/1 17/1/1 +f 7/7/1 5/8/1 19/3/1 18/2/1 +f 5/8/1 6/9/1 20/6/1 19/3/1 +f 6/9/1 8/10/1 17/1/1 20/6/1 +f 6/9/4 2/10/4 22/1/4 21/6/4 +f 2/10/4 4/7/4 23/2/4 22/1/4 +f 4/7/4 8/8/4 24/3/4 23/2/4 +f 8/8/4 6/9/4 21/6/4 24/3/4 +f 2/10/6 1/7/6 26/2/6 25/1/6 +f 1/7/6 3/8/6 27/3/6 26/2/6 +f 3/8/6 4/9/6 28/6/6 27/3/6 +f 4/9/6 2/10/6 25/1/6 28/6/6 +f 6/13/3 5/14/3 30/2/3 29/1/3 +f 5/14/3 1/15/3 31/4/3 30/2/3 +f 1/15/3 2/16/3 32/5/3 31/4/3 +f 2/16/3 6/13/3 29/1/3 32/5/3 +f 33/2/5 34/3/5 35/6/5 36/1/5 +f 37/1/2 38/2/2 39/3/2 40/6/2 +f 41/1/1 42/2/1 43/3/1 44/6/1 +f 45/6/4 46/1/4 47/2/4 48/3/4 +f 49/1/6 50/2/6 51/3/6 52/6/6 +f 53/1/3 54/2/3 55/4/3 56/5/3 +f 12/1/1 9/2/1 33/2/1 36/1/1 +f 17/1/3 18/2/3 42/2/3 41/1/3 +f 16/6/5 13/1/5 37/1/5 40/6/5 +f 21/6/2 22/1/2 46/1/2 45/6/2 +f 10/3/6 11/6/6 35/6/6 34/3/6 +f 20/6/5 17/1/5 41/1/5 44/6/5 +f 25/1/2 26/2/2 50/2/2 49/1/2 +f 14/2/4 15/3/4 39/3/4 38/2/4 +f 24/3/6 21/6/6 45/6/6 48/3/6 +f 29/1/6 30/2/6 54/2/6 53/1/6 +f 11/6/3 12/1/3 36/1/3 35/6/3 +f 18/2/4 19/3/4 43/3/4 42/2/4 +f 28/6/5 25/1/5 49/1/5 52/6/5 +f 15/3/6 16/6/6 40/6/6 39/3/6 +f 22/1/1 23/2/1 47/2/1 46/1/1 +f 32/5/5 29/1/5 53/1/5 56/5/5 +f 19/3/2 20/6/2 44/6/2 43/3/2 +f 26/2/4 27/3/4 51/3/4 50/2/4 +f 113/17/4 107/18/4 116/19/4 +f 69/20/4 229/17/4 61/21/4 +f 86/22/6 79/23/6 88/24/6 +f 73/1/4 72/25/4 64/26/4 +f 229/17/4 70/18/4 232/19/4 +f 68/6/6 87/27/6 83/28/6 +f 84/29/6 82/30/6 80/31/6 +f 81/32/6 77/33/6 66/2/6 +f 82/30/6 79/23/6 81/32/6 +f 84/29/6 80/31/6 65/1/6 +f 83/28/6 88/24/6 85/34/6 +f 85/34/6 82/30/6 84/29/6 +f 81/32/6 79/23/6 77/33/6 +f 79/23/6 86/22/6 78/35/6 +f 78/35/6 86/22/6 67/3/6 +f 83/28/6 87/27/6 88/24/6 +f 85/34/6 79/23/6 82/30/6 +f 88/24/6 79/23/6 85/34/6 +f 103/22/1 104/24/1 98/23/1 +f 96/6/1 101/28/1 95/27/1 +f 91/29/1 99/31/1 100/30/1 +f 89/32/1 90/2/1 97/33/1 +f 100/30/1 89/32/1 98/23/1 +f 91/29/1 92/1/1 99/31/1 +f 101/28/1 102/34/1 104/24/1 +f 102/34/1 91/29/1 100/30/1 +f 89/32/1 97/33/1 98/23/1 +f 98/23/1 93/35/1 103/22/1 +f 93/35/1 94/3/1 103/22/1 +f 101/28/1 104/24/1 95/27/1 +f 102/34/1 100/30/1 98/23/1 +f 104/24/1 102/34/1 98/23/1 +f 77/33/7 79/23/7 98/23/7 97/33/7 +f 83/28/8 85/34/8 102/34/8 101/28/8 +f 65/1/2 80/31/2 99/31/2 92/1/2 +f 67/3/3 86/22/3 103/22/3 94/3/3 +f 82/30/9 81/32/9 89/32/9 100/30/9 +f 81/32/2 66/2/2 90/2/2 89/32/2 +f 88/24/10 87/27/10 95/27/10 104/24/10 +f 80/31/11 82/30/11 100/30/11 99/31/11 +f 84/29/4 65/1/4 92/1/4 91/29/4 +f 66/2/5 77/33/5 97/33/5 90/2/5 +f 86/22/12 88/24/12 104/24/12 103/22/12 +f 68/6/4 83/28/4 101/28/4 96/6/4 +f 78/35/5 67/3/5 94/3/5 93/35/5 +f 87/27/3 68/6/3 96/6/3 95/27/3 +f 79/23/13 78/35/13 93/35/13 98/23/13 +f 85/34/14 84/29/14 91/29/14 102/34/14 +f 60/1/4 105/25/4 109/26/4 +f 108/20/4 113/17/4 112/21/4 +f 111/36/4 115/37/4 58/3/4 +f 113/17/4 115/37/4 111/36/4 +f 108/20/4 112/21/4 57/2/4 +f 109/26/4 105/25/4 110/38/4 +f 110/38/4 113/17/4 108/20/4 +f 116/19/4 106/39/4 114/40/4 +f 114/40/4 106/39/4 59/6/4 +f 113/17/4 116/19/4 115/37/4 +f 110/38/4 107/18/4 113/17/4 +f 107/18/4 110/38/4 105/25/4 +f 106/39/4 116/19/4 107/18/4 +f 126/17/5 132/19/5 128/18/5 +f 120/1/5 119/26/5 125/25/5 +f 127/20/5 117/21/5 126/17/5 +f 129/36/5 122/3/5 121/37/5 +f 126/17/5 129/36/5 121/37/5 +f 127/20/5 118/2/5 117/21/5 +f 119/26/5 130/38/5 125/25/5 +f 130/38/5 127/20/5 126/17/5 +f 132/19/5 131/40/5 123/39/5 +f 131/40/5 124/6/5 123/39/5 +f 126/17/5 121/37/5 132/19/5 +f 130/38/5 126/17/5 128/18/5 +f 128/18/5 125/25/5 130/38/5 +f 123/39/5 128/18/5 132/19/5 +f 110/38/15 108/20/15 127/20/15 130/38/15 +f 105/25/2 60/1/2 120/1/2 125/25/2 +f 116/19/16 114/40/16 131/40/16 132/19/16 +f 111/36/3 58/3/3 122/3/3 129/36/3 +f 106/39/17 107/18/17 128/18/17 123/39/17 +f 57/2/3 112/21/3 117/21/3 118/2/3 +f 112/21/18 113/17/18 126/17/18 117/21/18 +f 107/18/19 105/25/19 125/25/19 128/18/19 +f 60/1/6 109/26/6 119/26/6 120/1/6 +f 113/17/20 111/36/20 129/36/20 126/17/20 +f 108/20/6 57/2/6 118/2/6 127/20/6 +f 58/3/1 115/37/1 121/37/1 122/3/1 +f 114/40/1 59/6/1 124/6/1 131/40/1 +f 59/6/2 106/39/2 123/39/2 124/6/2 +f 109/26/21 110/38/21 130/38/21 119/26/21 +f 115/37/22 116/19/22 132/19/22 121/37/22 +f 146/22/1 139/23/1 148/24/1 +f 136/6/1 147/27/1 143/28/1 +f 144/29/1 142/30/1 140/31/1 +f 141/32/1 137/33/1 134/2/1 +f 142/30/1 139/23/1 141/32/1 +f 144/29/1 140/31/1 133/1/1 +f 143/28/1 148/24/1 145/34/1 +f 145/34/1 142/30/1 144/29/1 +f 141/32/1 139/23/1 137/33/1 +f 139/23/1 146/22/1 138/35/1 +f 138/35/1 146/22/1 135/3/1 +f 143/28/1 147/27/1 148/24/1 +f 145/34/1 139/23/1 142/30/1 +f 148/24/1 139/23/1 145/34/1 +f 163/22/6 164/24/6 158/23/6 +f 156/6/6 161/28/6 155/27/6 +f 151/29/6 159/31/6 160/30/6 +f 149/32/6 150/2/6 157/33/6 +f 160/30/6 149/32/6 158/23/6 +f 151/29/6 152/1/6 159/31/6 +f 161/28/6 162/34/6 164/24/6 +f 162/34/6 151/29/6 160/30/6 +f 149/32/6 157/33/6 158/23/6 +f 158/23/6 153/35/6 163/22/6 +f 153/35/6 154/3/6 163/22/6 +f 161/28/6 164/24/6 155/27/6 +f 162/34/6 160/30/6 158/23/6 +f 164/24/6 162/34/6 158/23/6 +f 137/33/23 139/23/23 158/23/23 157/33/23 +f 143/28/24 145/34/24 162/34/24 161/28/24 +f 133/1/3 140/31/3 159/31/3 152/1/3 +f 135/3/2 146/22/2 163/22/2 154/3/2 +f 142/30/25 141/32/25 149/32/25 160/30/25 +f 141/32/3 134/2/3 150/2/3 149/32/3 +f 148/24/26 147/27/26 155/27/26 164/24/26 +f 140/31/27 142/30/27 160/30/27 159/31/27 +f 144/29/4 133/1/4 152/1/4 151/29/4 +f 134/2/5 137/33/5 157/33/5 150/2/5 +f 146/22/28 148/24/28 164/24/28 163/22/28 +f 136/6/4 143/28/4 161/28/4 156/6/4 +f 138/35/5 135/3/5 154/3/5 153/35/5 +f 147/27/2 136/6/2 156/6/2 155/27/2 +f 139/23/29 138/35/29 153/35/29 158/23/29 +f 145/34/30 144/29/30 151/29/30 162/34/30 +f 178/22/3 171/23/3 180/24/3 +f 168/6/3 179/27/3 175/28/3 +f 176/29/3 174/30/3 172/31/3 +f 173/32/3 169/33/3 166/2/3 +f 174/30/3 171/23/3 173/32/3 +f 176/29/3 172/31/3 165/1/3 +f 175/28/3 180/24/3 177/34/3 +f 177/34/3 174/30/3 176/29/3 +f 173/32/3 171/23/3 169/33/3 +f 171/23/3 178/22/3 170/35/3 +f 170/35/3 178/22/3 167/3/3 +f 175/28/3 179/27/3 180/24/3 +f 177/34/3 171/23/3 174/30/3 +f 180/24/3 171/23/3 177/34/3 +f 195/22/2 196/24/2 190/23/2 +f 188/6/2 193/28/2 187/27/2 +f 183/29/2 191/31/2 192/30/2 +f 181/32/2 182/2/2 189/33/2 +f 192/30/2 181/32/2 190/23/2 +f 183/29/2 184/1/2 191/31/2 +f 193/28/2 194/34/2 196/24/2 +f 194/34/2 183/29/2 192/30/2 +f 181/32/2 189/33/2 190/23/2 +f 190/23/2 185/35/2 195/22/2 +f 185/35/2 186/3/2 195/22/2 +f 193/28/2 196/24/2 187/27/2 +f 194/34/2 192/30/2 190/23/2 +f 196/24/2 194/34/2 190/23/2 +f 169/33/31 171/23/31 190/23/31 189/33/31 +f 175/28/32 177/34/32 194/34/32 193/28/32 +f 165/1/6 172/31/6 191/31/6 184/1/6 +f 167/3/1 178/22/1 195/22/1 186/3/1 +f 174/30/33 173/32/33 181/32/33 192/30/33 +f 173/32/6 166/2/6 182/2/6 181/32/6 +f 180/24/34 179/27/34 187/27/34 196/24/34 +f 172/31/35 174/30/35 192/30/35 191/31/35 +f 176/29/4 165/1/4 184/1/4 183/29/4 +f 166/2/5 169/33/5 189/33/5 182/2/5 +f 178/22/36 180/24/36 196/24/36 195/22/36 +f 168/6/4 175/28/4 193/28/4 188/6/4 +f 170/35/5 167/3/5 186/3/5 185/35/5 +f 179/27/1 168/6/1 188/6/1 187/27/1 +f 171/23/37 170/35/37 185/35/37 190/23/37 +f 177/34/38 176/29/38 183/29/38 194/34/38 +f 210/22/2 203/23/2 212/24/2 +f 200/6/2 211/27/2 207/28/2 +f 208/29/2 206/30/2 204/31/2 +f 205/32/2 201/33/2 198/2/2 +f 206/30/2 203/23/2 205/32/2 +f 208/29/2 204/31/2 197/1/2 +f 207/28/2 212/24/2 209/34/2 +f 209/34/2 206/30/2 208/29/2 +f 205/32/2 203/23/2 201/33/2 +f 203/23/2 210/22/2 202/35/2 +f 202/35/2 210/22/2 199/3/2 +f 207/28/2 211/27/2 212/24/2 +f 209/34/2 203/23/2 206/30/2 +f 212/24/2 203/23/2 209/34/2 +f 227/22/3 228/24/3 222/23/3 +f 220/6/3 225/28/3 219/27/3 +f 215/29/3 223/31/3 224/30/3 +f 213/32/3 214/2/3 221/33/3 +f 224/30/3 213/32/3 222/23/3 +f 215/29/3 216/1/3 223/31/3 +f 225/28/3 226/34/3 228/24/3 +f 226/34/3 215/29/3 224/30/3 +f 213/32/3 221/33/3 222/23/3 +f 222/23/3 217/35/3 227/22/3 +f 217/35/3 218/3/3 227/22/3 +f 225/28/3 228/24/3 219/27/3 +f 226/34/3 224/30/3 222/23/3 +f 228/24/3 226/34/3 222/23/3 +f 201/33/39 203/23/39 222/23/39 221/33/39 +f 207/28/40 209/34/40 226/34/40 225/28/40 +f 197/1/1 204/31/1 223/31/1 216/1/1 +f 199/3/6 210/22/6 227/22/6 218/3/6 +f 206/30/41 205/32/41 213/32/41 224/30/41 +f 205/32/1 198/2/1 214/2/1 213/32/1 +f 212/24/42 211/27/42 219/27/42 228/24/42 +f 204/31/43 206/30/43 224/30/43 223/31/43 +f 208/29/4 197/1/4 216/1/4 215/29/4 +f 198/2/5 201/33/5 221/33/5 214/2/5 +f 210/22/44 212/24/44 228/24/44 227/22/44 +f 200/6/4 207/28/4 225/28/4 220/6/4 +f 202/35/5 199/3/5 218/3/5 217/35/5 +f 211/27/6 200/6/6 220/6/6 219/27/6 +f 203/23/45 202/35/45 217/35/45 222/23/45 +f 209/34/46 208/29/46 215/29/46 226/34/46 +f 62/36/4 231/37/4 75/3/4 +f 229/17/4 231/37/4 62/36/4 +f 69/20/4 61/21/4 76/2/4 +f 64/26/4 72/25/4 63/38/4 +f 63/38/4 229/17/4 69/20/4 +f 232/19/4 71/39/4 230/40/4 +f 230/40/4 71/39/4 74/6/4 +f 229/17/4 232/19/4 231/37/4 +f 63/38/4 70/18/4 229/17/4 +f 70/18/4 63/38/4 72/25/4 +f 71/39/4 232/19/4 70/18/4 +f 242/17/5 248/19/5 244/18/5 +f 236/1/5 235/26/5 241/25/5 +f 243/20/5 233/21/5 242/17/5 +f 245/36/5 238/3/5 237/37/5 +f 242/17/5 245/36/5 237/37/5 +f 243/20/5 234/2/5 233/21/5 +f 235/26/5 246/38/5 241/25/5 +f 246/38/5 243/20/5 242/17/5 +f 248/19/5 247/40/5 239/39/5 +f 247/40/5 240/6/5 239/39/5 +f 242/17/5 237/37/5 248/19/5 +f 246/38/5 242/17/5 244/18/5 +f 244/18/5 241/25/5 246/38/5 +f 239/39/5 244/18/5 248/19/5 +f 63/38/15 69/20/15 243/20/15 246/38/15 +f 72/25/2 73/1/2 236/1/2 241/25/2 +f 232/19/16 230/40/16 247/40/16 248/19/16 +f 62/36/3 75/3/3 238/3/3 245/36/3 +f 71/39/17 70/18/17 244/18/17 239/39/17 +f 76/2/3 61/21/3 233/21/3 234/2/3 +f 61/21/18 229/17/18 242/17/18 233/21/18 +f 70/18/19 72/25/19 241/25/19 244/18/19 +f 73/1/6 64/26/6 235/26/6 236/1/6 +f 229/17/20 62/36/20 245/36/20 242/17/20 +f 69/20/6 76/2/6 234/2/6 243/20/6 +f 75/3/1 231/37/1 237/37/1 238/3/1 +f 230/40/1 74/6/1 240/6/1 247/40/1 +f 74/6/2 71/39/2 239/39/2 240/6/2 +f 64/26/21 63/38/21 246/38/21 235/26/21 +f 231/37/22 232/19/22 248/19/22 237/37/22 +f 250/41/4 249/42/4 256/43/4 255/44/4 254/45/4 253/46/4 252/47/4 251/48/4 +f 257/41/5 259/48/5 260/47/5 261/46/5 262/45/5 263/44/5 264/43/5 258/42/5 +f 256/43/47 249/42/47 258/42/47 264/43/47 +f 254/45/48 255/44/48 263/44/48 262/45/48 +f 252/47/49 253/46/49 261/46/49 260/47/49 +f 250/41/50 251/48/50 259/48/50 257/41/50 +f 255/44/51 256/43/51 264/43/51 263/44/51 +f 253/46/52 254/45/52 262/45/52 261/46/52 +f 251/48/53 252/47/53 260/47/53 259/48/53 +f 249/42/54 250/41/54 257/41/54 258/42/54 +f 266/41/4 265/42/4 272/43/4 271/44/4 270/45/4 269/46/4 268/47/4 267/48/4 +f 273/41/5 275/48/5 276/47/5 277/46/5 278/45/5 279/44/5 280/43/5 274/42/5 +f 272/43/47 265/42/47 274/42/47 280/43/47 +f 270/45/48 271/44/48 279/44/48 278/45/48 +f 268/47/49 269/46/49 277/46/49 276/47/49 +f 266/41/50 267/48/50 275/48/50 273/41/50 +f 271/44/51 272/43/51 280/43/51 279/44/51 +f 269/46/52 270/45/52 278/45/52 277/46/52 +f 267/48/53 268/47/53 276/47/53 275/48/53 +f 265/42/54 266/41/54 273/41/54 274/42/54 +f 282/41/4 281/42/4 288/43/4 287/44/4 286/45/4 285/46/4 284/47/4 283/48/4 +f 289/41/5 291/48/5 292/47/5 293/46/5 294/45/5 295/44/5 296/43/5 290/42/5 +f 288/43/47 281/42/47 290/42/47 296/43/47 +f 286/45/48 287/44/48 295/44/48 294/45/48 +f 284/47/49 285/46/49 293/46/49 292/47/49 +f 282/41/50 283/48/50 291/48/50 289/41/50 +f 287/44/51 288/43/51 296/43/51 295/44/51 +f 285/46/52 286/45/52 294/45/52 293/46/52 +f 283/48/53 284/47/53 292/47/53 291/48/53 +f 281/42/54 282/41/54 289/41/54 290/42/54 +f 298/41/4 297/42/4 304/43/4 303/44/4 302/45/4 301/46/4 300/47/4 299/48/4 +f 305/41/5 307/48/5 308/47/5 309/46/5 310/45/5 311/44/5 312/43/5 306/42/5 +f 304/43/47 297/42/47 306/42/47 312/43/47 +f 302/45/48 303/44/48 311/44/48 310/45/48 +f 300/47/49 301/46/49 309/46/49 308/47/49 +f 298/41/50 299/48/50 307/48/50 305/41/50 +f 303/44/51 304/43/51 312/43/51 311/44/51 +f 301/46/52 302/45/52 310/45/52 309/46/52 +f 299/48/53 300/47/53 308/47/53 307/48/53 +f 297/42/54 298/41/54 305/41/54 306/42/54 +f 314/41/4 313/42/4 320/43/4 319/44/4 318/45/4 317/46/4 316/47/4 315/48/4 +f 321/41/5 323/48/5 324/47/5 325/46/5 326/45/5 327/44/5 328/43/5 322/42/5 +f 320/43/47 313/42/47 322/42/47 328/43/47 +f 318/45/48 319/44/48 327/44/48 326/45/48 +f 316/47/49 317/46/49 325/46/49 324/47/49 +f 314/41/50 315/48/50 323/48/50 321/41/50 +f 319/44/51 320/43/51 328/43/51 327/44/51 +f 317/46/52 318/45/52 326/45/52 325/46/52 +f 315/48/53 316/47/53 324/47/53 323/48/53 +f 313/42/54 314/41/54 321/41/54 322/42/54 +f 330/41/4 329/42/4 336/43/4 335/44/4 334/45/4 333/46/4 332/47/4 331/48/4 +f 337/41/5 339/48/5 340/47/5 341/46/5 342/45/5 343/44/5 344/43/5 338/42/5 +f 336/43/47 329/42/47 338/42/47 344/43/47 +f 334/45/48 335/44/48 343/44/48 342/45/48 +f 332/47/49 333/46/49 341/46/49 340/47/49 +f 330/41/50 331/48/50 339/48/50 337/41/50 +f 335/44/51 336/43/51 344/43/51 343/44/51 +f 333/46/52 334/45/52 342/45/52 341/46/52 +f 331/48/53 332/47/53 340/47/53 339/48/53 +f 329/42/54 330/41/54 337/41/54 338/42/54 +f 346/41/4 345/42/4 352/43/4 351/44/4 350/45/4 349/46/4 348/47/4 347/48/4 +f 353/41/5 355/48/5 356/47/5 357/46/5 358/45/5 359/44/5 360/43/5 354/42/5 +f 352/43/47 345/42/47 354/42/47 360/43/47 +f 350/45/48 351/44/48 359/44/48 358/45/48 +f 348/47/49 349/46/49 357/46/49 356/47/49 +f 346/41/50 347/48/50 355/48/50 353/41/50 +f 351/44/51 352/43/51 360/43/51 359/44/51 +f 349/46/52 350/45/52 358/45/52 357/46/52 +f 347/48/53 348/47/53 356/47/53 355/48/53 +f 345/42/54 346/41/54 353/41/54 354/42/54 +f 362/41/4 361/42/4 368/43/4 367/44/4 366/45/4 365/46/4 364/47/4 363/48/4 +f 369/41/5 371/48/5 372/47/5 373/46/5 374/45/5 375/44/5 376/43/5 370/42/5 +f 368/43/47 361/42/47 370/42/47 376/43/47 +f 366/45/48 367/44/48 375/44/48 374/45/48 +f 364/47/49 365/46/49 373/46/49 372/47/49 +f 362/41/50 363/48/50 371/48/50 369/41/50 +f 367/44/51 368/43/51 376/43/51 375/44/51 +f 365/46/52 366/45/52 374/45/52 373/46/52 +f 363/48/53 364/47/53 372/47/53 371/48/53 +f 361/42/54 362/41/54 369/41/54 370/42/54 +f 378/41/1 377/42/1 384/43/1 383/44/1 382/45/1 381/46/1 380/47/1 379/48/1 +f 385/41/6 387/48/6 388/47/6 389/46/6 390/45/6 391/44/6 392/43/6 386/42/6 +f 384/43/55 377/42/55 386/42/55 392/43/55 +f 382/45/56 383/44/56 391/44/56 390/45/56 +f 380/47/57 381/46/57 389/46/57 388/47/57 +f 378/41/58 379/48/58 387/48/58 385/41/58 +f 383/44/59 384/43/59 392/43/59 391/44/59 +f 381/46/60 382/45/60 390/45/60 389/46/60 +f 379/48/61 380/47/61 388/47/61 387/48/61 +f 377/42/62 378/41/62 385/41/62 386/42/62 +f 394/41/1 393/42/1 400/43/1 399/44/1 398/45/1 397/46/1 396/47/1 395/48/1 +f 401/41/6 403/48/6 404/47/6 405/46/6 406/45/6 407/44/6 408/43/6 402/42/6 +f 400/43/55 393/42/55 402/42/55 408/43/55 +f 398/45/56 399/44/56 407/44/56 406/45/56 +f 396/47/57 397/46/57 405/46/57 404/47/57 +f 394/41/58 395/48/58 403/48/58 401/41/58 +f 399/44/59 400/43/59 408/43/59 407/44/59 +f 397/46/60 398/45/60 406/45/60 405/46/60 +f 395/48/61 396/47/61 404/47/61 403/48/61 +f 393/42/62 394/41/62 401/41/62 402/42/62 +f 410/41/1 409/42/1 416/43/1 415/44/1 414/45/1 413/46/1 412/47/1 411/48/1 +f 417/41/6 419/48/6 420/47/6 421/46/6 422/45/6 423/44/6 424/43/6 418/42/6 +f 416/43/55 409/42/55 418/42/55 424/43/55 +f 414/45/56 415/44/56 423/44/56 422/45/56 +f 412/47/57 413/46/57 421/46/57 420/47/57 +f 410/41/58 411/48/58 419/48/58 417/41/58 +f 415/44/59 416/43/59 424/43/59 423/44/59 +f 413/46/60 414/45/60 422/45/60 421/46/60 +f 411/48/61 412/47/61 420/47/61 419/48/61 +f 409/42/62 410/41/62 417/41/62 418/42/62 +f 426/41/1 425/42/1 432/43/1 431/44/1 430/45/1 429/46/1 428/47/1 427/48/1 +f 433/41/6 435/48/6 436/47/6 437/46/6 438/45/6 439/44/6 440/43/6 434/42/6 +f 432/43/55 425/42/55 434/42/55 440/43/55 +f 430/45/56 431/44/56 439/44/56 438/45/56 +f 428/47/57 429/46/57 437/46/57 436/47/57 +f 426/41/58 427/48/58 435/48/58 433/41/58 +f 431/44/59 432/43/59 440/43/59 439/44/59 +f 429/46/60 430/45/60 438/45/60 437/46/60 +f 427/48/61 428/47/61 436/47/61 435/48/61 +f 425/42/62 426/41/62 433/41/62 434/42/62 +f 442/41/1 441/42/1 448/43/1 447/44/1 446/45/1 445/46/1 444/47/1 443/48/1 +f 449/41/6 451/48/6 452/47/6 453/46/6 454/45/6 455/44/6 456/43/6 450/42/6 +f 448/43/55 441/42/55 450/42/55 456/43/55 +f 446/45/56 447/44/56 455/44/56 454/45/56 +f 444/47/57 445/46/57 453/46/57 452/47/57 +f 442/41/58 443/48/58 451/48/58 449/41/58 +f 447/44/59 448/43/59 456/43/59 455/44/59 +f 445/46/60 446/45/60 454/45/60 453/46/60 +f 443/48/61 444/47/61 452/47/61 451/48/61 +f 441/42/62 442/41/62 449/41/62 450/42/62 +f 458/41/1 457/42/1 464/43/1 463/44/1 462/45/1 461/46/1 460/47/1 459/48/1 +f 465/41/6 467/48/6 468/47/6 469/46/6 470/45/6 471/44/6 472/43/6 466/42/6 +f 464/43/55 457/42/55 466/42/55 472/43/55 +f 462/45/56 463/44/56 471/44/56 470/45/56 +f 460/47/57 461/46/57 469/46/57 468/47/57 +f 458/41/58 459/48/58 467/48/58 465/41/58 +f 463/44/59 464/43/59 472/43/59 471/44/59 +f 461/46/60 462/45/60 470/45/60 469/46/60 +f 459/48/61 460/47/61 468/47/61 467/48/61 +f 457/42/62 458/41/62 465/41/62 466/42/62 +f 474/41/1 473/42/1 480/43/1 479/44/1 478/45/1 477/46/1 476/47/1 475/48/1 +f 481/41/6 483/48/6 484/47/6 485/46/6 486/45/6 487/44/6 488/43/6 482/42/6 +f 480/43/55 473/42/55 482/42/55 488/43/55 +f 478/45/56 479/44/56 487/44/56 486/45/56 +f 476/47/57 477/46/57 485/46/57 484/47/57 +f 474/41/58 475/48/58 483/48/58 481/41/58 +f 479/44/59 480/43/59 488/43/59 487/44/59 +f 477/46/60 478/45/60 486/45/60 485/46/60 +f 475/48/61 476/47/61 484/47/61 483/48/61 +f 473/42/62 474/41/62 481/41/62 482/42/62 +f 490/41/1 489/42/1 496/43/1 495/44/1 494/45/1 493/46/1 492/47/1 491/48/1 +f 497/41/6 499/48/6 500/47/6 501/46/6 502/45/6 503/44/6 504/43/6 498/42/6 +f 496/43/55 489/42/55 498/42/55 504/43/55 +f 494/45/56 495/44/56 503/44/56 502/45/56 +f 492/47/57 493/46/57 501/46/57 500/47/57 +f 490/41/58 491/48/58 499/48/58 497/41/58 +f 495/44/59 496/43/59 504/43/59 503/44/59 +f 493/46/60 494/45/60 502/45/60 501/46/60 +f 491/48/61 492/47/61 500/47/61 499/48/61 +f 489/42/62 490/41/62 497/41/62 498/42/62 +f 506/41/2 505/42/2 512/43/2 511/44/2 510/45/2 509/46/2 508/47/2 507/48/2 +f 513/41/3 515/48/3 516/47/3 517/46/3 518/45/3 519/44/3 520/43/3 514/42/3 +f 512/43/63 505/42/63 514/42/63 520/43/63 +f 510/45/64 511/44/64 519/44/64 518/45/64 +f 508/47/65 509/46/65 517/46/65 516/47/65 +f 506/41/66 507/48/66 515/48/66 513/41/66 +f 511/44/67 512/43/67 520/43/67 519/44/67 +f 509/46/68 510/45/68 518/45/68 517/46/68 +f 507/48/69 508/47/69 516/47/69 515/48/69 +f 505/42/70 506/41/70 513/41/70 514/42/70 +f 522/41/2 521/42/2 528/43/2 527/44/2 526/45/2 525/46/2 524/47/2 523/48/2 +f 529/41/3 531/48/3 532/47/3 533/46/3 534/45/3 535/44/3 536/43/3 530/42/3 +f 528/43/63 521/42/63 530/42/63 536/43/63 +f 526/45/64 527/44/64 535/44/64 534/45/64 +f 524/47/65 525/46/65 533/46/65 532/47/65 +f 522/41/66 523/48/66 531/48/66 529/41/66 +f 527/44/67 528/43/67 536/43/67 535/44/67 +f 525/46/68 526/45/68 534/45/68 533/46/68 +f 523/48/69 524/47/69 532/47/69 531/48/69 +f 521/42/70 522/41/70 529/41/70 530/42/70 +f 538/41/2 537/42/2 544/43/2 543/44/2 542/45/2 541/46/2 540/47/2 539/48/2 +f 545/41/3 547/48/3 548/47/3 549/46/3 550/45/3 551/44/3 552/43/3 546/42/3 +f 544/43/63 537/42/63 546/42/63 552/43/63 +f 542/45/64 543/44/64 551/44/64 550/45/64 +f 540/47/65 541/46/65 549/46/65 548/47/65 +f 538/41/66 539/48/66 547/48/66 545/41/66 +f 543/44/67 544/43/67 552/43/67 551/44/67 +f 541/46/68 542/45/68 550/45/68 549/46/68 +f 539/48/69 540/47/69 548/47/69 547/48/69 +f 537/42/70 538/41/70 545/41/70 546/42/70 +f 554/41/2 553/42/2 560/43/2 559/44/2 558/45/2 557/46/2 556/47/2 555/48/2 +f 561/41/3 563/48/3 564/47/3 565/46/3 566/45/3 567/44/3 568/43/3 562/42/3 +f 560/43/63 553/42/63 562/42/63 568/43/63 +f 558/45/64 559/44/64 567/44/64 566/45/64 +f 556/47/65 557/46/65 565/46/65 564/47/65 +f 554/41/66 555/48/66 563/48/66 561/41/66 +f 559/44/67 560/43/67 568/43/67 567/44/67 +f 557/46/68 558/45/68 566/45/68 565/46/68 +f 555/48/69 556/47/69 564/47/69 563/48/69 +f 553/42/70 554/41/70 561/41/70 562/42/70 +f 570/41/2 569/42/2 576/43/2 575/44/2 574/45/2 573/46/2 572/47/2 571/48/2 +f 577/41/3 579/48/3 580/47/3 581/46/3 582/45/3 583/44/3 584/43/3 578/42/3 +f 576/43/63 569/42/63 578/42/63 584/43/63 +f 574/45/64 575/44/64 583/44/64 582/45/64 +f 572/47/65 573/46/65 581/46/65 580/47/65 +f 570/41/66 571/48/66 579/48/66 577/41/66 +f 575/44/67 576/43/67 584/43/67 583/44/67 +f 573/46/68 574/45/68 582/45/68 581/46/68 +f 571/48/69 572/47/69 580/47/69 579/48/69 +f 569/42/70 570/41/70 577/41/70 578/42/70 +f 586/41/2 585/42/2 592/43/2 591/44/2 590/45/2 589/46/2 588/47/2 587/48/2 +f 593/41/3 595/48/3 596/47/3 597/46/3 598/45/3 599/44/3 600/43/3 594/42/3 +f 592/43/63 585/42/63 594/42/63 600/43/63 +f 590/45/64 591/44/64 599/44/64 598/45/64 +f 588/47/65 589/46/65 597/46/65 596/47/65 +f 586/41/66 587/48/66 595/48/66 593/41/66 +f 591/44/67 592/43/67 600/43/67 599/44/67 +f 589/46/68 590/45/68 598/45/68 597/46/68 +f 587/48/69 588/47/69 596/47/69 595/48/69 +f 585/42/70 586/41/70 593/41/70 594/42/70 +f 602/41/2 601/42/2 608/43/2 607/44/2 606/45/2 605/46/2 604/47/2 603/48/2 +f 609/41/3 611/48/3 612/47/3 613/46/3 614/45/3 615/44/3 616/43/3 610/42/3 +f 608/43/63 601/42/63 610/42/63 616/43/63 +f 606/45/64 607/44/64 615/44/64 614/45/64 +f 604/47/65 605/46/65 613/46/65 612/47/65 +f 602/41/66 603/48/66 611/48/66 609/41/66 +f 607/44/67 608/43/67 616/43/67 615/44/67 +f 605/46/68 606/45/68 614/45/68 613/46/68 +f 603/48/69 604/47/69 612/47/69 611/48/69 +f 601/42/70 602/41/70 609/41/70 610/42/70 +f 618/41/2 617/42/2 624/43/2 623/44/2 622/45/2 621/46/2 620/47/2 619/48/2 +f 625/41/3 627/48/3 628/47/3 629/46/3 630/45/3 631/44/3 632/43/3 626/42/3 +f 624/43/63 617/42/63 626/42/63 632/43/63 +f 622/45/64 623/44/64 631/44/64 630/45/64 +f 620/47/65 621/46/65 629/46/65 628/47/65 +f 618/41/66 619/48/66 627/48/66 625/41/66 +f 623/44/67 624/43/67 632/43/67 631/44/67 +f 621/46/68 622/45/68 630/45/68 629/46/68 +f 619/48/69 620/47/69 628/47/69 627/48/69 +f 617/42/70 618/41/70 625/41/70 626/42/70 diff --git a/box.tscn b/box.tscn new file mode 100644 index 0000000..5dbaa91 --- /dev/null +++ b/box.tscn @@ -0,0 +1,20 @@ +[gd_scene load_steps=4 format=2] + +[ext_resource path="res://box.obj" type="ArrayMesh" id=1] +[ext_resource path="res://box.gd" type="Script" id=2] + +[sub_resource type="BoxShape" id=1] +extents = Vector3( 1.4, 1.35, 1.4 ) + +[node name="RigidBody" type="RigidBody"] +mass = 0.1 +continuous_cd = true +script = ExtResource( 2 ) + +[node name="MeshInstance" type="MeshInstance" parent="."] +transform = Transform( 0.5, 0, 0, 0, 0.5, 0, 0, 0, 0.5, 0, 0, 0 ) +mesh = ExtResource( 1 ) + +[node name="CollisionShape" type="CollisionShape" parent="."] +transform = Transform( 0.35, 0, 0, 0, 0.375, 0, 0, 0, 0.35, 0, 0, 0 ) +shape = SubResource( 1 ) diff --git a/box/Material_001.material b/box/Material_001.material Binary files differnew file mode 100644 index 0000000..a08ed85 --- /dev/null +++ b/box/Material_001.material diff --git a/box/Material_003.material b/box/Material_003.material Binary files differnew file mode 100644 index 0000000..f18638c --- /dev/null +++ b/box/Material_003.material diff --git a/box/box.obj b/box/box.obj new file mode 100644 index 0000000..9132e4e --- /dev/null +++ b/box/box.obj @@ -0,0 +1,278 @@ +# Blender v2.83.18 OBJ File: '' +# www.blender.org +mtllib box.mtl +o Box_Cube.001 +v -0.539011 0.673763 0.539011 +v -0.539011 0.673763 -0.539011 +v 0.539011 0.673763 -0.539011 +v 0.539011 0.673763 0.539011 +v 0.673763 0.539011 -0.539011 +v 0.673763 -0.539011 -0.539011 +v 0.673763 -0.539011 0.539011 +v 0.673763 0.539011 0.539011 +v -0.539011 -0.539011 0.673763 +v -0.539011 0.539011 0.673763 +v 0.539011 0.539011 0.673763 +v 0.539011 -0.539011 0.673763 +v -0.673763 -0.539011 -0.539011 +v -0.673763 -0.539011 0.539011 +v -0.673763 0.539011 0.539011 +v -0.673763 0.539011 -0.539011 +v -0.539011 0.539011 -0.673763 +v -0.539011 -0.539011 -0.673763 +v 0.539011 -0.539011 -0.673763 +v 0.539011 0.539011 -0.673763 +v -0.539011 -0.673763 -0.539011 +v -0.539011 -0.673763 0.539011 +v 0.539011 -0.673763 -0.539011 +v 0.539011 -0.673763 0.539011 +v -0.675000 -0.750000 0.675000 +v -0.675000 0.750000 0.675000 +v -0.675000 -0.750000 -0.675000 +v -0.675000 0.750000 -0.675000 +v 0.675000 -0.750000 0.675000 +v 0.675000 0.750000 0.675000 +v 0.675000 -0.750000 -0.675000 +v 0.675000 0.750000 -0.675000 +v -0.600000 0.750000 0.600000 +v -0.600000 0.750000 -0.600000 +v 0.600000 0.750000 -0.600000 +v 0.600000 0.750000 0.600000 +v 0.750000 0.600000 -0.600000 +v 0.750000 -0.600000 -0.600000 +v 0.750000 -0.600000 0.600000 +v 0.750000 0.600000 0.600000 +v -0.600000 -0.600000 0.750000 +v -0.600000 0.600000 0.750000 +v 0.600000 0.600000 0.750000 +v 0.600000 -0.600000 0.750000 +v -0.750000 -0.600000 -0.600000 +v -0.750000 -0.600000 0.600000 +v -0.750000 0.600000 0.600000 +v -0.750000 0.600000 -0.600000 +v -0.600000 0.600000 -0.750000 +v -0.600000 -0.600000 -0.750000 +v 0.600000 -0.600000 -0.750000 +v 0.600000 0.600000 -0.750000 +v -0.600000 -0.750000 -0.600000 +v -0.600000 -0.750000 0.600000 +v 0.600000 -0.750000 -0.600000 +v 0.600000 -0.750000 0.600000 +v -0.539011 0.673763 0.539011 +v -0.539011 0.673763 -0.539011 +v 0.539011 0.673763 -0.539011 +v 0.539011 0.673763 0.539011 +v 0.673763 0.539011 -0.539011 +v 0.673763 -0.539011 -0.539011 +v 0.673763 -0.539011 0.539011 +v 0.673763 0.539011 0.539011 +v -0.539011 -0.539011 0.673763 +v -0.539011 0.539011 0.673763 +v 0.539011 0.539011 0.673763 +v 0.539011 -0.539011 0.673763 +v -0.673763 -0.539011 -0.539011 +v -0.673763 -0.539011 0.539011 +v -0.673763 0.539011 0.539011 +v -0.673763 0.539011 -0.539011 +v -0.539011 0.539011 -0.673763 +v -0.539011 -0.539011 -0.673763 +v 0.539011 -0.539011 -0.673763 +v 0.539011 0.539011 -0.673763 +v -0.539011 -0.673763 -0.539011 +v -0.539011 -0.673763 0.539011 +v 0.539011 -0.673763 -0.539011 +v 0.539011 -0.673763 0.539011 +vt 0.625000 0.500000 +vt 0.875000 0.500000 +vt 0.875000 0.750000 +vt 0.625000 0.750000 +vt 0.375000 0.500000 +vt 0.625000 0.500000 +vt 0.625000 0.750000 +vt 0.375000 0.750000 +vt 0.375000 0.750000 +vt 0.625000 0.750000 +vt 0.625000 1.000000 +vt 0.375000 1.000000 +vt 0.375000 0.000000 +vt 0.625000 0.000000 +vt 0.625000 0.250000 +vt 0.375000 0.250000 +vt 0.375000 0.250000 +vt 0.625000 0.250000 +vt 0.625000 0.500000 +vt 0.375000 0.500000 +vt 0.125000 0.500000 +vt 0.375000 0.500000 +vt 0.375000 0.750000 +vt 0.125000 0.750000 +vt 0.375000 0.000000 +vt 0.625000 0.000000 +vt 0.625000 0.000000 +vt 0.375000 0.000000 +vt 0.625000 0.500000 +vt 0.375000 0.500000 +vt 0.375000 0.500000 +vt 0.625000 0.500000 +vt 0.625000 0.750000 +vt 0.625000 0.750000 +vt 0.625000 0.500000 +vt 0.375000 0.000000 +vt 0.625000 0.000000 +vt 0.375000 0.750000 +vt 0.125000 0.750000 +vt 0.125000 0.750000 +vt 0.375000 0.750000 +vt 0.625000 0.500000 +vt 0.625000 0.750000 +vt 0.375000 0.750000 +vt 0.375000 0.750000 +vt 0.625000 0.750000 +vt 0.625000 0.250000 +vt 0.625000 0.000000 +vt 0.625000 0.250000 +vt 0.625000 1.000000 +vt 0.625000 1.000000 +vt 0.125000 0.500000 +vt 0.125000 0.500000 +vt 0.375000 0.500000 +vt 0.375000 0.500000 +vt 0.125000 0.750000 +vt 0.375000 0.750000 +vt 0.375000 0.750000 +vt 0.125000 0.750000 +vt 0.625000 1.000000 +vt 0.625000 0.750000 +vt 0.625000 0.750000 +vt 0.625000 1.000000 +vt 0.625000 0.250000 +vt 0.125000 0.500000 +vt 0.125000 0.750000 +vt 0.125000 0.500000 +vt 0.375000 0.250000 +vt 0.375000 0.250000 +vt 0.125000 0.500000 +vt 0.125000 0.500000 +vt 0.125000 0.750000 +vt 0.625000 0.250000 +vt 0.375000 0.250000 +vt 0.625000 0.000000 +vt 0.375000 0.000000 +vt 0.375000 0.500000 +vt 0.625000 0.250000 +vt 0.375000 0.500000 +vt 0.625000 1.000000 +vt 0.625000 0.750000 +vt 0.625000 0.500000 +vt 0.625000 0.250000 +vt 0.375000 0.250000 +vt 0.375000 0.750000 +vt 0.625000 0.000000 +vt 0.625000 0.250000 +vt 0.625000 0.500000 +vt 0.375000 0.500000 +vt 0.625000 0.500000 +vt 0.375000 0.000000 +vt 0.625000 0.000000 +vt 0.125000 0.750000 +vt 0.125000 0.500000 +vt 0.375000 0.250000 +vn 0.0000 1.0000 0.0000 +vn 1.0000 0.0000 0.0000 +vn 0.0000 0.0000 1.0000 +vn -1.0000 0.0000 0.0000 +vn 0.0000 0.0000 -1.0000 +vn 0.0000 -1.0000 0.0000 +vn -0.7071 0.0000 0.7071 +vn 0.7071 0.0000 -0.7071 +vn 0.8944 0.4472 0.0000 +vn 0.6247 0.0000 -0.7809 +vn 0.0000 0.7809 -0.6247 +vn 0.7071 0.0000 0.7071 +vn 0.8944 -0.4472 0.0000 +vn 0.0000 0.7809 0.6247 +vn 0.0000 -0.4472 0.8944 +vn 0.0000 0.4472 0.8944 +vn 0.0000 0.6247 -0.7809 +vn -0.8944 0.4472 0.0000 +vn -0.8944 -0.4472 0.0000 +vn -0.7071 0.0000 -0.7071 +vn 0.7809 -0.6247 0.0000 +vn 0.0000 -0.4472 -0.8944 +vn 0.0000 0.4472 -0.8944 +vn -0.6247 0.0000 -0.7809 +vn -0.6247 -0.7809 0.0000 +vn 0.0000 -0.6247 0.7809 +vn 0.0000 -0.7809 0.6247 +vn 0.0000 -0.7809 -0.6247 +vn -0.6247 0.0000 0.7809 +vn -0.7809 -0.6247 0.0000 +vn -0.7809 0.0000 -0.6247 +vn 0.0000 -0.6247 -0.7809 +vn 0.7809 0.6247 0.0000 +vn 0.6247 0.0000 0.7809 +vn 0.0000 0.6247 0.7809 +vn 0.7809 0.0000 0.6247 +vn 0.6247 0.7809 0.0000 +vn -0.6247 0.7809 0.0000 +vn -0.7809 0.6247 0.0000 +vn -0.7809 0.0000 0.6247 +vn 0.7809 0.0000 -0.6247 +vn 0.6247 -0.7809 0.0000 +usemtl Material.003 +s off +f 3/1/1 2/2/1 1/3/1 4/4/1 +f 6/5/2 5/6/2 8/7/2 7/8/2 +f 12/9/3 11/10/3 10/11/3 9/12/3 +f 14/13/4 15/14/4 16/15/4 13/16/4 +f 18/17/5 17/18/5 20/19/5 19/20/5 +f 21/21/6 23/22/6 24/23/6 22/24/6 +usemtl Material.001 +f 25/25/7 26/26/7 47/27/7 46/28/7 +f 32/29/8 31/30/8 51/31/8 52/32/8 +f 32/29/9 30/33/9 40/34/9 37/35/9 +f 26/26/7 25/25/7 41/36/7 42/37/7 +f 29/38/6 25/39/6 54/40/6 56/41/6 +f 30/33/1 32/29/1 35/42/1 36/43/1 +f 40/34/10 39/44/10 63/45/10 64/46/10 +f 28/47/1 26/26/1 33/48/1 34/49/1 +f 26/50/1 30/33/1 36/43/1 33/51/1 +f 32/29/1 28/47/1 34/49/1 35/42/1 +f 51/31/11 50/52/11 74/53/11 75/54/11 +f 31/30/8 32/29/8 37/35/8 38/55/8 +f 30/33/12 29/38/12 39/44/12 40/34/12 +f 29/38/13 31/30/13 38/55/13 39/44/13 +f 41/56/14 44/57/14 68/58/14 65/59/14 +f 25/39/15 29/38/15 44/57/15 41/56/15 +f 30/33/16 26/50/16 42/60/16 43/61/16 +f 29/38/12 30/33/12 43/61/12 44/57/12 +f 33/51/17 36/43/17 60/62/17 57/63/17 +f 26/26/18 28/47/18 48/64/18 47/27/18 +f 27/65/19 25/39/19 46/66/19 45/67/19 +f 28/47/20 27/68/20 45/69/20 48/64/20 +f 54/40/21 53/70/21 77/71/21 78/72/21 +f 31/30/22 27/65/22 50/52/22 51/31/22 +f 28/47/23 32/29/23 52/32/23 49/73/23 +f 27/68/20 28/47/20 49/73/20 50/74/20 +f 46/28/24 47/27/24 71/75/24 70/76/24 +f 27/65/6 31/30/6 55/77/6 53/70/6 +f 25/39/6 27/65/6 53/70/6 54/40/6 +f 31/30/6 29/38/6 56/41/6 55/77/6 +f 47/27/25 48/64/25 72/78/25 71/75/25 +f 53/70/26 55/77/26 79/79/26 77/71/26 +f 43/61/27 42/60/27 66/80/27 67/81/27 +f 49/73/28 52/32/28 76/82/28 73/83/28 +f 48/64/29 45/69/29 69/84/29 72/78/29 +f 55/77/30 56/41/30 80/85/30 79/79/30 +f 52/32/31 51/31/31 75/54/31 76/82/31 +f 56/41/32 54/40/32 78/72/32 80/85/32 +f 34/49/33 33/48/33 57/86/33 58/87/33 +f 38/55/34 37/35/34 61/88/34 62/89/34 +f 35/42/35 34/49/35 58/87/35 59/90/35 +f 42/37/36 41/36/36 65/91/36 66/92/36 +f 39/44/37 38/55/37 62/89/37 63/45/37 +f 45/67/38 46/66/38 70/93/38 69/94/38 +f 36/43/39 35/42/39 59/90/39 60/62/39 +f 44/57/40 43/61/40 67/81/40 68/58/40 +f 50/74/41 49/73/41 73/83/41 74/95/41 +f 37/35/42 40/34/42 64/46/42 61/88/42 diff --git a/cat-walking/cm0.png b/cat-walking/cm0.png Binary files differnew file mode 100644 index 0000000..5e972e9 --- /dev/null +++ b/cat-walking/cm0.png diff --git a/cat-walking/cm1.png b/cat-walking/cm1.png Binary files differnew file mode 100644 index 0000000..7fa5b9f --- /dev/null +++ b/cat-walking/cm1.png diff --git a/cat-walking/cm10.png b/cat-walking/cm10.png Binary files differnew file mode 100644 index 0000000..cba9e04 --- /dev/null +++ b/cat-walking/cm10.png diff --git a/cat-walking/cm11.png b/cat-walking/cm11.png Binary files differnew file mode 100644 index 0000000..c966ae0 --- /dev/null +++ b/cat-walking/cm11.png diff --git a/cat-walking/cm2.png b/cat-walking/cm2.png Binary files differnew file mode 100644 index 0000000..3dad386 --- /dev/null +++ b/cat-walking/cm2.png diff --git a/cat-walking/cm3.png b/cat-walking/cm3.png Binary files differnew file mode 100644 index 0000000..30f286f --- /dev/null +++ b/cat-walking/cm3.png diff --git a/cat-walking/cm4.png b/cat-walking/cm4.png Binary files differnew file mode 100644 index 0000000..de5ed45 --- /dev/null +++ b/cat-walking/cm4.png diff --git a/cat-walking/cm5.png b/cat-walking/cm5.png Binary files differnew file mode 100644 index 0000000..7bbe717 --- /dev/null +++ b/cat-walking/cm5.png diff --git a/cat-walking/cm6.png b/cat-walking/cm6.png Binary files differnew file mode 100644 index 0000000..b4afc19 --- /dev/null +++ b/cat-walking/cm6.png diff --git a/cat-walking/cm7.png b/cat-walking/cm7.png Binary files differnew file mode 100644 index 0000000..a55e6fc --- /dev/null +++ b/cat-walking/cm7.png diff --git a/cat-walking/cm8.png b/cat-walking/cm8.png Binary files differnew file mode 100644 index 0000000..bad38c8 --- /dev/null +++ b/cat-walking/cm8.png diff --git a/cat-walking/cm9.png b/cat-walking/cm9.png Binary files differnew file mode 100644 index 0000000..f2f6e70 --- /dev/null +++ b/cat-walking/cm9.png @@ -0,0 +1,25 @@ +class_name Cat extends MeshInstance + +var images: Dictionary = {} +var frame_i = 0 +var lastt =0 + +func _process(delta): + lastt += delta + + if lastt >= 0.05: + lastt = 0 + frame_i += 1 + + if frame_i >= 55: + frame_i = 0 + + var material = get_active_material(0) + + material.albedo_texture = images[frame_i] + +# Called when the node enters the scene tree for the first time. +func _ready(): + for i in range(55): + images[i] = load("res://cat/c" + str(i) + ".png") + diff --git a/cat.tscn b/cat.tscn new file mode 100644 index 0000000..55314e5 --- /dev/null +++ b/cat.tscn @@ -0,0 +1,44 @@ +[gd_scene load_steps=9 format=2] + +[ext_resource path="res://running-cat.gd" type="Script" id=1] +[ext_resource path="res://rcat.gd" type="Script" id=2] +[ext_resource path="res://cat/c0.png" type="Texture" id=3] + +[sub_resource type="PlaneMesh" id=1] + +[sub_resource type="SpatialMaterial" id=3] +flags_transparent = true +albedo_texture = ExtResource( 3 ) + +[sub_resource type="SphereShape" id=6] + +[sub_resource type="SphereMesh" id=7] + +[sub_resource type="SpatialMaterial" id=5] +flags_transparent = true +albedo_color = Color( 0.443137, 0.133333, 0.780392, 0.14902 ) + +[node name="KinematicBody" type="KinematicBody"] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.3, 0 ) +script = ExtResource( 1 ) + +[node name="Cat" type="MeshInstance" parent="."] +transform = Transform( 1, 0, -4.37114e-08, -4.37114e-08, 1.91069e-15, -1, 0, 1, 1.91069e-15, 0, -0.667701, 0 ) +mesh = SubResource( 1 ) +material/0 = SubResource( 3 ) +script = ExtResource( 2 ) + +[node name="CollisionShape" type="CollisionShape" parent="."] +transform = Transform( -4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 0, -0.108723, 0 ) +shape = SubResource( 6 ) + +[node name="timer" type="Timer" parent="."] + +[node name="MeshInstance" type="MeshInstance" parent="."] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.115057, 0 ) +mesh = SubResource( 7 ) +material/0 = SubResource( 5 ) + +[node name="OmniLight" type="OmniLight" parent="."] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0.357336 ) +light_energy = 3.574 diff --git a/cat/c0.png b/cat/c0.png Binary files differnew file mode 100755 index 0000000..6d4580b --- /dev/null +++ b/cat/c0.png diff --git a/cat/c1.png b/cat/c1.png Binary files differnew file mode 100755 index 0000000..09fdc70 --- /dev/null +++ b/cat/c1.png diff --git a/cat/c10.png b/cat/c10.png Binary files differnew file mode 100755 index 0000000..62c5517 --- /dev/null +++ b/cat/c10.png diff --git a/cat/c11.png b/cat/c11.png Binary files differnew file mode 100755 index 0000000..b41fd98 --- /dev/null +++ b/cat/c11.png diff --git a/cat/c12.png b/cat/c12.png Binary files differnew file mode 100755 index 0000000..babd200 --- /dev/null +++ b/cat/c12.png diff --git a/cat/c13.png b/cat/c13.png Binary files differnew file mode 100755 index 0000000..1fce3c8 --- /dev/null +++ b/cat/c13.png diff --git a/cat/c14.png b/cat/c14.png Binary files differnew file mode 100755 index 0000000..b17a71b --- /dev/null +++ b/cat/c14.png diff --git a/cat/c15.png b/cat/c15.png Binary files differnew file mode 100755 index 0000000..b17a71b --- /dev/null +++ b/cat/c15.png diff --git a/cat/c16.png b/cat/c16.png Binary files differnew file mode 100755 index 0000000..8ba664e --- /dev/null +++ b/cat/c16.png diff --git a/cat/c17.png b/cat/c17.png Binary files differnew file mode 100755 index 0000000..96cd7fe --- /dev/null +++ b/cat/c17.png diff --git a/cat/c18.png b/cat/c18.png Binary files differnew file mode 100755 index 0000000..a19b194 --- /dev/null +++ b/cat/c18.png diff --git a/cat/c19.png b/cat/c19.png Binary files differnew file mode 100755 index 0000000..c7d287d --- /dev/null +++ b/cat/c19.png diff --git a/cat/c2.png b/cat/c2.png Binary files differnew file mode 100755 index 0000000..cd6aaf7 --- /dev/null +++ b/cat/c2.png diff --git a/cat/c20.png b/cat/c20.png Binary files differnew file mode 100755 index 0000000..c7d287d --- /dev/null +++ b/cat/c20.png diff --git a/cat/c21.png b/cat/c21.png Binary files differnew file mode 100755 index 0000000..1828312 --- /dev/null +++ b/cat/c21.png diff --git a/cat/c22.png b/cat/c22.png Binary files differnew file mode 100755 index 0000000..5f40c70 --- /dev/null +++ b/cat/c22.png diff --git a/cat/c23.png b/cat/c23.png Binary files differnew file mode 100755 index 0000000..0579d40 --- /dev/null +++ b/cat/c23.png diff --git a/cat/c24.png b/cat/c24.png Binary files differnew file mode 100755 index 0000000..dc32859 --- /dev/null +++ b/cat/c24.png diff --git a/cat/c25.png b/cat/c25.png Binary files differnew file mode 100755 index 0000000..bdd44a8 --- /dev/null +++ b/cat/c25.png diff --git a/cat/c26.png b/cat/c26.png Binary files differnew file mode 100755 index 0000000..3d60771 --- /dev/null +++ b/cat/c26.png diff --git a/cat/c27.png b/cat/c27.png Binary files differnew file mode 100755 index 0000000..0189ab3 --- /dev/null +++ b/cat/c27.png diff --git a/cat/c28.png b/cat/c28.png Binary files differnew file mode 100755 index 0000000..625999c --- /dev/null +++ b/cat/c28.png diff --git a/cat/c29.png b/cat/c29.png Binary files differnew file mode 100755 index 0000000..cfcef68 --- /dev/null +++ b/cat/c29.png diff --git a/cat/c3.png b/cat/c3.png Binary files differnew file mode 100755 index 0000000..4c57fed --- /dev/null +++ b/cat/c3.png diff --git a/cat/c30.png b/cat/c30.png Binary files differnew file mode 100755 index 0000000..5f66743 --- /dev/null +++ b/cat/c30.png diff --git a/cat/c31.png b/cat/c31.png Binary files differnew file mode 100755 index 0000000..eefc5c7 --- /dev/null +++ b/cat/c31.png diff --git a/cat/c32.png b/cat/c32.png Binary files differnew file mode 100755 index 0000000..52a7e9c --- /dev/null +++ b/cat/c32.png diff --git a/cat/c33.png b/cat/c33.png Binary files differnew file mode 100755 index 0000000..2d3a618 --- /dev/null +++ b/cat/c33.png diff --git a/cat/c34.png b/cat/c34.png Binary files differnew file mode 100755 index 0000000..3a893db --- /dev/null +++ b/cat/c34.png diff --git a/cat/c35.png b/cat/c35.png Binary files differnew file mode 100755 index 0000000..4dbfbac --- /dev/null +++ b/cat/c35.png diff --git a/cat/c36.png b/cat/c36.png Binary files differnew file mode 100755 index 0000000..5f23839 --- /dev/null +++ b/cat/c36.png diff --git a/cat/c37.png b/cat/c37.png Binary files differnew file mode 100755 index 0000000..eb1bc1c --- /dev/null +++ b/cat/c37.png diff --git a/cat/c38.png b/cat/c38.png Binary files differnew file mode 100755 index 0000000..ca39862 --- /dev/null +++ b/cat/c38.png diff --git a/cat/c39.png b/cat/c39.png Binary files differnew file mode 100755 index 0000000..2366222 --- /dev/null +++ b/cat/c39.png diff --git a/cat/c4.png b/cat/c4.png Binary files differnew file mode 100755 index 0000000..0446da7 --- /dev/null +++ b/cat/c4.png diff --git a/cat/c40.png b/cat/c40.png Binary files differnew file mode 100755 index 0000000..e2993da --- /dev/null +++ b/cat/c40.png diff --git a/cat/c41.png b/cat/c41.png Binary files differnew file mode 100755 index 0000000..e258210 --- /dev/null +++ b/cat/c41.png diff --git a/cat/c42.png b/cat/c42.png Binary files differnew file mode 100755 index 0000000..5f23839 --- /dev/null +++ b/cat/c42.png diff --git a/cat/c43.png b/cat/c43.png Binary files differnew file mode 100755 index 0000000..acd26b7 --- /dev/null +++ b/cat/c43.png diff --git a/cat/c44.png b/cat/c44.png Binary files differnew file mode 100755 index 0000000..acd26b7 --- /dev/null +++ b/cat/c44.png diff --git a/cat/c45.png b/cat/c45.png Binary files differnew file mode 100755 index 0000000..e0b7d6a --- /dev/null +++ b/cat/c45.png diff --git a/cat/c46.png b/cat/c46.png Binary files differnew file mode 100755 index 0000000..740cbe3 --- /dev/null +++ b/cat/c46.png diff --git a/cat/c47.png b/cat/c47.png Binary files differnew file mode 100755 index 0000000..8e44ba8 --- /dev/null +++ b/cat/c47.png diff --git a/cat/c48.png b/cat/c48.png Binary files differnew file mode 100755 index 0000000..e1eaca9 --- /dev/null +++ b/cat/c48.png diff --git a/cat/c49.png b/cat/c49.png Binary files differnew file mode 100755 index 0000000..5de3793 --- /dev/null +++ b/cat/c49.png diff --git a/cat/c5.png b/cat/c5.png Binary files differnew file mode 100755 index 0000000..5dab993 --- /dev/null +++ b/cat/c5.png diff --git a/cat/c50.png b/cat/c50.png Binary files differnew file mode 100755 index 0000000..310c04d --- /dev/null +++ b/cat/c50.png diff --git a/cat/c51.png b/cat/c51.png Binary files differnew file mode 100755 index 0000000..e0f54a7 --- /dev/null +++ b/cat/c51.png diff --git a/cat/c52.png b/cat/c52.png Binary files differnew file mode 100755 index 0000000..0e32a3a --- /dev/null +++ b/cat/c52.png diff --git a/cat/c53.png b/cat/c53.png Binary files differnew file mode 100755 index 0000000..4e5bf1b --- /dev/null +++ b/cat/c53.png diff --git a/cat/c54.png b/cat/c54.png Binary files differnew file mode 100755 index 0000000..80624c9 --- /dev/null +++ b/cat/c54.png diff --git a/cat/c55.png b/cat/c55.png Binary files differnew file mode 100755 index 0000000..ef4d011 --- /dev/null +++ b/cat/c55.png diff --git a/cat/c6.png b/cat/c6.png Binary files differnew file mode 100755 index 0000000..2488b0c --- /dev/null +++ b/cat/c6.png diff --git a/cat/c7.png b/cat/c7.png Binary files differnew file mode 100755 index 0000000..1fce3c8 --- /dev/null +++ b/cat/c7.png diff --git a/cat/c8.png b/cat/c8.png Binary files differnew file mode 100755 index 0000000..b5760f5 --- /dev/null +++ b/cat/c8.png diff --git a/cat/c9.png b/cat/c9.png Binary files differnew file mode 100755 index 0000000..be2397b --- /dev/null +++ b/cat/c9.png diff --git a/countdown.gd b/countdown.gd new file mode 100644 index 0000000..b18c3d8 --- /dev/null +++ b/countdown.gd @@ -0,0 +1,14 @@ +extends Node2D + +signal timeout + +func _process(_delta): + if $Timer.time_left < 1 and not $Timer.is_stopped(): + emit_signal("timeout") + $CanvasLayer/CenterContainer/countdown.visible = false + + $CanvasLayer/CenterContainer/countdown.text = "%d" % $Timer.time_left + +# Called when the node enters the scene tree for the first time. +func _ready(): + $Timer.start() diff --git a/countdown.tscn b/countdown.tscn new file mode 100644 index 0000000..cfa3162 --- /dev/null +++ b/countdown.tscn @@ -0,0 +1,36 @@ +[gd_scene load_steps=4 format=2] + +[ext_resource path="res://vera/VeraBI.ttf" type="DynamicFontData" id=1] +[ext_resource path="res://countdown.gd" type="Script" id=2] + +[sub_resource type="DynamicFont" id=1] +size = 300 +use_filter = true +font_data = ExtResource( 1 ) + +[node name="Node2D" type="Node2D"] +script = ExtResource( 2 ) + +[node name="CanvasLayer" type="CanvasLayer" parent="."] + +[node name="CenterContainer" type="CenterContainer" parent="CanvasLayer"] +anchor_left = 0.5 +anchor_top = 0.5 +anchor_right = 0.5 +anchor_bottom = 0.5 +margin_right = 40.0 +margin_bottom = 40.0 +use_top_left = true + +[node name="countdown" type="Label" parent="CanvasLayer/CenterContainer"] +margin_left = -105.0 +margin_top = -175.0 +margin_right = 104.0 +margin_bottom = 175.0 +custom_colors/font_color = Color( 0.298039, 0.513726, 0.976471, 1 ) +custom_fonts/font = SubResource( 1 ) +text = "3" + +[node name="Timer" type="Timer" parent="."] +wait_time = 5.0 +one_shot = true diff --git a/credits.gd b/credits.gd new file mode 100644 index 0000000..a4e10df --- /dev/null +++ b/credits.gd @@ -0,0 +1,15 @@ +extends Node2D + +func back(): + var mainmenu = load("res://mainmenu.tscn").instance() + + get_tree().root.add_child(mainmenu) + mainmenu.set_music_pos($music.get_playback_position()) + get_tree().root.remove_child(self) + +func set_music_pos(pos): + $music.play(pos) + +func _ready(): + var __ + __ = $CanvasLayer/CenterContainer3/back.connect("button_up", self, "back") diff --git a/credits.tscn b/credits.tscn new file mode 100644 index 0000000..7cf72a8 --- /dev/null +++ b/credits.tscn @@ -0,0 +1,97 @@ +[gd_scene load_steps=9 format=2] + +[ext_resource path="res://bg.png" type="Texture" id=1] +[ext_resource path="res://vera/VeraBd.ttf" type="DynamicFontData" id=2] +[ext_resource path="res://vera/Vera.ttf" type="DynamicFontData" id=3] +[ext_resource path="res://credits.gd" type="Script" id=4] +[ext_resource path="res://music.mp3" type="AudioStream" id=5] + +[sub_resource type="DynamicFont" id=1] +size = 120 +use_filter = true +font_data = ExtResource( 2 ) + +[sub_resource type="DynamicFont" id=2] +size = 32 +use_filter = true +font_data = ExtResource( 3 ) + +[sub_resource type="DynamicFont" id=3] +size = 48 +font_data = ExtResource( 2 ) + +[node name="Node2D" type="Node2D"] +script = ExtResource( 4 ) + +[node name="TextureRect" type="TextureRect" parent="."] +margin_right = 1920.0 +margin_bottom = 1080.0 +texture = ExtResource( 1 ) + +[node name="CanvasLayer" type="CanvasLayer" parent="."] + +[node name="CenterContainer" type="CenterContainer" parent="CanvasLayer"] +anchor_left = 0.5 +anchor_top = 0.1 +anchor_right = 0.5 +anchor_bottom = 0.1 +margin_right = 40.0 +margin_bottom = 40.0 +use_top_left = true + +[node name="Label" type="Label" parent="CanvasLayer/CenterContainer"] +margin_left = -242.0 +margin_top = -71.0 +margin_right = 241.0 +margin_bottom = 70.0 +custom_fonts/font = SubResource( 1 ) +text = "Credits" + +[node name="CenterContainer2" type="CenterContainer" parent="CanvasLayer"] +anchor_left = 0.5 +anchor_top = 0.5 +anchor_right = 0.5 +anchor_bottom = 0.575 +margin_right = 40.0 +margin_bottom = 40.0 +use_top_left = true + +[node name="Label" type="Label" parent="CanvasLayer/CenterContainer2"] +margin_left = -307.0 +margin_top = -224.0 +margin_right = 306.0 +margin_bottom = 224.0 +custom_fonts/font = SubResource( 2 ) +text = "Ainoa - Animation, editing +Alba - Video editing +Alex - Voice acting +Berta - Illustration, voice acting +Gian - Illustration, voice acting +Joy - Music, SFX +Kam - Illustration +Kat - Animation +Laia - Animation +Xavi - Programming +Xenia - Character design, voice acting" +align = 1 +valign = 1 + +[node name="CenterContainer3" type="CenterContainer" parent="CanvasLayer"] +anchor_left = 0.5 +anchor_top = 0.892 +anchor_right = 0.5 +anchor_bottom = 0.892 +margin_right = 40.0 +margin_bottom = 40.0 +use_top_left = true + +[node name="back" type="Button" parent="CanvasLayer/CenterContainer3"] +margin_left = -71.0 +margin_top = -32.0 +margin_right = 70.0 +margin_bottom = 31.0 +custom_fonts/font = SubResource( 3 ) +text = "Back" + +[node name="music" type="AudioStreamPlayer" parent="."] +stream = ExtResource( 5 ) diff --git a/draw.mp3 b/draw.mp3 Binary files differnew file mode 100644 index 0000000..5e200a0 --- /dev/null +++ b/draw.mp3 diff --git a/draw.png b/draw.png Binary files differnew file mode 100644 index 0000000..15f9c9f --- /dev/null +++ b/draw.png diff --git a/explosion.mp3 b/explosion.mp3 Binary files differnew file mode 100644 index 0000000..a78f9cc --- /dev/null +++ b/explosion.mp3 diff --git a/explosion.png b/explosion.png Binary files differnew file mode 100644 index 0000000..9584c5c --- /dev/null +++ b/explosion.png diff --git a/export_presets.cfg b/export_presets.cfg new file mode 100644 index 0000000..d1aeb4c --- /dev/null +++ b/export_presets.cfg @@ -0,0 +1,59 @@ +[preset.0] + +name="HTML5" +platform="HTML5" +runnable=true +custom_features="" +export_filter="all_resources" +include_filter="" +exclude_filter="" +export_path="../html5/nj26.html" +script_export_mode=1 +script_encryption_key="" + +[preset.0.options] + +custom_template/debug="" +custom_template/release="" +variant/export_type=0 +vram_texture_compression/for_desktop=true +vram_texture_compression/for_mobile=true +html/export_icon=true +html/custom_html_shell="" +html/head_include="" +html/canvas_resize_policy=2 +html/focus_canvas_on_start=true +html/experimental_virtual_keyboard=false +progressive_web_app/enabled=false +progressive_web_app/offline_page="" +progressive_web_app/display=1 +progressive_web_app/orientation=0 +progressive_web_app/icon_144x144="res://splash.png" +progressive_web_app/icon_180x180="res://splash.png" +progressive_web_app/icon_512x512="res://splash.png" +progressive_web_app/background_color=Color( 0, 0, 0, 1 ) + +[preset.1] + +name="Linux/X11" +platform="Linux/X11" +runnable=true +custom_features="" +export_filter="all_resources" +include_filter="" +exclude_filter="" +export_path="../nj26.x86_64" +script_export_mode=1 +script_encryption_key="" + +[preset.1.options] + +custom_template/debug="" +custom_template/release="" +binary_format/64_bits=true +binary_format/embed_pck=false +texture_format/bptc=false +texture_format/s3tc=true +texture_format/etc=false +texture_format/etc2=false +texture_format/no_bptc_fallbacks=true diff --git a/floor.png b/floor.png Binary files differnew file mode 100644 index 0000000..55de752 --- /dev/null +++ b/floor.png diff --git a/game-over.gd b/game-over.gd new file mode 100644 index 0000000..358c689 --- /dev/null +++ b/game-over.gd @@ -0,0 +1,45 @@ +extends Node2D + +const team = preload("res://team.gd") +const pink = preload("res://pink-wins.png") +const green = preload("res://green-wins.png") +const draw = preload("res://draw.png") + +signal go_back + +func set_winner(green_points, pink_points, killer_team): + var bp = green_points + var pp = pink_points + + if killer_team != null: + if bp == pp: + if killer_team == team.Team.GREEN: + bp += 1 + $CanvasLayer/extra_bp.visible = true + elif killer_team == team.Team.PINK: + pp += 1 + $CanvasLayer/extra_pp.visible = true + + $win.play() + + if bp > pp: + $CanvasLayer/CenterContainer/winner.set_texture(green) + elif pp > bp: + $CanvasLayer/CenterContainer/winner.set_texture(pink) + else: + $CanvasLayer/CenterContainer/winner.set_texture(draw) + $draw.play() + + $CanvasLayer/bp.text = "Team Green: " + str(green_points) + " points" + $CanvasLayer/pp.text = "Team Pink: " + str(pink_points) + " points" + + +func back(): + emit_signal("go_back") + get_tree().root.remove_child(self) + +# Called when the node enters the scene tree for the first time. +func _ready(): + var __ + + __ = $CanvasLayer/c/back.connect("button_up", self, "back") diff --git a/game-over.tscn b/game-over.tscn new file mode 100644 index 0000000..4891c4f --- /dev/null +++ b/game-over.tscn @@ -0,0 +1,107 @@ +[gd_scene load_steps=10 format=2] + +[ext_resource path="res://vera/VeraBd.ttf" type="DynamicFontData" id=1] +[ext_resource path="res://game-over.gd" type="Script" id=2] +[ext_resource path="res://vera/VeraIt.ttf" type="DynamicFontData" id=3] +[ext_resource path="res://win.mp3" type="AudioStream" id=4] +[ext_resource path="res://draw.mp3" type="AudioStream" id=5] + +[sub_resource type="DynamicFont" id=2] +size = 40 +use_filter = true +font_data = ExtResource( 1 ) + +[sub_resource type="DynamicFont" id=3] +size = 40 +use_filter = true +font_data = ExtResource( 1 ) + +[sub_resource type="DynamicFont" id=4] +size = 40 +font_data = ExtResource( 3 ) + +[sub_resource type="DynamicFont" id=5] +size = 48 +use_filter = true +font_data = ExtResource( 1 ) + +[node name="Node2D" type="Node2D"] +script = ExtResource( 2 ) + +[node name="CanvasLayer" type="CanvasLayer" parent="."] + +[node name="bp" type="Label" parent="CanvasLayer"] +anchor_left = 0.15 +anchor_top = 0.7 +anchor_right = 0.195 +anchor_bottom = 0.7 +custom_colors/font_color = Color( 0, 1, 0, 1 ) +custom_fonts/font = SubResource( 2 ) +text = "Team Green: 0 points" + +[node name="pp" type="Label" parent="CanvasLayer"] +anchor_left = 0.6 +anchor_top = 0.7 +anchor_right = 0.85 +anchor_bottom = 0.7 +custom_colors/font_color = Color( 1, 0.282353, 0.956863, 1 ) +custom_fonts/font = SubResource( 3 ) +text = "Team Pink: 0 points" + +[node name="CenterContainer" type="CenterContainer" parent="CanvasLayer"] +anchor_left = 0.5 +anchor_top = 0.5 +anchor_right = 0.5 +anchor_bottom = 0.5 +margin_right = 40.0 +margin_bottom = 40.0 +use_top_left = true + +[node name="winner" type="TextureRect" parent="CanvasLayer/CenterContainer"] + +[node name="extra_bp" type="Label" parent="CanvasLayer"] +visible = false +anchor_left = 0.218 +anchor_top = 0.759 +anchor_right = 0.218 +anchor_bottom = 0.793 +margin_right = 40.0 +margin_bottom = 14.0 +custom_colors/font_color = Color( 0.219608, 0.72549, 0.407843, 1 ) +custom_fonts/font = SubResource( 4 ) +text = "+1 point!" + +[node name="extra_pp" type="Label" parent="CanvasLayer"] +visible = false +anchor_left = 0.666 +anchor_top = 0.759 +anchor_right = 0.666 +anchor_bottom = 0.793 +margin_right = 40.0 +margin_bottom = 14.0 +custom_colors/font_color = Color( 0.219608, 0.72549, 0.407843, 1 ) +custom_fonts/font = SubResource( 4 ) +text = "+1 point!" + +[node name="c" type="CenterContainer" parent="CanvasLayer"] +anchor_left = 0.5 +anchor_top = 0.8 +anchor_right = 0.5 +anchor_bottom = 0.8 +margin_right = 40.0 +margin_bottom = 40.0 +use_top_left = true + +[node name="back" type="Button" parent="CanvasLayer/c"] +margin_left = -71.0 +margin_top = -32.0 +margin_right = 70.0 +margin_bottom = 31.0 +custom_fonts/font = SubResource( 5 ) +text = "Back" + +[node name="win" type="AudioStreamPlayer" parent="."] +stream = ExtResource( 4 ) + +[node name="draw" type="AudioStreamPlayer" parent="."] +stream = ExtResource( 5 ) diff --git a/green-wins.png b/green-wins.png Binary files differnew file mode 100644 index 0000000..b5febda --- /dev/null +++ b/green-wins.png diff --git a/greenbox.png b/greenbox.png Binary files differnew file mode 100644 index 0000000..7820e03 --- /dev/null +++ b/greenbox.png diff --git a/jail.tscn b/jail.tscn new file mode 100644 index 0000000..000c0b0 --- /dev/null +++ b/jail.tscn @@ -0,0 +1,48 @@ +[gd_scene load_steps=8 format=2] + +[ext_resource path="res://Jaula_gato_naro.png" type="Texture" id=1] +[ext_resource path="res://cat.gd" type="Script" id=2] + +[sub_resource type="PlaneMesh" id=1] +size = Vector2( 2, 12 ) + +[sub_resource type="SpatialMaterial" id=2] +flags_transparent = true +flags_unshaded = true +albedo_texture = ExtResource( 1 ) + +[sub_resource type="PlaneMesh" id=4] +size = Vector2( 3, 3 ) + +[sub_resource type="SpatialMaterial" id=5] +flags_transparent = true + +[sub_resource type="BoxShape" id=3] +extents = Vector3( 0.1, 10.75, 2 ) + +[node name="RigidBody" type="RigidBody"] +collision_layer = 4 +collision_mask = 4 +gravity_scale = 0.0 +continuous_cd = true +can_sleep = false + +[node name="Spatial" type="Spatial" parent="."] +transform = Transform( 2, 0, 0, 0, 2, 0, 0, 0, 2, 0, 0, 0 ) + +[node name="MeshInstance" type="MeshInstance" parent="Spatial"] +transform = Transform( 1.31134e-07, -1, 3.82137e-15, 4.37114e-08, 1.91069e-15, -1, 1, 1.31134e-07, 4.37114e-08, 0, 0, 0 ) +sorting_offset = 5.0 +mesh = SubResource( 1 ) +material/0 = SubResource( 2 ) + +[node name="cat" type="MeshInstance" parent="Spatial"] +transform = Transform( 6.55671e-08, -0.5, 1.91069e-15, 2.18557e-08, 9.55342e-16, -0.5, 0.5, 6.55671e-08, 2.18557e-08, 0.430103, -5.52628, 0.0201625 ) +mesh = SubResource( 4 ) +skeleton = NodePath("../MeshInstance") +material/0 = SubResource( 5 ) +script = ExtResource( 2 ) + +[node name="CollisionShape" type="CollisionShape" parent="."] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.665382, 0 ) +shape = SubResource( 3 ) diff --git a/magnet.png b/magnet.png Binary files differnew file mode 100644 index 0000000..ead70c3 --- /dev/null +++ b/magnet.png diff --git a/mainmenu.gd b/mainmenu.gd new file mode 100644 index 0000000..03494fd --- /dev/null +++ b/mainmenu.gd @@ -0,0 +1,42 @@ +extends Node2D + +var select = preload("res://select.tscn").instance() +var credits = preload("res://credits.tscn").instance() +var images: Dictionary = {} +var frame_i = 0 +var lastt = 0 + +func start(): + get_tree().root.add_child(select) + select.set_music_pos($music.get_playback_position()) + get_tree().root.remove_child(self) + +func run_credits(): + get_tree().root.add_child(credits) + credits.set_music_pos($music.get_playback_position()) + get_tree().root.remove_child(self) + +func set_music_pos(pos): + $music.play(pos) + +func _process(delta): + lastt += delta + + if lastt >= 0.06: + lastt = 0 + frame_i += 1 + + if frame_i >= 55: + frame_i = 0 + + $cl/c4/cat.texture = images[frame_i] + +func _ready(): + var __ + + for i in range(55): + images[i] = load("res://cat/c" + str(i) + ".png") + + __ = $cl/c2/play.connect("button_up", self, "start") + __ = $cl/c3/credits.connect("button_up", self, "run_credits") + $music.play() diff --git a/mainmenu.tscn b/mainmenu.tscn new file mode 100644 index 0000000..145ca56 --- /dev/null +++ b/mainmenu.tscn @@ -0,0 +1,116 @@ +[gd_scene load_steps=10 format=2] + +[ext_resource path="res://bg.png" type="Texture" id=1] +[ext_resource path="res://title.png" type="Texture" id=2] +[ext_resource path="res://vera/VeraBd.ttf" type="DynamicFontData" id=3] +[ext_resource path="res://mainmenu.gd" type="Script" id=4] +[ext_resource path="res://vera/Vera.ttf" type="DynamicFontData" id=5] +[ext_resource path="res://music.mp3" type="AudioStream" id=6] + +[sub_resource type="DynamicFont" id=2] +size = 64 +use_filter = true +font_data = ExtResource( 3 ) + +[sub_resource type="DynamicFont" id=3] +size = 48 +font_data = ExtResource( 3 ) + +[sub_resource type="DynamicFont" id=4] +size = 18 +use_filter = true +font_data = ExtResource( 5 ) + +[node name="Node2D" type="Node2D"] +script = ExtResource( 4 ) + +[node name="cl" type="CanvasLayer" parent="."] + +[node name="TextureRect" type="TextureRect" parent="cl"] +margin_right = 1920.0 +margin_bottom = 1080.0 +texture = ExtResource( 1 ) + +[node name="cc" type="CenterContainer" parent="cl"] +anchor_left = 0.5 +anchor_top = 0.314 +anchor_right = 0.5 +anchor_bottom = 0.418 +margin_right = 40.0 +margin_bottom = 40.0 +use_top_left = true + +[node name="Label" type="TextureRect" parent="cl/cc"] +margin_left = -506.0 +margin_top = -131.0 +margin_right = 506.0 +margin_bottom = 130.0 +texture = ExtResource( 2 ) + +[node name="c2" type="CenterContainer" parent="cl"] +anchor_left = 0.5 +anchor_top = 0.6 +anchor_right = 0.5 +anchor_bottom = 0.6 +margin_right = 40.0 +margin_bottom = 40.0 +use_top_left = true + +[node name="play" type="Button" parent="cl/c2"] +margin_left = -82.0 +margin_top = -41.0 +margin_right = 82.0 +margin_bottom = 41.0 +custom_fonts/font = SubResource( 2 ) +text = "Play" + +[node name="c3" type="CenterContainer" parent="cl"] +anchor_left = 0.5 +anchor_top = 0.7 +anchor_right = 0.5 +anchor_bottom = 0.95 +margin_right = 40.0 +margin_bottom = 40.0 +use_top_left = true + +[node name="credits" type="Button" parent="cl/c3"] +margin_left = -103.0 +margin_top = -32.0 +margin_right = 103.0 +margin_bottom = 31.0 +custom_fonts/font = SubResource( 3 ) +text = "Credits" + +[node name="c4" type="CenterContainer" parent="cl"] +anchor_left = 0.2 +anchor_top = 0.7 +anchor_right = 0.2 +anchor_bottom = 0.7 +margin_right = 40.0 +margin_bottom = 40.0 +rect_scale = Vector2( 0.6, 0.6 ) +use_top_left = true + +[node name="cat" type="TextureRect" parent="cl/c4"] + +[node name="CenterContainer" type="CenterContainer" parent="cl"] +anchor_left = 0.5 +anchor_top = 0.9 +anchor_right = 0.5 +anchor_bottom = 0.9 +margin_right = 40.0 +margin_bottom = 40.0 +use_top_left = true + +[node name="Label" type="Label" parent="cl/CenterContainer"] +margin_left = -242.0 +margin_top = -24.0 +margin_right = 242.0 +margin_bottom = 23.0 +custom_fonts/font = SubResource( 4 ) +text = "Written in Godot Engine for NaroJam 2026 @ Cambrils +Copyright 2026" +align = 1 + +[node name="music" type="AudioStreamPlayer" parent="."] +stream = ExtResource( 6 ) diff --git a/music.mp3 b/music.mp3 Binary files differnew file mode 100644 index 0000000..47c16ad --- /dev/null +++ b/music.mp3 diff --git a/pink-wins.png b/pink-wins.png Binary files differnew file mode 100644 index 0000000..7da5bed --- /dev/null +++ b/pink-wins.png diff --git a/powerup.gd b/powerup.gd new file mode 100644 index 0000000..8230df9 --- /dev/null +++ b/powerup.gd @@ -0,0 +1,59 @@ +class_name Powerup extends KinematicBody + +enum Type { + none + magnet + explosion + superspeed + swap + + max_pw +} + +var mytype +var initpos +var speed = 0 +var toggle = 0 + +func get_type(): + return mytype + +func _physics_process(delta): + if abs(speed) > 0.5 * delta: + toggle ^= 1 + + if toggle: + speed -= 0.01 * delta + else: + speed += 0.01 * delta + + translate(Vector3(0, speed, 0)) + +func _ready(): + var color = Color(0, 0, 0, 0) + var material = $MeshInstance.get_active_material(0).duplicate() + + match mytype: + Type.magnet: + color = Color(0, 0.8, 0.8, 1.0) + material.albedo_texture = load("res://magnet.png") + Type.explosion: + color = Color(0.8, 0, 0, 1.0) + material.albedo_texture = load("res://explosion.png") + Type.superspeed: + color = Color(0, 0.8, 0, 1.0) + material.albedo_texture = load("res://speed.png") + Type.swap: + color = Color(0.8, 0.8, 0.8, 1.0) + material.albedo_texture = load("res://swap.png") + + $MeshInstance.set_surface_material(0, material) + + $light.light_color = color + initpos = global_transform.origin.y + speed = randf() * 0.01 * (randi() & 1) * -1 + translate(Vector3(0, randf() * 0.1, 0)) + +func _init(): + mytype = randi() % (Type.max_pw - 1) + 1 + add_to_group("powerup") diff --git a/powerup.tscn b/powerup.tscn new file mode 100644 index 0000000..b77d303 --- /dev/null +++ b/powerup.tscn @@ -0,0 +1,29 @@ +[gd_scene load_steps=5 format=2] + +[ext_resource path="res://powerup.gd" type="Script" id=1] + +[sub_resource type="PlaneMesh" id=3] + +[sub_resource type="SpatialMaterial" id=4] +flags_transparent = true + +[sub_resource type="BoxShape" id=2] +extents = Vector3( 0.8, 0.9, 0.5 ) + +[node name="Spatial" type="KinematicBody"] +script = ExtResource( 1 ) + +[node name="MeshInstance" type="MeshInstance" parent="."] +transform = Transform( 0.830813, 0, 0, 0, -4.64407e-08, -1, 0, 1.06244, -4.37114e-08, 0, 1.4771, 0 ) +mesh = SubResource( 3 ) +material/0 = SubResource( 4 ) + +[node name="light" type="OmniLight" parent="."] +light_color = Color( 0, 0.537255, 0.560784, 1 ) +light_energy = 7.388 +light_indirect_energy = 0.0 +omni_attenuation = 6.27667 + +[node name="CollisionShape" type="CollisionShape" parent="."] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.45153, 0 ) +shape = SubResource( 2 ) diff --git a/project.godot b/project.godot index f37b6b9..e257379 100644 --- a/project.godot +++ b/project.godot @@ -8,15 +8,198 @@ config_version=4 +_global_script_classes=[ { +"base": "RigidBody", +"class": "Box", +"language": "GDScript", +"path": "res://box.gd" +}, { +"base": "MeshInstance", +"class": "Cat", +"language": "GDScript", +"path": "res://cat.gd" +}, { +"base": "KinematicBody", +"class": "Powerup", +"language": "GDScript", +"path": "res://powerup.gd" +}, { +"base": "MeshInstance", +"class": "RCat", +"language": "GDScript", +"path": "res://rcat.gd" +}, { +"base": "KinematicBody", +"class": "RunningCat", +"language": "GDScript", +"path": "res://running-cat.gd" +}, { +"base": "KinematicBody", +"class": "Zombie", +"language": "GDScript", +"path": "res://zombie.gd" +} ] +_global_script_class_icons={ +"Box": "", +"Cat": "", +"Powerup": "", +"RCat": "", +"RunningCat": "", +"Zombie": "" +} + [application] -config/name="nj26" +config/name="Eat the Cat!" +run/main_scene="res://mainmenu.tscn" +boot_splash/image="res://splash.png" +boot_splash/fullsize=false +boot_splash/bg_color=Color( 0, 0, 0, 1 ) config/icon="res://icon.png" +[display] + +window/size/width=1920 +window/size/height=1080 +window/size/fullscreen=true + [gui] common/drop_mouse_on_gui_input_disabled=true +[input] + +p0_up={ +"deadzone": 0.1, +"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":0,"physical_scancode":87,"unicode":0,"echo":false,"script":null) +, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":0,"physical_scancode":16777232,"unicode":0,"echo":false,"script":null) +, Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":0,"axis":1,"axis_value":-1.0,"script":null) +, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":12,"pressure":0.0,"pressed":false,"script":null) + ] +} +p0_down={ +"deadzone": 0.1, +"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":0,"physical_scancode":83,"unicode":0,"echo":false,"script":null) +, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":0,"physical_scancode":16777234,"unicode":0,"echo":false,"script":null) +, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":13,"pressure":0.0,"pressed":false,"script":null) +, Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":0,"axis":1,"axis_value":1.0,"script":null) + ] +} +p0_left={ +"deadzone": 0.1, +"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":0,"physical_scancode":16777231,"unicode":0,"echo":false,"script":null) +, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":65,"physical_scancode":0,"unicode":0,"echo":false,"script":null) +, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":14,"pressure":0.0,"pressed":false,"script":null) +, Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":0,"axis":0,"axis_value":-1.0,"script":null) + ] +} +p0_right={ +"deadzone": 0.1, +"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":0,"physical_scancode":16777233,"unicode":0,"echo":false,"script":null) +, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":0,"physical_scancode":68,"unicode":0,"echo":false,"script":null) +, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":15,"pressure":0.0,"pressed":false,"script":null) +, Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":0,"axis":0,"axis_value":1.0,"script":null) + ] +} +p1_up={ +"deadzone": 0.5, +"events": [ Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":1,"axis":1,"axis_value":-1.0,"script":null) +, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":1,"button_index":12,"pressure":0.0,"pressed":false,"script":null) + ] +} +p1_down={ +"deadzone": 0.5, +"events": [ Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":1,"axis":1,"axis_value":1.0,"script":null) +, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":1,"button_index":13,"pressure":0.0,"pressed":false,"script":null) + ] +} +p1_left={ +"deadzone": 0.5, +"events": [ Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":1,"axis":0,"axis_value":-1.0,"script":null) +, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":1,"button_index":14,"pressure":0.0,"pressed":false,"script":null) + ] +} +p1_right={ +"deadzone": 0.5, +"events": [ Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":1,"axis":0,"axis_value":1.0,"script":null) +, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":1,"button_index":15,"pressure":0.0,"pressed":false,"script":null) + ] +} +p2_up={ +"deadzone": 0.5, +"events": [ Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":2,"button_index":12,"pressure":0.0,"pressed":false,"script":null) +, Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":2,"axis":1,"axis_value":-1.0,"script":null) + ] +} +p2_down={ +"deadzone": 0.5, +"events": [ Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":2,"button_index":13,"pressure":0.0,"pressed":false,"script":null) +, Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":2,"axis":1,"axis_value":1.0,"script":null) + ] +} +p2_left={ +"deadzone": 0.5, +"events": [ Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":2,"button_index":14,"pressure":0.0,"pressed":false,"script":null) +, Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":2,"axis":0,"axis_value":-1.0,"script":null) + ] +} +p2_right={ +"deadzone": 0.5, +"events": [ Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":2,"button_index":15,"pressure":0.0,"pressed":false,"script":null) +, Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":2,"axis":0,"axis_value":1.0,"script":null) + ] +} +p3_up={ +"deadzone": 0.5, +"events": [ Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":3,"button_index":12,"pressure":0.0,"pressed":false,"script":null) +, Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":3,"axis":1,"axis_value":-1.0,"script":null) + ] +} +p3_down={ +"deadzone": 0.5, +"events": [ Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":3,"button_index":13,"pressure":0.0,"pressed":false,"script":null) +, Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":3,"axis":1,"axis_value":1.0,"script":null) + ] +} +p3_left={ +"deadzone": 0.5, +"events": [ Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":3,"button_index":14,"pressure":0.0,"pressed":false,"script":null) +, Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":3,"axis":0,"axis_value":-1.0,"script":null) + ] +} +p3_right={ +"deadzone": 0.5, +"events": [ Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":3,"button_index":15,"pressure":0.0,"pressed":false,"script":null) +, Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":3,"axis":0,"axis_value":1.0,"script":null) + ] +} +p0_powerup={ +"deadzone": 0.5, +"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":0,"physical_scancode":32,"unicode":0,"echo":false,"script":null) +, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":0,"pressure":0.0,"pressed":false,"script":null) + ] +} +p1_powerup={ +"deadzone": 0.5, +"events": [ Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":1,"button_index":0,"pressure":0.0,"pressed":false,"script":null) + ] +} +p2_powerup={ +"deadzone": 0.5, +"events": [ Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":2,"button_index":0,"pressure":0.0,"pressed":false,"script":null) + ] +} +p3_powerup={ +"deadzone": 0.5, +"events": [ Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":3,"button_index":0,"pressure":0.0,"pressed":false,"script":null) + ] +} +ui_escape={ +"deadzone": 0.5, +"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":0,"physical_scancode":16777217,"unicode":0,"echo":false,"script":null) + ] +} + [physics] common/enable_pause_aware_picking=true @@ -0,0 +1,32 @@ +class_name RCat extends MeshInstance + +var images: Dictionary = {} +var frame_i = 0 +var lastt = 0 +var mirror = 0 + +func _process(delta): + lastt += delta + + if lastt >= 0.05: + lastt = 0 + frame_i += 1 + + if frame_i >= 12: + frame_i = 0 + + var material = get_active_material(0) + + material.albedo_texture = images[frame_i] + scale = Vector3(mirror, 1, 1) + +func set_x_speed(x): + if x > 0: + mirror = 1 + else: + mirror = -1 + +func _ready(): + for i in range(12): + images[i] = load("res://cat-walking/cm" + str(i) + ".png") + diff --git a/redbox.png b/redbox.png Binary files differnew file mode 100644 index 0000000..b87cebd --- /dev/null +++ b/redbox.png diff --git a/running-cat.gd b/running-cat.gd new file mode 100644 index 0000000..2fcc362 --- /dev/null +++ b/running-cat.gd @@ -0,0 +1,36 @@ +class_name RunningCat extends KinematicBody + +var t +var speed: Vector3 +var last_t = 0 + +func _set_speed(): + t = randf() + speed = Vector3(randf() * 8.0, 0, randf() * 8.0) + + if randi() & 1: + speed.x = -speed.x + + if randi() & 1: + speed.y = -speed.y + + if randi() & 1: + speed.z = -speed.z + + $Cat.set_x_speed(speed.x) + +func _process(delta): + var __ + + last_t += delta + + if last_t >= t: + _set_speed() + last_t = 0 + + __ = move_and_slide(speed) + +# Called when the node enters the scene tree for the first time. +func _ready(): + translate(Vector3(0, 0, 0)) + _set_speed() diff --git a/select.gd b/select.gd new file mode 100644 index 0000000..5ba9bbc --- /dev/null +++ b/select.gd @@ -0,0 +1,86 @@ +extends Node2D + +var bigpics: Array = [ + preload("res://select/p0.png"), + preload("res://select/p1.png"), + preload("res://select/p2.png"), + preload("res://select/p3.png") +] + +var smallpics: Array = [ + preload("res://select/ps0.png"), + preload("res://select/ps1.png"), + preload("res://select/ps2.png"), + preload("res://select/ps3.png") +] + +var game = preload("res://Spatial.tscn").instance() + +var lores: Array = [ + "Orga", + "Coramy", + "Braingian", + "Ellie", +] + +var players: Array = [0, 1, 2, 3] +var accepted: Array = [false, false, false, false] + +func start(): + game.set_players(players) + $music.stop() + get_tree().root.add_child(game) + get_tree().root.remove_child(self) + +func back(): + var mainmenu = load("res://mainmenu.tscn").instance() + get_tree().root.add_child(mainmenu) + mainmenu.set_music_pos($music.get_playback_position()) + get_tree().root.remove_child(self) + +func process_zombie(i): + var id = "p" + str(i) + "_" + var key = 0 + + if accepted[i]: + return + + if Input.is_action_just_pressed(id + "powerup"): + accepted[i] = true + get_node("sounds/p" + str(i)).play() + elif Input.is_action_just_pressed(id + "down"): + players[i] += 1 + + if players[i] >= 4: + players[i] = 0 + key = 1 + elif Input.is_action_just_pressed(id + "up"): + players[i] -= 1 + + if players[i] < 0: + players[i] = 3 + key = 1 + + if key: + var bpath = "CanvasLayer/CenterContainer/c/CenterContainer/big/p" + str(i) + "/pic" + var spath = "CanvasLayer/CenterContainer/c/small/p" + str(i) + var txtpath = "CanvasLayer/CenterContainer/c/CenterContainer/big/p" + str(i) + "/lore" + var bimg = get_node(bpath) + var simg = get_node(spath) + var t = get_node(txtpath) + + bimg.set_texture(bigpics[players[i]]) + simg.set_texture(smallpics[players[i]]) + t.text = lores[players[i]] + +func _process(_delta): + for i in range(4): + process_zombie(i) + +func set_music_pos(pos): + $music.play(pos) + +func _ready(): + var _ig + _ig = $CanvasLayer/CenterContainer2/h/play.connect("button_up", self, "start") + _ig = $CanvasLayer/CenterContainer2/h/back.connect("button_up", self, "back") diff --git a/select.tscn b/select.tscn new file mode 100644 index 0000000..5b92895 --- /dev/null +++ b/select.tscn @@ -0,0 +1,219 @@ +[gd_scene load_steps=20 format=2] + +[ext_resource path="res://bg.png" type="Texture" id=1] +[ext_resource path="res://select/p0.png" type="Texture" id=2] +[ext_resource path="res://select/p3.png" type="Texture" id=3] +[ext_resource path="res://select/p2.png" type="Texture" id=4] +[ext_resource path="res://select/p1.png" type="Texture" id=5] +[ext_resource path="res://select/ps3.png" type="Texture" id=6] +[ext_resource path="res://select/ps1.png" type="Texture" id=7] +[ext_resource path="res://select/ps0.png" type="Texture" id=8] +[ext_resource path="res://select/ps2.png" type="Texture" id=9] +[ext_resource path="res://vera/VeraBd.ttf" type="DynamicFontData" id=10] +[ext_resource path="res://select.gd" type="Script" id=11] +[ext_resource path="res://music.mp3" type="AudioStream" id=12] +[ext_resource path="res://sfx/p3/Seleccion.wav" type="AudioStream" id=13] +[ext_resource path="res://sfx/p1/Seleccion.wav" type="AudioStream" id=14] +[ext_resource path="res://sfx/p2/Seleccion.wav" type="AudioStream" id=15] +[ext_resource path="res://sfx/p0/Seleccion.wav" type="AudioStream" id=16] + +[sub_resource type="DynamicFont" id=1] +size = 120 +use_filter = true +font_data = ExtResource( 10 ) + +[sub_resource type="DynamicFont" id=3] +size = 32 +use_filter = true +font_data = ExtResource( 10 ) + +[sub_resource type="DynamicFont" id=2] +size = 48 +use_filter = true +font_data = ExtResource( 10 ) + +[node name="Node2D" type="Node2D"] +script = ExtResource( 11 ) + +[node name="CanvasLayer" type="CanvasLayer" parent="."] + +[node name="TextureRect" type="TextureRect" parent="CanvasLayer"] +margin_right = 1920.0 +margin_bottom = 1080.0 +texture = ExtResource( 1 ) + +[node name="CenterContainer" type="CenterContainer" parent="CanvasLayer"] +anchor_left = 0.5 +anchor_top = 0.5 +anchor_right = 0.5 +anchor_bottom = 0.5 +margin_right = 40.0 +margin_bottom = 40.0 +rect_scale = Vector2( 0.3, 0.3 ) +use_top_left = true + +[node name="c" type="VBoxContainer" parent="CanvasLayer/CenterContainer"] +margin_left = -1366.0 +margin_top = -856.0 +margin_right = 1366.0 +margin_bottom = 856.0 + +[node name="CenterContainer" type="CenterContainer" parent="CanvasLayer/CenterContainer/c"] +margin_right = 2732.0 +margin_bottom = 1028.0 + +[node name="big" type="GridContainer" parent="CanvasLayer/CenterContainer/c/CenterContainer"] +margin_left = 266.0 +margin_right = 2465.0 +margin_bottom = 1028.0 +columns = 2 + +[node name="p0" type="HBoxContainer" parent="CanvasLayer/CenterContainer/c/CenterContainer/big"] +margin_right = 1166.0 +margin_bottom = 512.0 + +[node name="pic" type="TextureRect" parent="CanvasLayer/CenterContainer/c/CenterContainer/big/p0"] +margin_right = 512.0 +margin_bottom = 512.0 +texture = ExtResource( 2 ) + +[node name="lore" type="Label" parent="CanvasLayer/CenterContainer/c/CenterContainer/big/p0"] +margin_left = 516.0 +margin_top = 185.0 +margin_right = 844.0 +margin_bottom = 326.0 +custom_colors/font_color = Color( 0, 1, 0, 1 ) +custom_fonts/font = SubResource( 1 ) +text = "Orga" + +[node name="p1" type="HBoxContainer" parent="CanvasLayer/CenterContainer/c/CenterContainer/big"] +margin_left = 1170.0 +margin_right = 2199.0 +margin_bottom = 512.0 + +[node name="pic" type="TextureRect" parent="CanvasLayer/CenterContainer/c/CenterContainer/big/p1"] +margin_right = 512.0 +margin_bottom = 512.0 +texture = ExtResource( 5 ) + +[node name="lore" type="Label" parent="CanvasLayer/CenterContainer/c/CenterContainer/big/p1"] +margin_left = 516.0 +margin_top = 185.0 +margin_right = 1029.0 +margin_bottom = 326.0 +custom_colors/font_color = Color( 0, 1, 0, 1 ) +custom_fonts/font = SubResource( 1 ) +text = "Coramy" + +[node name="p2" type="HBoxContainer" parent="CanvasLayer/CenterContainer/c/CenterContainer/big"] +margin_top = 516.0 +margin_right = 1166.0 +margin_bottom = 1028.0 + +[node name="pic" type="TextureRect" parent="CanvasLayer/CenterContainer/c/CenterContainer/big/p2"] +margin_right = 512.0 +margin_bottom = 512.0 +texture = ExtResource( 4 ) + +[node name="lore" type="Label" parent="CanvasLayer/CenterContainer/c/CenterContainer/big/p2"] +margin_left = 516.0 +margin_top = 185.0 +margin_right = 1166.0 +margin_bottom = 326.0 +custom_colors/font_color = Color( 1, 0, 1, 1 ) +custom_fonts/font = SubResource( 1 ) +text = "Braingian" + +[node name="p3" type="HBoxContainer" parent="CanvasLayer/CenterContainer/c/CenterContainer/big"] +margin_left = 1170.0 +margin_top = 516.0 +margin_right = 2199.0 +margin_bottom = 1028.0 + +[node name="pic" type="TextureRect" parent="CanvasLayer/CenterContainer/c/CenterContainer/big/p3"] +margin_right = 512.0 +margin_bottom = 512.0 +texture = ExtResource( 3 ) + +[node name="lore" type="Label" parent="CanvasLayer/CenterContainer/c/CenterContainer/big/p3"] +margin_left = 516.0 +margin_top = 185.0 +margin_right = 997.0 +margin_bottom = 326.0 +custom_colors/font_color = Color( 1, 0, 1, 1 ) +custom_fonts/font = SubResource( 1 ) +text = "Pallase" + +[node name="small" type="GridContainer" parent="CanvasLayer/CenterContainer/c"] +margin_top = 1032.0 +margin_right = 2732.0 +margin_bottom = 1712.0 +columns = 4 + +[node name="p0" type="TextureRect" parent="CanvasLayer/CenterContainer/c/small"] +margin_right = 680.0 +margin_bottom = 680.0 +texture = ExtResource( 8 ) + +[node name="p1" type="TextureRect" parent="CanvasLayer/CenterContainer/c/small"] +margin_left = 684.0 +margin_right = 1364.0 +margin_bottom = 680.0 +texture = ExtResource( 7 ) + +[node name="p2" type="TextureRect" parent="CanvasLayer/CenterContainer/c/small"] +margin_left = 1368.0 +margin_right = 2048.0 +margin_bottom = 680.0 +texture = ExtResource( 9 ) + +[node name="p3" type="TextureRect" parent="CanvasLayer/CenterContainer/c/small"] +margin_left = 2052.0 +margin_right = 2732.0 +margin_bottom = 680.0 +texture = ExtResource( 6 ) + +[node name="CenterContainer2" type="CenterContainer" parent="CanvasLayer"] +anchor_left = 0.5 +anchor_top = 0.9 +anchor_right = 0.5 +anchor_bottom = 0.9 +margin_right = 40.0 +margin_bottom = 40.0 +use_top_left = true + +[node name="h" type="HBoxContainer" parent="CanvasLayer/CenterContainer2"] +margin_left = -126.0 +margin_top = -32.0 +margin_right = 125.0 +margin_bottom = 31.0 + +[node name="back" type="Button" parent="CanvasLayer/CenterContainer2/h"] +margin_right = 98.0 +margin_bottom = 63.0 +custom_fonts/font = SubResource( 3 ) +text = "Back" + +[node name="play" type="Button" parent="CanvasLayer/CenterContainer2/h"] +margin_left = 102.0 +margin_right = 251.0 +margin_bottom = 63.0 +custom_fonts/font = SubResource( 2 ) +text = "Start" + +[node name="music" type="AudioStreamPlayer" parent="."] +stream = ExtResource( 12 ) + +[node name="sounds" type="Node" parent="."] + +[node name="p0" type="AudioStreamPlayer" parent="sounds"] +stream = ExtResource( 16 ) + +[node name="p1" type="AudioStreamPlayer" parent="sounds"] +stream = ExtResource( 14 ) + +[node name="p2" type="AudioStreamPlayer2D" parent="sounds"] +stream = ExtResource( 15 ) + +[node name="p3" type="AudioStreamPlayer2D" parent="sounds"] +stream = ExtResource( 13 ) diff --git a/select/p0.png b/select/p0.png Binary files differnew file mode 100644 index 0000000..c005db0 --- /dev/null +++ b/select/p0.png diff --git a/select/p1.png b/select/p1.png Binary files differnew file mode 100644 index 0000000..e7fad0e --- /dev/null +++ b/select/p1.png diff --git a/select/p2.png b/select/p2.png Binary files differnew file mode 100644 index 0000000..286b744 --- /dev/null +++ b/select/p2.png diff --git a/select/p3.png b/select/p3.png Binary files differnew file mode 100644 index 0000000..57dc0eb --- /dev/null +++ b/select/p3.png diff --git a/select/ps0.png b/select/ps0.png Binary files differnew file mode 100644 index 0000000..9c51085 --- /dev/null +++ b/select/ps0.png diff --git a/select/ps1.png b/select/ps1.png Binary files differnew file mode 100644 index 0000000..42620d7 --- /dev/null +++ b/select/ps1.png diff --git a/select/ps2.png b/select/ps2.png Binary files differnew file mode 100644 index 0000000..508e737 --- /dev/null +++ b/select/ps2.png diff --git a/select/ps3.png b/select/ps3.png Binary files differnew file mode 100644 index 0000000..086c932 --- /dev/null +++ b/select/ps3.png diff --git a/sfx/cat/Gato.wav b/sfx/cat/Gato.wav Binary files differnew file mode 100644 index 0000000..8f3ebad --- /dev/null +++ b/sfx/cat/Gato.wav diff --git a/sfx/cat/Gato.wav.import b/sfx/cat/Gato.wav.import new file mode 100644 index 0000000..5c7961e --- /dev/null +++ b/sfx/cat/Gato.wav.import @@ -0,0 +1,23 @@ +[remap] + +importer="wav" +type="AudioStreamSample" +path="res://.import/Gato.wav-5a91d7d446e67da08422b7e5c06d4d53.sample" + +[deps] + +source_file="res://sfx/cat/Gato.wav" +dest_files=[ "res://.import/Gato.wav-5a91d7d446e67da08422b7e5c06d4d53.sample" ] + +[params] + +force/8_bit=false +force/mono=false +force/max_rate=false +force/max_rate_hz=44100 +edit/trim=false +edit/normalize=false +edit/loop_mode=0 +edit/loop_begin=0 +edit/loop_end=-1 +compress/mode=0 diff --git a/sfx/p0/Derrota.wav b/sfx/p0/Derrota.wav Binary files differnew file mode 100644 index 0000000..a5649bf --- /dev/null +++ b/sfx/p0/Derrota.wav diff --git a/sfx/p0/Derrota.wav.import b/sfx/p0/Derrota.wav.import new file mode 100644 index 0000000..41b070c --- /dev/null +++ b/sfx/p0/Derrota.wav.import @@ -0,0 +1,23 @@ +[remap] + +importer="wav" +type="AudioStreamSample" +path="res://.import/Derrota.wav-d6a735242169dd978c9a1aa5509e66ed.sample" + +[deps] + +source_file="res://sfx/p0/Derrota.wav" +dest_files=[ "res://.import/Derrota.wav-d6a735242169dd978c9a1aa5509e66ed.sample" ] + +[params] + +force/8_bit=false +force/mono=false +force/max_rate=false +force/max_rate_hz=44100 +edit/trim=false +edit/normalize=false +edit/loop_mode=0 +edit/loop_begin=0 +edit/loop_end=-1 +compress/mode=0 diff --git a/sfx/p0/Power Up.wav b/sfx/p0/Power Up.wav Binary files differnew file mode 100644 index 0000000..21f223e --- /dev/null +++ b/sfx/p0/Power Up.wav diff --git a/sfx/p0/Power Up.wav.import b/sfx/p0/Power Up.wav.import new file mode 100644 index 0000000..5915767 --- /dev/null +++ b/sfx/p0/Power Up.wav.import @@ -0,0 +1,23 @@ +[remap] + +importer="wav" +type="AudioStreamSample" +path="res://.import/Power Up.wav-f8b683263cc1e346b08135a3f5ea75e4.sample" + +[deps] + +source_file="res://sfx/p0/Power Up.wav" +dest_files=[ "res://.import/Power Up.wav-f8b683263cc1e346b08135a3f5ea75e4.sample" ] + +[params] + +force/8_bit=false +force/mono=false +force/max_rate=false +force/max_rate_hz=44100 +edit/trim=false +edit/normalize=false +edit/loop_mode=0 +edit/loop_begin=0 +edit/loop_end=-1 +compress/mode=0 diff --git a/sfx/p0/Seleccion.wav b/sfx/p0/Seleccion.wav Binary files differnew file mode 100644 index 0000000..b1ee9e4 --- /dev/null +++ b/sfx/p0/Seleccion.wav diff --git a/sfx/p0/Seleccion.wav.import b/sfx/p0/Seleccion.wav.import new file mode 100644 index 0000000..c701749 --- /dev/null +++ b/sfx/p0/Seleccion.wav.import @@ -0,0 +1,23 @@ +[remap] + +importer="wav" +type="AudioStreamSample" +path="res://.import/Seleccion.wav-ab2e79a081f18ab722d27c37f02d1e47.sample" + +[deps] + +source_file="res://sfx/p0/Seleccion.wav" +dest_files=[ "res://.import/Seleccion.wav-ab2e79a081f18ab722d27c37f02d1e47.sample" ] + +[params] + +force/8_bit=false +force/mono=false +force/max_rate=false +force/max_rate_hz=44100 +edit/trim=false +edit/normalize=false +edit/loop_mode=0 +edit/loop_begin=0 +edit/loop_end=-1 +compress/mode=0 diff --git a/sfx/p0/Victoria.wav b/sfx/p0/Victoria.wav Binary files differnew file mode 100644 index 0000000..7ca3627 --- /dev/null +++ b/sfx/p0/Victoria.wav diff --git a/sfx/p0/Victoria.wav.import b/sfx/p0/Victoria.wav.import new file mode 100644 index 0000000..bcc82ba --- /dev/null +++ b/sfx/p0/Victoria.wav.import @@ -0,0 +1,23 @@ +[remap] + +importer="wav" +type="AudioStreamSample" +path="res://.import/Victoria.wav-48eee23acf73fa07a202d3ebcf0b13f4.sample" + +[deps] + +source_file="res://sfx/p0/Victoria.wav" +dest_files=[ "res://.import/Victoria.wav-48eee23acf73fa07a202d3ebcf0b13f4.sample" ] + +[params] + +force/8_bit=false +force/mono=false +force/max_rate=false +force/max_rate_hz=44100 +edit/trim=false +edit/normalize=false +edit/loop_mode=0 +edit/loop_begin=0 +edit/loop_end=-1 +compress/mode=0 diff --git a/sfx/p1/Derrota.wav b/sfx/p1/Derrota.wav Binary files differnew file mode 100644 index 0000000..be4a093 --- /dev/null +++ b/sfx/p1/Derrota.wav diff --git a/sfx/p1/Derrota.wav.import b/sfx/p1/Derrota.wav.import new file mode 100644 index 0000000..717e398 --- /dev/null +++ b/sfx/p1/Derrota.wav.import @@ -0,0 +1,23 @@ +[remap] + +importer="wav" +type="AudioStreamSample" +path="res://.import/Derrota.wav-56be0f715a17c2e12468c4ade26f919d.sample" + +[deps] + +source_file="res://sfx/p1/Derrota.wav" +dest_files=[ "res://.import/Derrota.wav-56be0f715a17c2e12468c4ade26f919d.sample" ] + +[params] + +force/8_bit=false +force/mono=false +force/max_rate=false +force/max_rate_hz=44100 +edit/trim=false +edit/normalize=false +edit/loop_mode=0 +edit/loop_begin=0 +edit/loop_end=-1 +compress/mode=0 diff --git a/sfx/p1/Power Up.wav b/sfx/p1/Power Up.wav Binary files differnew file mode 100644 index 0000000..6b16d2b --- /dev/null +++ b/sfx/p1/Power Up.wav diff --git a/sfx/p1/Power Up.wav.import b/sfx/p1/Power Up.wav.import new file mode 100644 index 0000000..29f1b0d --- /dev/null +++ b/sfx/p1/Power Up.wav.import @@ -0,0 +1,23 @@ +[remap] + +importer="wav" +type="AudioStreamSample" +path="res://.import/Power Up.wav-fde3c84e52c64f83bdb38ab37b4a157e.sample" + +[deps] + +source_file="res://sfx/p1/Power Up.wav" +dest_files=[ "res://.import/Power Up.wav-fde3c84e52c64f83bdb38ab37b4a157e.sample" ] + +[params] + +force/8_bit=false +force/mono=false +force/max_rate=false +force/max_rate_hz=44100 +edit/trim=false +edit/normalize=false +edit/loop_mode=0 +edit/loop_begin=0 +edit/loop_end=-1 +compress/mode=0 diff --git a/sfx/p1/Seleccion.wav b/sfx/p1/Seleccion.wav Binary files differnew file mode 100644 index 0000000..129cccc --- /dev/null +++ b/sfx/p1/Seleccion.wav diff --git a/sfx/p1/Seleccion.wav.import b/sfx/p1/Seleccion.wav.import new file mode 100644 index 0000000..007d345 --- /dev/null +++ b/sfx/p1/Seleccion.wav.import @@ -0,0 +1,23 @@ +[remap] + +importer="wav" +type="AudioStreamSample" +path="res://.import/Seleccion.wav-0b976e7263ca41253421daae668eec49.sample" + +[deps] + +source_file="res://sfx/p1/Seleccion.wav" +dest_files=[ "res://.import/Seleccion.wav-0b976e7263ca41253421daae668eec49.sample" ] + +[params] + +force/8_bit=false +force/mono=false +force/max_rate=false +force/max_rate_hz=44100 +edit/trim=false +edit/normalize=false +edit/loop_mode=0 +edit/loop_begin=0 +edit/loop_end=-1 +compress/mode=0 diff --git a/sfx/p1/Victoria.wav b/sfx/p1/Victoria.wav Binary files differnew file mode 100644 index 0000000..68000e6 --- /dev/null +++ b/sfx/p1/Victoria.wav diff --git a/sfx/p1/Victoria.wav.import b/sfx/p1/Victoria.wav.import new file mode 100644 index 0000000..24e32f9 --- /dev/null +++ b/sfx/p1/Victoria.wav.import @@ -0,0 +1,23 @@ +[remap] + +importer="wav" +type="AudioStreamSample" +path="res://.import/Victoria.wav-2504d5fb9ed6a908aa78c8c6204fb67d.sample" + +[deps] + +source_file="res://sfx/p1/Victoria.wav" +dest_files=[ "res://.import/Victoria.wav-2504d5fb9ed6a908aa78c8c6204fb67d.sample" ] + +[params] + +force/8_bit=false +force/mono=false +force/max_rate=false +force/max_rate_hz=44100 +edit/trim=false +edit/normalize=false +edit/loop_mode=0 +edit/loop_begin=0 +edit/loop_end=-1 +compress/mode=0 diff --git a/sfx/p2/Derrota.wav b/sfx/p2/Derrota.wav Binary files differnew file mode 100644 index 0000000..193173b --- /dev/null +++ b/sfx/p2/Derrota.wav diff --git a/sfx/p2/Derrota.wav.import b/sfx/p2/Derrota.wav.import new file mode 100644 index 0000000..a6f80b9 --- /dev/null +++ b/sfx/p2/Derrota.wav.import @@ -0,0 +1,23 @@ +[remap] + +importer="wav" +type="AudioStreamSample" +path="res://.import/Derrota.wav-5f4ca4931e2c7a7d2f9c74f03ab0903f.sample" + +[deps] + +source_file="res://sfx/p2/Derrota.wav" +dest_files=[ "res://.import/Derrota.wav-5f4ca4931e2c7a7d2f9c74f03ab0903f.sample" ] + +[params] + +force/8_bit=false +force/mono=false +force/max_rate=false +force/max_rate_hz=44100 +edit/trim=false +edit/normalize=false +edit/loop_mode=0 +edit/loop_begin=0 +edit/loop_end=-1 +compress/mode=0 diff --git a/sfx/p2/Power Up.wav b/sfx/p2/Power Up.wav Binary files differnew file mode 100644 index 0000000..8070944 --- /dev/null +++ b/sfx/p2/Power Up.wav diff --git a/sfx/p2/Power Up.wav.import b/sfx/p2/Power Up.wav.import new file mode 100644 index 0000000..e050763 --- /dev/null +++ b/sfx/p2/Power Up.wav.import @@ -0,0 +1,23 @@ +[remap] + +importer="wav" +type="AudioStreamSample" +path="res://.import/Power Up.wav-66c745d01f5a922e42bfd07314b9ec85.sample" + +[deps] + +source_file="res://sfx/p2/Power Up.wav" +dest_files=[ "res://.import/Power Up.wav-66c745d01f5a922e42bfd07314b9ec85.sample" ] + +[params] + +force/8_bit=false +force/mono=false +force/max_rate=false +force/max_rate_hz=44100 +edit/trim=false +edit/normalize=false +edit/loop_mode=0 +edit/loop_begin=0 +edit/loop_end=-1 +compress/mode=0 diff --git a/sfx/p2/Seleccion.wav b/sfx/p2/Seleccion.wav Binary files differnew file mode 100644 index 0000000..f6faa56 --- /dev/null +++ b/sfx/p2/Seleccion.wav diff --git a/sfx/p2/Seleccion.wav.import b/sfx/p2/Seleccion.wav.import new file mode 100644 index 0000000..35684c6 --- /dev/null +++ b/sfx/p2/Seleccion.wav.import @@ -0,0 +1,23 @@ +[remap] + +importer="wav" +type="AudioStreamSample" +path="res://.import/Seleccion.wav-04d6573a412cf84c8b8301c17593a2fe.sample" + +[deps] + +source_file="res://sfx/p2/Seleccion.wav" +dest_files=[ "res://.import/Seleccion.wav-04d6573a412cf84c8b8301c17593a2fe.sample" ] + +[params] + +force/8_bit=false +force/mono=false +force/max_rate=false +force/max_rate_hz=44100 +edit/trim=false +edit/normalize=false +edit/loop_mode=0 +edit/loop_begin=0 +edit/loop_end=-1 +compress/mode=0 diff --git a/sfx/p2/Victoria.wav b/sfx/p2/Victoria.wav Binary files differnew file mode 100644 index 0000000..c254e8a --- /dev/null +++ b/sfx/p2/Victoria.wav diff --git a/sfx/p2/Victoria.wav.import b/sfx/p2/Victoria.wav.import new file mode 100644 index 0000000..506332c --- /dev/null +++ b/sfx/p2/Victoria.wav.import @@ -0,0 +1,23 @@ +[remap] + +importer="wav" +type="AudioStreamSample" +path="res://.import/Victoria.wav-e3659ac89fc55d7cbe5dcfa4e3285db1.sample" + +[deps] + +source_file="res://sfx/p2/Victoria.wav" +dest_files=[ "res://.import/Victoria.wav-e3659ac89fc55d7cbe5dcfa4e3285db1.sample" ] + +[params] + +force/8_bit=false +force/mono=false +force/max_rate=false +force/max_rate_hz=44100 +edit/trim=false +edit/normalize=false +edit/loop_mode=0 +edit/loop_begin=0 +edit/loop_end=-1 +compress/mode=0 diff --git a/sfx/p3/Derrota.wav b/sfx/p3/Derrota.wav Binary files differnew file mode 100644 index 0000000..6e4411a --- /dev/null +++ b/sfx/p3/Derrota.wav diff --git a/sfx/p3/Derrota.wav.import b/sfx/p3/Derrota.wav.import new file mode 100644 index 0000000..7055b32 --- /dev/null +++ b/sfx/p3/Derrota.wav.import @@ -0,0 +1,23 @@ +[remap] + +importer="wav" +type="AudioStreamSample" +path="res://.import/Derrota.wav-26e149707d90aa193fee5177793d5d8f.sample" + +[deps] + +source_file="res://sfx/p3/Derrota.wav" +dest_files=[ "res://.import/Derrota.wav-26e149707d90aa193fee5177793d5d8f.sample" ] + +[params] + +force/8_bit=false +force/mono=false +force/max_rate=false +force/max_rate_hz=44100 +edit/trim=false +edit/normalize=false +edit/loop_mode=0 +edit/loop_begin=0 +edit/loop_end=-1 +compress/mode=0 diff --git a/sfx/p3/Power Up.wav b/sfx/p3/Power Up.wav Binary files differnew file mode 100644 index 0000000..963a3e8 --- /dev/null +++ b/sfx/p3/Power Up.wav diff --git a/sfx/p3/Power Up.wav.import b/sfx/p3/Power Up.wav.import new file mode 100644 index 0000000..8659d69 --- /dev/null +++ b/sfx/p3/Power Up.wav.import @@ -0,0 +1,23 @@ +[remap] + +importer="wav" +type="AudioStreamSample" +path="res://.import/Power Up.wav-650d20ea051bce0fd54135941fee7bea.sample" + +[deps] + +source_file="res://sfx/p3/Power Up.wav" +dest_files=[ "res://.import/Power Up.wav-650d20ea051bce0fd54135941fee7bea.sample" ] + +[params] + +force/8_bit=false +force/mono=false +force/max_rate=false +force/max_rate_hz=44100 +edit/trim=false +edit/normalize=false +edit/loop_mode=0 +edit/loop_begin=0 +edit/loop_end=-1 +compress/mode=0 diff --git a/sfx/p3/Seleccion.wav b/sfx/p3/Seleccion.wav Binary files differnew file mode 100644 index 0000000..2eed48d --- /dev/null +++ b/sfx/p3/Seleccion.wav diff --git a/sfx/p3/Seleccion.wav.import b/sfx/p3/Seleccion.wav.import new file mode 100644 index 0000000..4b18aa7 --- /dev/null +++ b/sfx/p3/Seleccion.wav.import @@ -0,0 +1,23 @@ +[remap] + +importer="wav" +type="AudioStreamSample" +path="res://.import/Seleccion.wav-e74e1b277c00e945d8a8ce5874959560.sample" + +[deps] + +source_file="res://sfx/p3/Seleccion.wav" +dest_files=[ "res://.import/Seleccion.wav-e74e1b277c00e945d8a8ce5874959560.sample" ] + +[params] + +force/8_bit=false +force/mono=false +force/max_rate=false +force/max_rate_hz=44100 +edit/trim=false +edit/normalize=false +edit/loop_mode=0 +edit/loop_begin=0 +edit/loop_end=-1 +compress/mode=0 diff --git a/sfx/p3/Victoria.wav b/sfx/p3/Victoria.wav Binary files differnew file mode 100644 index 0000000..f96a96a --- /dev/null +++ b/sfx/p3/Victoria.wav diff --git a/sfx/p3/Victoria.wav.import b/sfx/p3/Victoria.wav.import new file mode 100644 index 0000000..27d83ae --- /dev/null +++ b/sfx/p3/Victoria.wav.import @@ -0,0 +1,23 @@ +[remap] + +importer="wav" +type="AudioStreamSample" +path="res://.import/Victoria.wav-107e96075d71730bc07f1daf82bd21ae.sample" + +[deps] + +source_file="res://sfx/p3/Victoria.wav" +dest_files=[ "res://.import/Victoria.wav-107e96075d71730bc07f1daf82bd21ae.sample" ] + +[params] + +force/8_bit=false +force/mono=false +force/max_rate=false +force/max_rate_hz=44100 +edit/trim=false +edit/normalize=false +edit/loop_mode=0 +edit/loop_begin=0 +edit/loop_end=-1 +compress/mode=0 diff --git a/sky.tscn b/sky.tscn new file mode 100644 index 0000000..cf2bcdc --- /dev/null +++ b/sky.tscn @@ -0,0 +1,15 @@ +[gd_scene load_steps=4 format=2] + +[ext_resource path="res://bg.png" type="Texture" id=1] + +[sub_resource type="SphereMesh" id=3] +flip_faces = true + +[sub_resource type="SpatialMaterial" id=2] +albedo_texture = ExtResource( 1 ) + +[node name="Spatial" type="Spatial"] + +[node name="MeshInstance" type="MeshInstance" parent="."] +mesh = SubResource( 3 ) +material/0 = SubResource( 2 ) diff --git a/speed.png b/speed.png Binary files differnew file mode 100644 index 0000000..fa6d325 --- /dev/null +++ b/speed.png diff --git a/splash.png b/splash.png Binary files differnew file mode 100644 index 0000000..51c3cce --- /dev/null +++ b/splash.png diff --git a/swap.png b/swap.png Binary files differnew file mode 100644 index 0000000..0158c52 --- /dev/null +++ b/swap.png @@ -0,0 +1,6 @@ +extends Node + +enum Team { + PINK + GREEN +} diff --git a/title.png b/title.png Binary files differnew file mode 100644 index 0000000..854fb1b --- /dev/null +++ b/title.png diff --git a/vera/CMakeLists.txt b/vera/CMakeLists.txt new file mode 100644 index 0000000..c956a86 --- /dev/null +++ b/vera/CMakeLists.txt @@ -0,0 +1,10 @@ +install(FILES + COPYRIGHT.TXT + README.TXT + RELEASENOTES.TXT + VeraBd.ttf + VeraBI.ttf + VeraIt.ttf + Vera.ttf + DESTINATION ${datadir}/data/fonts/vera +) diff --git a/vera/COPYRIGHT.TXT b/vera/COPYRIGHT.TXT new file mode 100755 index 0000000..e651be1 --- /dev/null +++ b/vera/COPYRIGHT.TXT @@ -0,0 +1,124 @@ +Bitstream Vera Fonts Copyright + +The fonts have a generous copyright, allowing derivative works (as +long as "Bitstream" or "Vera" are not in the names), and full +redistribution (so long as they are not *sold* by themselves). They +can be be bundled, redistributed and sold with any software. + +The fonts are distributed under the following copyright: + +Copyright +========= + +Copyright (c) 2003 by Bitstream, Inc. All Rights Reserved. Bitstream +Vera is a trademark of Bitstream, Inc. + +Permission is hereby granted, free of charge, to any person obtaining +a copy of the fonts accompanying this license ("Fonts") and associated +documentation files (the "Font Software"), to reproduce and distribute +the Font Software, including without limitation the rights to use, +copy, merge, publish, distribute, and/or sell copies of the Font +Software, and to permit persons to whom the Font Software is furnished +to do so, subject to the following conditions: + +The above copyright and trademark notices and this permission notice +shall be included in all copies of one or more of the Font Software +typefaces. + +The Font Software may be modified, altered, or added to, and in +particular the designs of glyphs or characters in the Fonts may be +modified and additional glyphs or characters may be added to the +Fonts, only if the fonts are renamed to names not containing either +the words "Bitstream" or the word "Vera". + +This License becomes null and void to the extent applicable to Fonts +or Font Software that has been modified and is distributed under the +"Bitstream Vera" names. + +The Font Software may be sold as part of a larger software package but +no copy of one or more of the Font Software typefaces may be sold by +itself. + +THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT +OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL +BITSTREAM OR THE GNOME FOUNDATION BE LIABLE FOR ANY CLAIM, DAMAGES OR +OTHER LIABILITY, INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, +OR CONSEQUENTIAL DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR +OTHERWISE, ARISING FROM, OUT OF THE USE OR INABILITY TO USE THE FONT +SOFTWARE OR FROM OTHER DEALINGS IN THE FONT SOFTWARE. + +Except as contained in this notice, the names of Gnome, the Gnome +Foundation, and Bitstream Inc., shall not be used in advertising or +otherwise to promote the sale, use or other dealings in this Font +Software without prior written authorization from the Gnome Foundation +or Bitstream Inc., respectively. For further information, contact: +fonts at gnome dot org. + +Copyright FAQ +============= + + 1. I don't understand the resale restriction... What gives? + + Bitstream is giving away these fonts, but wishes to ensure its + competitors can't just drop the fonts as is into a font sale system + and sell them as is. It seems fair that if Bitstream can't make money + from the Bitstream Vera fonts, their competitors should not be able to + do so either. You can sell the fonts as part of any software package, + however. + + 2. I want to package these fonts separately for distribution and + sale as part of a larger software package or system. Can I do so? + + Yes. A RPM or Debian package is a "larger software package" to begin + with, and you aren't selling them independently by themselves. + See 1. above. + + 3. Are derivative works allowed? + Yes! + + 4. Can I change or add to the font(s)? + Yes, but you must change the name(s) of the font(s). + + 5. Under what terms are derivative works allowed? + + You must change the name(s) of the fonts. This is to ensure the + quality of the fonts, both to protect Bitstream and Gnome. We want to + ensure that if an application has opened a font specifically of these + names, it gets what it expects (though of course, using fontconfig, + substitutions could still could have occurred during font + opening). You must include the Bitstream copyright. Additional + copyrights can be added, as per copyright law. Happy Font Hacking! + + 6. If I have improvements for Bitstream Vera, is it possible they might get + adopted in future versions? + + Yes. The contract between the Gnome Foundation and Bitstream has + provisions for working with Bitstream to ensure quality additions to + the Bitstream Vera font family. Please contact us if you have such + additions. Note, that in general, we will want such additions for the + entire family, not just a single font, and that you'll have to keep + both Gnome and Jim Lyles, Vera's designer, happy! To make sense to add + glyphs to the font, they must be stylistically in keeping with Vera's + design. Vera cannot become a "ransom note" font. Jim Lyles will be + providing a document describing the design elements used in Vera, as a + guide and aid for people interested in contributing to Vera. + + 7. I want to sell a software package that uses these fonts: Can I do so? + + Sure. Bundle the fonts with your software and sell your software + with the fonts. That is the intent of the copyright. + + 8. If applications have built the names "Bitstream Vera" into them, + can I override this somehow to use fonts of my choosing? + + This depends on exact details of the software. Most open source + systems and software (e.g., Gnome, KDE, etc.) are now converting to + use fontconfig (see www.fontconfig.org) to handle font configuration, + selection and substitution; it has provisions for overriding font + names and subsituting alternatives. An example is provided by the + supplied local.conf file, which chooses the family Bitstream Vera for + "sans", "serif" and "monospace". Other software (e.g., the XFree86 + core server) has other mechanisms for font substitution. + diff --git a/vera/README.TXT b/vera/README.TXT new file mode 100755 index 0000000..0f71795 --- /dev/null +++ b/vera/README.TXT @@ -0,0 +1,11 @@ +Contained herin is the Bitstream Vera font family. + +The Copyright information is found in the COPYRIGHT.TXT file (along +with being incoporated into the fonts themselves). + +The releases notes are found in the file "RELEASENOTES.TXT". + +We hope you enjoy Vera! + + Bitstream, Inc. + The Gnome Project diff --git a/vera/RELEASENOTES.TXT b/vera/RELEASENOTES.TXT new file mode 100755 index 0000000..270bc0d --- /dev/null +++ b/vera/RELEASENOTES.TXT @@ -0,0 +1,162 @@ +Bitstream Vera Fonts - April 16, 2003 +===================================== + +The version number of these fonts is 1.10 to distinguish them from the +beta test fonts. + +Note that the Vera copyright is incorporated in the fonts themselves. +The License field in the fonts contains the copyright license as it +appears below. The TrueType copyright field is not large enough to +contain the full license, so the license is incorporated (as you might +think if you thought about it) into the license field, which +unfortunately can be obscure to find. (In pfaedit, see: Element->Font +Info->TTFNames->License). + +Our apologies for it taking longer to complete the fonts than planned. +Beta testers requested a tighter line spacing (less leading) and Jim +Lyles redesigned Vera's accents to bring its line spacing to more +typical of other fonts. This took additional time and effort. Our +thanks to Jim for this effort above and beyond the call of duty. + +There are four monospace and sans faces (normal, oblique, bold, bold +oblique) and two serif faces (normal and bold). Fontconfig/Xft2 (see +www.fontconfig.org) can artificially oblique the serif faces for you: +this loses hinting and distorts the faces slightly, but is visibly +different than normal and bold, and reasonably pleasing. + +On systems with fontconfig 2.0 or 2.1 installed, making your sans, +serif and monospace fonts default to these fonts is very easy. Just +drop the file local.conf into your /etc/fonts directory. This will +make the Bitstream fonts your default fonts for all applications using +fontconfig (if sans, serif, or monospace names are used, as they often +are as default values in many desktops). The XML in local.conf may +need modification to enable subpixel decimation, if appropriate, +however, the commented out phrase does so for XFree86 4.3, in the case +that the server does not have sufficient information to identify the +use of a flat panel. Fontconfig 2.2 adds Vera to the list of font +families and will, by default use it as the default sans, serif and +monospace fonts. + +During the testing of the final Vera fonts, we learned that screen +fonts in general are only typically hinted to work correctly at +integer pixel sizes. Vera is coded internally for integer sizes only. +We need to investigate further to see if there are commonly used fonts +that are hinted to be rounded but are not rounded to integer sizes due +to oversights in their coding. + +Most fonts work best at 8 pixels and below if anti-aliased only, as +the amount of work required to hint well at smaller and smaller sizes +becomes astronomical. GASP tables are typically used to control +whether hinting is used or not, but Freetype/Xft does not currently +support GASP tables (which are present in Vera). + +To mitigate this problem, both for Vera and other fonts, there will be +(very shortly) a new fontconfig 2.2 release that will, by default not +apply hints if the size is below 8 pixels. if you should have a font +that in fact has been hinted more agressively, you can use fontconfig +to note this exception. We believe this should improve many hinted +fonts in addition to Vera, though implemeting GASP support is likely +the right long term solution. + +Font rendering in Gnome or KDE is the combination of algorithms in +Xft2 and Freetype, along with hinting in the fonts themselves. It is +vital to have sufficient information to disentangle problems that you +may observe. + +Note that having your font rendering system set up correctly is vital +to proper judgement of problems of the fonts: + + * Freetype may or may not be configured to in ways that may + implement execution of possibly patented (in some parts of the world) + TrueType hinting algorithms, particularly at small sizes. Best + results are obtained while using these algorithms. + + * The freetype autohinter (used when the possibly patented + algorithms are not used) continues to improve with each release. If + you are using the autohinter, please ensure you are using an up to + date version of freetype before reporting problems. + + * Please identify what version of freetype you are using in any + bug reports, and how your freetype is configured. + + * Make sure you are not using the freetype version included in + XFree86 4.3, as it has bugs that significantly degrade most fonts, + including Vera. if you build XFree86 4.3 from source yourself, you may + have installed this broken version without intending it (as I + did). Vera was verified with the recently released Freetype 2.1.4. On + many systems, 'ldd" can be used to see which freetype shared library + is actually being used. + + * Xft/X Render does not (yet) implement gamma correction. This + causes significant problems rendering white text on a black background + (causing partial pixels to be insufficiently shaded) if the gamma of + your monitor has not been compensated for, and minor problems with + black text on a while background. The program "xgamma" can be used to + set a gamma correction value in the X server's color pallette. Most + monitors have a gamma near 2. + + * Note that the Vera family uses minimal delta hinting. Your + results on other systems when not used anti-aliased may not be + entirely satisfying. We are primarily interested in reports of + problems on open source systems implementing Xft2/fontconfig/freetype + (which implements antialiasing and hinting adjustements, and + sophisticated subpixel decimation on flatpanels). Also, the + algorithms used by Xft2 adjust the hints to integer widths and the + results are crisper on open source systems than on Windows or + MacIntosh. + + * Your fontconfig may (probably does) predate the release of + fontconfig 2.2, and you may see artifacts not present when the font is + used at very small sizes with hinting enabled. "vc-list -V" can be + used to see what version you have installed. + +We believe and hope that these fonts will resolve the problems +reported during beta test. The largest change is the reduction of +leading (interline spacing), which had annoyed a number of people, and +reduced Vera's utility for some applcations. The Vera monospace font +should also now make '0' and 'O' and '1' and 'l' more clearly +distinguishable. + +The version of these fonts is version 1.10. Fontconfig should be +choosing the new version of the fonts if both the released fonts and +beta test fonts are installed (though please discard them: they have +names of form tt20[1-12]gn.ttf). Note that older versions of +fontconfig sometimes did not rebuild their cache correctly when new +fonts are installed: please upgrade to fontconfig 2.2. "fc-cache -f" +can be used to force rebuilding fontconfig's cache files. + +If you note problems, please send them to fonts at gnome dot org, with +exactly which face and size and unicode point you observe the problem +at. The xfd utility from XFree86 CVS may be useful for this (e.g. "xfd +-fa sans"). A possibly more useful program to examine fonts at a +variety of sizes is the "waterfall" program found in Keith Packard's +CVS. + + $ cvs -d :pserver:anoncvs@keithp.com:/local/src/CVS login + Logging in to :pserver:anoncvs@keithp.com:2401/local/src/CVS + CVS password: <hit return> + $ cvs -d :pserver:anoncvs@keithp.com:/local/src/CVS co waterfall + $ cd waterfall + $ xmkmf -a + $ make + # make install + # make install.man + +Again, please make sure you are running an up-to-date freetype, and +that you are only examining integer sizes. + +Reporting Problems +================== + +Please send problem reports to fonts at gnome org, with the following +information: + + 1. Version of Freetype, Xft2 and fontconfig + 2. Whether TT hinting is being used, or the autohinter + 3. Application being used + 4. Character/Unicode code point that has problems (if applicable) + 5. Version of which operating system + 6. Please include a screenshot, when possible. + +Please check the fonts list archives before reporting problems to cut +down on duplication. diff --git a/vera/Vera.ttf b/vera/Vera.ttf Binary files differnew file mode 100755 index 0000000..58cd6b5 --- /dev/null +++ b/vera/Vera.ttf diff --git a/vera/VeraBI.ttf b/vera/VeraBI.ttf Binary files differnew file mode 100755 index 0000000..b55eee3 --- /dev/null +++ b/vera/VeraBI.ttf diff --git a/vera/VeraBd.ttf b/vera/VeraBd.ttf Binary files differnew file mode 100755 index 0000000..51d6111 --- /dev/null +++ b/vera/VeraBd.ttf diff --git a/vera/VeraIt.ttf b/vera/VeraIt.ttf Binary files differBinary files differnew file mode 100755 index 0000000..cc23c9e --- /dev/null +++ b/vera/VeraIt.ttf diff --git a/zombie.gd b/zombie.gd new file mode 100644 index 0000000..af794e8 --- /dev/null +++ b/zombie.gd @@ -0,0 +1,282 @@ +class_name Zombie extends KinematicBody + +const pw = preload("res://powerup.gd") +const t = preload("res://team.gd") + +enum Dir { + none + up + down + left + right +} + +var frames = [20, 20, 20, 8] +var tframes = [0.05, 0.05, 0.05, 0.075] + +signal powerup +signal cat_killed + +var dir = Dir.none +var lastdir +var tlast = 0 +var frame_i = 0 +var health = 100.0 +var zspeed = 20.0 +var myteam +var myid +var myrid +var lastframeid = "idle" +var lastscale = 1 +# powerups +var powerup = pw.Type.none +var running_cat: Node + +var images: Dictionary = {} +var speed: Vector3 +var can_move: bool = false + +var sprites: Array = [[], [], [], []] +var idle_sprites: Dictionary = {} + +func expired(): + $magnet_light.visible = false + $explosion_light.visible = false + $speed_light.visible = false + powerup = pw.Type.none + +func _on_timer(): + expired() + +func set_can_move(value): + can_move = value + +func _physics_process(delta): + var id = "p" + str(myrid) + "_" + var updown = ((Input.get_action_strength(id + "down") + - Input.get_action_strength(id + "up")) * 2 * delta) + var rightleft = ((Input.get_action_strength(id + "right") + - Input.get_action_strength(id + "left")) * 2 * delta) + var curdir = Dir.none + var vspeed = 4 + var __ + + for i in range(get_slide_count()): + var col = get_slide_collision(i).collider + + if running_cat and col == running_cat: + emit_signal("cat_killed", self) + + if powerup == pw.Type.superspeed: + vspeed = 8 + + if updown and rightleft: + vspeed = vspeed / sqrt(2) + + if updown: + if updown > 0: + speed.z = vspeed + curdir = Dir.up + else: + speed.z = -vspeed + curdir = Dir.down + else: + speed.z = lerp(speed.z, 0, delta * zspeed) + + if rightleft: + if rightleft > 0: + speed.x = vspeed + curdir = Dir.right + else: + speed.x = -vspeed + curdir = Dir.left + else: + speed.x = lerp(speed.x, 0, delta * zspeed) + + dir = curdir + + if is_on_wall(): + speed.y = 0 + else: + speed.y -= delta * 9.8 + + __ = move_and_slide(speed) + + for index in range(get_slide_count()): + var c = get_slide_collision(index).collider + if c.is_in_group("powerup"): + powerup = c.get_type() + $timer.start(10) + emit_signal("powerup", c, self) + + $magnet_light.visible = false + $explosion_light.visible = false + $speed_light.visible = false + + if powerup == pw.Type.magnet: + $magnet_light.visible = true + elif powerup == pw.Type.explosion: + $explosion_light.visible = true + elif powerup == pw.Type.superspeed: + $speed_light.visible = true + +func getid() -> String: + var id = "" + + match dir: + Dir.none: + id += "idle" + lastframeid = id + Dir.up: + id = lastframeid + id += String(frame_i) + Dir.down: + id = lastframeid + id += String(frame_i) + Dir.left: + id = "left" + lastframeid = id + id += String(frame_i) + Dir.right: + id = "left" + lastframeid = id + id += String(frame_i) + + return id + +func getscale() -> int: + + match dir: + Dir.none: + return lastscale + Dir.up: + return lastscale + Dir.down: + return lastscale + Dir.left: + lastscale = 1 + return 1 + Dir.right: + lastscale = -1 + return -1 + + return 1 + +func setimg(scale: int): + var mesh = get_node("MeshInstance") + var material = mesh.get_surface_material(0).duplicate() + + if dir == Dir.none: + material.albedo_texture = idle_sprites[str(myid)][0] + else: + material.albedo_texture = sprites[myid][frame_i] + + mesh.set_surface_material(0, material) + mesh.scale = Vector3(scale, 1, 1) + +func sethealth(): + pass + +func _process(delta): + tlast += delta + + if tlast > tframes[myid]: + tlast = 0 + frame_i += 1 + + if frame_i >= frames[myid]: + frame_i = 0 + + if lastdir != dir: + tlast = 0 + frame_i = 0 + + lastdir = dir + setimg(getscale()) + sethealth() + +func set_rid(z): + myrid = z + +func get_rid(): + return myrid + +func set_id(z): + myid = z + + # load moving sprites + for frame in range(frames[z]): + var path = "res://zombie" + str(z) + "/left" + str(frame) + ".png" + sprites[z] += [load(path)] + + # load idle sprite + var path = "res://zombie" + str(z) + "/idle.png" + idle_sprites[str(z)] = [load(path)] + +func set_team(team): + var material = $team.get_surface_material(0).duplicate() + + if team == t.Team.GREEN: + material.albedo_color = Color(0, 1, 0, 0.3) + elif team == t.Team.PINK: + material.albedo_color = Color(1, 0, 1, 0.3) + + $team.set_surface_material(0, material) + myteam = team + +func get_team(): + return myteam + +func box_explosion(b): + var mypos = global_transform.origin + var bpos = b.global_transform.origin + var dist = bpos.distance_to(mypos) + var force = 300 / dist + var xforce = force + var yforce = force + var zforce = force + + if mypos.x > bpos.x: + xforce = -xforce + if mypos.y > bpos.y: + xforce = -xforce + if mypos.z > bpos.z: + zforce = -zforce + + b.add_central_force(Vector3(xforce, yforce, zforce)) + +func box_magnet(b): + var mypos = global_transform.origin + var bpos = b.global_transform.origin + var dist = bpos.distance_to(mypos) + var force = 1.5 / dist + var xforce = force + var zforce = force + + if mypos.x > bpos.x: + xforce = -xforce + if mypos.z > bpos.z: + zforce = -zforce + + b.add_central_force(Vector3(-xforce, 0, -zforce)) + +func run_powerup(boxes): + match powerup: + pw.Type.explosion: + var id = "p" + str(myrid) + "_" + + if Input.is_action_just_released(id + "powerup"): + $explosion.play() + expired() + + for b in boxes: + box_explosion(b) + + pw.Type.magnet: + for b in boxes: + box_magnet(b) + +func _ready(): + var __ + + __ = $timer.connect("timeout", self, "_on_timer") diff --git a/zombie.tscn b/zombie.tscn new file mode 100644 index 0000000..5182b06 --- /dev/null +++ b/zombie.tscn @@ -0,0 +1,63 @@ +[gd_scene load_steps=8 format=2] + +[ext_resource path="res://zombie.gd" type="Script" id=2] +[ext_resource path="res://explosion.mp3" type="AudioStream" id=3] + +[sub_resource type="PlaneMesh" id=1] +size = Vector2( 2, 4 ) + +[sub_resource type="SpatialMaterial" id=2] +flags_transparent = true + +[sub_resource type="BoxShape" id=3] +extents = Vector3( 0.7, 2, 0.2 ) + +[sub_resource type="CapsuleMesh" id=4] + +[sub_resource type="SpatialMaterial" id=5] +flags_transparent = true +albedo_color = Color( 0.109804, 0.494118, 0.8, 0.435294 ) + +[node name="KinematicBody" type="KinematicBody"] +collision_layer = 3 +collision_mask = 3 +input_ray_pickable = false +script = ExtResource( 2 ) + +[node name="MeshInstance" type="MeshInstance" parent="."] +transform = Transform( 1, 0, 0, 0, -4.37114e-08, -1, 0, 1, -4.37114e-08, 0, 0, 0 ) +mesh = SubResource( 1 ) +material/0 = SubResource( 2 ) + +[node name="CollisionShape" type="CollisionShape" parent="."] +shape = SubResource( 3 ) + +[node name="root" type="Spatial" parent="."] + +[node name="timer" type="Timer" parent="."] + +[node name="magnet_light" type="OmniLight" parent="."] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0.409452 ) +visible = false +light_color = Color( 0, 0.741176, 1, 1 ) +light_energy = 3.071 + +[node name="speed_light" type="OmniLight" parent="."] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0.409452 ) +visible = false +light_color = Color( 0.137255, 0.878431, 0.0941176, 1 ) +light_energy = 3.071 + +[node name="explosion_light" type="OmniLight" parent="."] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0.398028 ) +visible = false +light_color = Color( 1, 0, 0, 1 ) +light_energy = 3.861 + +[node name="team" type="MeshInstance" parent="."] +transform = Transform( 0.3, 0, 0, 0, -1.31134e-08, 0.3, 0, -0.3, -1.31134e-08, 0, 2.86357, -1.25171e-07 ) +mesh = SubResource( 4 ) +material/0 = SubResource( 5 ) + +[node name="explosion" type="AudioStreamPlayer" parent="."] +stream = ExtResource( 3 ) diff --git a/zombie0/idle.png b/zombie0/idle.png Binary files differnew file mode 100644 index 0000000..5b75e2d --- /dev/null +++ b/zombie0/idle.png diff --git a/zombie0/left0.png b/zombie0/left0.png Binary files differnew file mode 100644 index 0000000..c5ae169 --- /dev/null +++ b/zombie0/left0.png diff --git a/zombie0/left1.png b/zombie0/left1.png Binary files differnew file mode 100644 index 0000000..c5ae169 --- /dev/null +++ b/zombie0/left1.png diff --git a/zombie0/left10.png b/zombie0/left10.png Binary files differnew file mode 100644 index 0000000..3d45d52 --- /dev/null +++ b/zombie0/left10.png diff --git a/zombie0/left11.png b/zombie0/left11.png Binary files differnew file mode 100644 index 0000000..3d45d52 --- /dev/null +++ b/zombie0/left11.png diff --git a/zombie0/left12.png b/zombie0/left12.png Binary files differnew file mode 100644 index 0000000..3d45d52 --- /dev/null +++ b/zombie0/left12.png diff --git a/zombie0/left13.png b/zombie0/left13.png Binary files differnew file mode 100644 index 0000000..b0108f1 --- /dev/null +++ b/zombie0/left13.png diff --git a/zombie0/left14.png b/zombie0/left14.png Binary files differnew file mode 100644 index 0000000..b0108f1 --- /dev/null +++ b/zombie0/left14.png diff --git a/zombie0/left15.png b/zombie0/left15.png Binary files differnew file mode 100644 index 0000000..ca615d3 --- /dev/null +++ b/zombie0/left15.png diff --git a/zombie0/left16.png b/zombie0/left16.png Binary files differnew file mode 100644 index 0000000..ca615d3 --- /dev/null +++ b/zombie0/left16.png diff --git a/zombie0/left17.png b/zombie0/left17.png Binary files differnew file mode 100644 index 0000000..ca615d3 --- /dev/null +++ b/zombie0/left17.png diff --git a/zombie0/left18.png b/zombie0/left18.png Binary files differnew file mode 100644 index 0000000..e7520d1 --- /dev/null +++ b/zombie0/left18.png diff --git a/zombie0/left19.png b/zombie0/left19.png Binary files differnew file mode 100644 index 0000000..e7520d1 --- /dev/null +++ b/zombie0/left19.png diff --git a/zombie0/left2.png b/zombie0/left2.png Binary files differnew file mode 100644 index 0000000..c5ae169 --- /dev/null +++ b/zombie0/left2.png diff --git a/zombie0/left3.png b/zombie0/left3.png Binary files differnew file mode 100644 index 0000000..e7520d1 --- /dev/null +++ b/zombie0/left3.png diff --git a/zombie0/left4.png b/zombie0/left4.png Binary files differnew file mode 100644 index 0000000..e7520d1 --- /dev/null +++ b/zombie0/left4.png diff --git a/zombie0/left5.png b/zombie0/left5.png Binary files differnew file mode 100644 index 0000000..ca615d3 --- /dev/null +++ b/zombie0/left5.png diff --git a/zombie0/left6.png b/zombie0/left6.png Binary files differnew file mode 100644 index 0000000..ca615d3 --- /dev/null +++ b/zombie0/left6.png diff --git a/zombie0/left7.png b/zombie0/left7.png Binary files differnew file mode 100644 index 0000000..ca615d3 --- /dev/null +++ b/zombie0/left7.png diff --git a/zombie0/left8.png b/zombie0/left8.png Binary files differnew file mode 100644 index 0000000..b0108f1 --- /dev/null +++ b/zombie0/left8.png diff --git a/zombie0/left9.png b/zombie0/left9.png Binary files differnew file mode 100644 index 0000000..b0108f1 --- /dev/null +++ b/zombie0/left9.png diff --git a/zombie1/idle.png b/zombie1/idle.png Binary files differnew file mode 100644 index 0000000..b732abc --- /dev/null +++ b/zombie1/idle.png diff --git a/zombie1/left0.png b/zombie1/left0.png Binary files differnew file mode 100644 index 0000000..94a3d02 --- /dev/null +++ b/zombie1/left0.png diff --git a/zombie1/left1.png b/zombie1/left1.png Binary files differnew file mode 100644 index 0000000..94a3d02 --- /dev/null +++ b/zombie1/left1.png diff --git a/zombie1/left10.png b/zombie1/left10.png Binary files differnew file mode 100644 index 0000000..acf2a5c --- /dev/null +++ b/zombie1/left10.png diff --git a/zombie1/left11.png b/zombie1/left11.png Binary files differnew file mode 100644 index 0000000..1b50803 --- /dev/null +++ b/zombie1/left11.png diff --git a/zombie1/left12.png b/zombie1/left12.png Binary files differnew file mode 100644 index 0000000..1b50803 --- /dev/null +++ b/zombie1/left12.png diff --git a/zombie1/left13.png b/zombie1/left13.png Binary files differnew file mode 100644 index 0000000..acf2a5c --- /dev/null +++ b/zombie1/left13.png diff --git a/zombie1/left14.png b/zombie1/left14.png Binary files differnew file mode 100644 index 0000000..acf2a5c --- /dev/null +++ b/zombie1/left14.png diff --git a/zombie1/left15.png b/zombie1/left15.png Binary files differnew file mode 100644 index 0000000..acf2a5c --- /dev/null +++ b/zombie1/left15.png diff --git a/zombie1/left16.png b/zombie1/left16.png Binary files differnew file mode 100644 index 0000000..6f1a645 --- /dev/null +++ b/zombie1/left16.png diff --git a/zombie1/left17.png b/zombie1/left17.png Binary files differnew file mode 100644 index 0000000..6f1a645 --- /dev/null +++ b/zombie1/left17.png diff --git a/zombie1/left18.png b/zombie1/left18.png Binary files differnew file mode 100644 index 0000000..2bc20fe --- /dev/null +++ b/zombie1/left18.png diff --git a/zombie1/left19.png b/zombie1/left19.png Binary files differnew file mode 100644 index 0000000..2bc20fe --- /dev/null +++ b/zombie1/left19.png diff --git a/zombie1/left2.png b/zombie1/left2.png Binary files differnew file mode 100644 index 0000000..2bc20fe --- /dev/null +++ b/zombie1/left2.png diff --git a/zombie1/left3.png b/zombie1/left3.png Binary files differnew file mode 100644 index 0000000..2bc20fe --- /dev/null +++ b/zombie1/left3.png diff --git a/zombie1/left4.png b/zombie1/left4.png Binary files differnew file mode 100644 index 0000000..2bc20fe --- /dev/null +++ b/zombie1/left4.png diff --git a/zombie1/left5.png b/zombie1/left5.png Binary files differnew file mode 100644 index 0000000..2bc20fe --- /dev/null +++ b/zombie1/left5.png diff --git a/zombie1/left6.png b/zombie1/left6.png Binary files differnew file mode 100644 index 0000000..6f1a645 --- /dev/null +++ b/zombie1/left6.png diff --git a/zombie1/left7.png b/zombie1/left7.png Binary files differnew file mode 100644 index 0000000..6f1a645 --- /dev/null +++ b/zombie1/left7.png diff --git a/zombie1/left8.png b/zombie1/left8.png Binary files differnew file mode 100644 index 0000000..acf2a5c --- /dev/null +++ b/zombie1/left8.png diff --git a/zombie1/left9.png b/zombie1/left9.png Binary files differnew file mode 100644 index 0000000..acf2a5c --- /dev/null +++ b/zombie1/left9.png diff --git a/zombie2/idle.png b/zombie2/idle.png Binary files differnew file mode 100644 index 0000000..64f6e82 --- /dev/null +++ b/zombie2/idle.png diff --git a/zombie2/left0.png b/zombie2/left0.png Binary files differnew file mode 100644 index 0000000..2f51117 --- /dev/null +++ b/zombie2/left0.png diff --git a/zombie2/left1.png b/zombie2/left1.png Binary files differnew file mode 100644 index 0000000..2f51117 --- /dev/null +++ b/zombie2/left1.png diff --git a/zombie2/left10.png b/zombie2/left10.png Binary files differnew file mode 100644 index 0000000..b6b14d7 --- /dev/null +++ b/zombie2/left10.png diff --git a/zombie2/left11.png b/zombie2/left11.png Binary files differnew file mode 100644 index 0000000..b6b14d7 --- /dev/null +++ b/zombie2/left11.png diff --git a/zombie2/left12.png b/zombie2/left12.png Binary files differnew file mode 100644 index 0000000..b6b14d7 --- /dev/null +++ b/zombie2/left12.png diff --git a/zombie2/left13.png b/zombie2/left13.png Binary files differnew file mode 100644 index 0000000..28e745e --- /dev/null +++ b/zombie2/left13.png diff --git a/zombie2/left14.png b/zombie2/left14.png Binary files differnew file mode 100644 index 0000000..28e745e --- /dev/null +++ b/zombie2/left14.png diff --git a/zombie2/left15.png b/zombie2/left15.png Binary files differnew file mode 100644 index 0000000..f26eff4 --- /dev/null +++ b/zombie2/left15.png diff --git a/zombie2/left16.png b/zombie2/left16.png Binary files differnew file mode 100644 index 0000000..f26eff4 --- /dev/null +++ b/zombie2/left16.png diff --git a/zombie2/left17.png b/zombie2/left17.png Binary files differnew file mode 100644 index 0000000..f26eff4 --- /dev/null +++ b/zombie2/left17.png diff --git a/zombie2/left18.png b/zombie2/left18.png Binary files differnew file mode 100644 index 0000000..d3b02b1 --- /dev/null +++ b/zombie2/left18.png diff --git a/zombie2/left19.png b/zombie2/left19.png Binary files differnew file mode 100644 index 0000000..d3b02b1 --- /dev/null +++ b/zombie2/left19.png diff --git a/zombie2/left2.png b/zombie2/left2.png Binary files differnew file mode 100644 index 0000000..2f51117 --- /dev/null +++ b/zombie2/left2.png diff --git a/zombie2/left3.png b/zombie2/left3.png Binary files differnew file mode 100644 index 0000000..d3b02b1 --- /dev/null +++ b/zombie2/left3.png diff --git a/zombie2/left4.png b/zombie2/left4.png Binary files differnew file mode 100644 index 0000000..d3b02b1 --- /dev/null +++ b/zombie2/left4.png diff --git a/zombie2/left5.png b/zombie2/left5.png Binary files differnew file mode 100644 index 0000000..f26eff4 --- /dev/null +++ b/zombie2/left5.png diff --git a/zombie2/left6.png b/zombie2/left6.png Binary files differnew file mode 100644 index 0000000..f26eff4 --- /dev/null +++ b/zombie2/left6.png diff --git a/zombie2/left7.png b/zombie2/left7.png Binary files differnew file mode 100644 index 0000000..f26eff4 --- /dev/null +++ b/zombie2/left7.png diff --git a/zombie2/left8.png b/zombie2/left8.png Binary files differnew file mode 100644 index 0000000..28e745e --- /dev/null +++ b/zombie2/left8.png diff --git a/zombie2/left9.png b/zombie2/left9.png Binary files differnew file mode 100644 index 0000000..28e745e --- /dev/null +++ b/zombie2/left9.png diff --git a/zombie3/idle.png b/zombie3/idle.png Binary files differnew file mode 100644 index 0000000..ceaf493 --- /dev/null +++ b/zombie3/idle.png diff --git a/zombie3/left0.png b/zombie3/left0.png Binary files differnew file mode 100644 index 0000000..458741a --- /dev/null +++ b/zombie3/left0.png diff --git a/zombie3/left1.png b/zombie3/left1.png Binary files differnew file mode 100644 index 0000000..870e608 --- /dev/null +++ b/zombie3/left1.png diff --git a/zombie3/left2.png b/zombie3/left2.png Binary files differnew file mode 100644 index 0000000..8b92176 --- /dev/null +++ b/zombie3/left2.png diff --git a/zombie3/left3.png b/zombie3/left3.png Binary files differnew file mode 100644 index 0000000..234614a --- /dev/null +++ b/zombie3/left3.png diff --git a/zombie3/left4.png b/zombie3/left4.png Binary files differnew file mode 100644 index 0000000..c7f2fc6 --- /dev/null +++ b/zombie3/left4.png diff --git a/zombie3/left5.png b/zombie3/left5.png Binary files differnew file mode 100644 index 0000000..48e68d8 --- /dev/null +++ b/zombie3/left5.png diff --git a/zombie3/left6.png b/zombie3/left6.png Binary files differnew file mode 100644 index 0000000..446b2dd --- /dev/null +++ b/zombie3/left6.png diff --git a/zombie3/left7.png b/zombie3/left7.png Binary files differnew file mode 100644 index 0000000..f81f467 --- /dev/null +++ b/zombie3/left7.png |
