-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#191 Doesn't do anything yet, but I think we can implement it pretty easily by extending the hunting enemy AI script and building off of it.
- Loading branch information
1 parent
7697d50
commit 33bf51a
Showing
2 changed files
with
38 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
extends "res://Scripts/HuntigEnemy.gd" | ||
|
||
# class member variables go here, for example: | ||
# var a = 2 | ||
# var b = "textvar" | ||
|
||
func _ready(): | ||
# Called when the node is added to the scene for the first time. | ||
# Initialization here | ||
pass | ||
|
||
#func _process(delta): | ||
# # Called every frame. Delta is time since last frame. | ||
# # Update game logic here. | ||
# pass |
23 changes: 23 additions & 0 deletions
23
You, Me, and the End of the World/tscn files/FarmPest.tscn
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
[gd_scene load_steps=3 format=2] | ||
|
||
[ext_resource path="res://Scripts/FarmPest.gd" type="Script" id=1] | ||
[ext_resource path="res://Images/farmRat.png" type="Texture" id=2] | ||
|
||
[node name="FarmPest" type="KinematicBody2D" index="0"] | ||
|
||
input_pickable = false | ||
collision_layer = 1 | ||
collision_mask = 1 | ||
collision/safe_margin = 0.08 | ||
script = ExtResource( 1 ) | ||
|
||
[node name="Sprite" type="Sprite" parent="." index="0"] | ||
|
||
texture = ExtResource( 2 ) | ||
|
||
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="." index="1"] | ||
|
||
build_mode = 0 | ||
polygon = PoolVector2Array( 111.558, 2.10236, 111.378, -0.420521, 79.4814, -13.0349, 88.5637, -26.298, 87.6627, -34.5875, 68.9213, -41.9759, 63.5152, -39.6333, 64.4162, -25.5772, 59.5507, -23.9554, 59.7308, -15.6659, 33.7812, -18.5492, 4.22753, -29.0011, -44.9326, -35.2723, -71.3507, -29.758, -79.8204, -24.532, -85.5869, -9.39476, -92.4347, -16.2426, -99.2826, -27.5955, -108.293, -31.56, -101.805, -16.4228, -107.752, -13.3593, -107.752, -9.93538, -105.95, -6.15106, -100.724, -5.06982, -96.3993, -7.95311, -94.9576, -5.79065, -97.3003, -3.98859, -101.625, -1.64592, -103.427, 2.3186, -101.085, 7.72477, -97.1201, 10.0674, -92.0743, 10.4279, -85.5869, 2.49881, -80.361, 18.8975, -82.5234, 24.3037, -79.6402, 29.7099, -66.8456, 34.3952, -57.6551, 38.7201, -50.8073, 40.7024, -50.4468, 38.1795, -57.8353, 30.9713, -55.4926, 29.1692, -48.1042, 33.6744, -45.9417, 33.314, -48.6448, 29.5296, 22.8968, 27.7276, 29.0238, 32.2327, 37.1331, 33.4942, 47.9454, 37.4587, 52.6308, 35.8368, 52.2703, 33.8546, 41.9986, 27.9078, 45.0621, 25.0245, 47.7652, 27.3672, 55.3338, 27.187, 49.7475, 21.6006, 72.093, 20.3392, 110.116, 9.88724 ) | ||
|
||
|