1
Fork 0
mirror of https://github.com/Steffo99/hella-farm.git synced 2024-11-24 17:14:23 +00:00
Commit graph

88 commits

Author SHA1 Message Date
d222e8c066
Refactor MoveTowards so that it only handles deciding a direction 2024-04-16 01:57:22 +02:00
e2f4ad461e
Refactor HoverDetector into CursorDetector 2024-04-16 01:56:46 +02:00
fa502ba267
Refactor Hunter into EdibleTracker 2024-04-16 00:20:21 +02:00
db1805eec5
Add icon to HoverDetector 2024-04-16 00:17:10 +02:00
deff3534c8
Add debug logging on Edible.eaten 2024-04-16 00:16:57 +02:00
ac4817cf3d
Add an icon to Edible 2024-04-16 00:04:55 +02:00
fa4c58c8e0
Add icon to Eater 2024-04-15 23:50:39 +02:00
5a7847a2b0
Document Counter 2024-04-15 23:45:42 +02:00
e0cae47b29
Add custom icon for Collectable 2024-04-15 22:58:18 +02:00
8012c84292
Refactor Eater and Edible 2024-04-15 22:43:26 +02:00
97b415fabd
Cleanup and document Counter 2024-04-15 22:39:43 +02:00
85d487a56c
Make Collectable an Area2D 2024-04-15 22:39:06 +02:00
c12df50328
Remove CollisionShape2D from inside behaviours 2024-04-15 22:32:22 +02:00
0c7c4d581a
Remove tag parameter from Collectable.collected 2024-04-15 22:30:35 +02:00
0c2cefb255
Fix spawner sometimes failing to spawn 2024-04-15 21:51:24 +02:00
8ed5cccabb
Don't make sprites implode while being dragged 2024-04-15 21:27:23 +02:00
058a2a6ac9
Make gold play a sound on pickup 2024-04-15 06:21:36 +02:00
a894aa2018
Add Imp sprite and make it eat Sheep 2024-04-15 06:07:49 +02:00
2b513b8bb2
Create SpriteLeftRight behaviour 2024-04-15 05:43:07 +02:00
180e66e7fc
Merge branch 'main' of https://github.com/Steffo99/ld55 2024-04-15 03:06:33 +02:00
c3808090ff
Connect eaten signal for debug logging 2024-04-15 03:06:31 +02:00
fecacaf2aa
Add WIP DropOnFree 2024-04-15 03:05:35 +02:00
Lorenzo Rossi
c12ff464e2 Add eat_target and imp behaviour 2024-04-15 02:45:18 +02:00
5dd3c62410
Create Eater behaviour 2024-04-15 01:23:06 +02:00
b1ab4cc5c7
Create HuntTarget behaviour 2024-04-14 23:29:29 +02:00
05a0f84b70
Re-add layer to Collectable 2024-04-14 23:08:58 +02:00
df727592e0
Re-add layer to HoverDetector 2024-04-14 23:07:05 +02:00
Lorenzo Rossi
beb42d04ed Add cloud to spawn sheeps 2024-04-14 22:36:34 +02:00
15152dc638
Add script to `SpawnerChoice 2024-04-14 21:38:43 +02:00
510d14fd4c
Create SpawnerChoice selecting a random subspawner to spawn things from 2024-04-14 21:21:43 +02:00
00fbc2f649
Configure MoveTowardsTarget's CaptureArea collision mask 2024-04-14 20:59:19 +02:00
9fda8cc86f
Configure Hunter's CollisionArea layer and mask 2024-04-14 20:57:25 +02:00
ba99709a55
Remove collision layers from HoverDetector 2024-04-14 20:56:44 +02:00
b0908e4e29
Remove collision layers from Draggable 2024-04-14 20:56:18 +02:00
42661f8efc
Remove collision layers from Collectable 2024-04-14 20:55:25 +02:00
Lorenzo Rossi
2fc4f9e91a Add spawner and SpawnedEntities 2024-04-14 19:48:13 +02:00
Lorenzo Rossi
8f46ff5022 Generalize move_towards_mouse in move_towards
Also create move_towards_target
2024-04-14 18:20:50 +02:00
6a14979de7
I have no idea why this wasn't committed??? 2024-04-14 18:10:31 +02:00
Lorenzo Rossi
b16583f799 Remove match_mouse_position.tscn as their script 2024-04-14 17:31:28 +02:00
3d17dcd3f0
Make Sheeps Draggable with a CursorMagnet
Throwing and drag isn't implemented yet. Any ideas for how to do it with this framework?
Might be a good idea to do it on a branch first...
2024-04-14 07:46:06 +02:00
d699ec9110
Set HoverDetector shape alpha to 0 because of funnies 2024-04-14 07:30:53 +02:00
aa38f02244
Remove unused capture_area reference 2024-04-14 07:23:33 +02:00
470aa1cf8e
Remove speed limit from MoveTowardsMouse 2024-04-14 07:23:10 +02:00
7568c5bcd7
Delete MatchMousePosition, as it's already implemented by MoveTowardsMouse with an infinite radius and speed 2024-04-14 07:22:43 +02:00
6df6455505
Make Draggable an Area2D consisting of the mouse target 2024-04-14 07:21:24 +02:00
4e1ba1311f
Create MatchMousePosition behaviour 2024-04-14 06:49:15 +02:00
114e386835
ofc autosave doesn't work 2024-04-14 06:26:27 +02:00
330bac8d0e
Rename Pickable to Draggable and add the drag and drop methods 2024-04-14 06:26:14 +02:00
caafcd54ee
Pickable didn't save ofc 2024-04-14 05:30:29 +02:00
c39de9cb4c
Create a Pickable token class to mark objects that can be picked up with the cursor 2024-04-14 05:25:36 +02:00