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

67 commits

Author SHA1 Message Date
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
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
45512a8ba1
Make it possible for MoveTowardsMouse to detach and stop moving 2024-04-14 05:12:10 +02:00
c2dab55333
Tweak SkitterFromMouse after manual testing 2024-04-14 05:09:22 +02:00
ff3c0d97d3
SkitterFromMouse: it turns out randi_range is inclusive 2024-04-14 05:01:27 +02:00
3b7c49b8cf
Make Collectable's Shape radius 16px 2024-04-14 04:35:57 +02:00
3ce1bffb83
Make Collectable's MouseArea unmonitorable 2024-04-14 04:34:37 +02:00
71a409df23
Fix reference in MoveTowardsMouse mysteriously not working 2024-04-14 04:30:23 +02:00
c7bd5c9359
Fix reference acquisition in MoveTowardsMouse 2024-04-14 04:18:38 +02:00
2849dee2dc
Fix MoveTowardsMouse using the wrong coordinate system 2024-04-14 04:11:34 +02:00
1aa785c08a
Specify return type of MainGame.get_ancestor 2024-04-14 04:07:35 +02:00
cfe8091901
Make type of MoveTowardsMouse.speed explicit 2024-04-14 04:04:26 +02:00
a499ffddb9
Increase default speed of SkitterFromMouse to 200 px/s 2024-04-14 04:03:52 +02:00
a1a027793c
Increase default speed of MoveTowardsMouse to 100 px/s 2024-04-14 04:03:01 +02:00
443cf25440
Start MoveTowardsMouse from State.STILL 2024-04-14 04:02:00 +02:00
2ca8e7ec84
Ctrl+S 2024-04-14 03:56:18 +02:00
ed8e09bd60
Add a HoverDetector acting as CaptureArea to MoveTowardsMouse 2024-04-14 03:55:57 +02:00
ff0c49cf07
Rename HoverDetector to ScareArea in SkitterFromMouse 2024-04-14 03:51:23 +02:00
8b8b6fbd88
Make HoverDetector un-monitorable by default 2024-04-14 03:50:39 +02:00
6dde00120d
Use HoverDetector in SkitterFromMouse 2024-04-14 03:49:28 +02:00
260a39371c
Change HoverDetector debug shape color to reddish 2024-04-14 03:45:01 +02:00
50c783b47f
Create HoverDetector behaviour 2024-04-14 03:43:58 +02:00
b00fc008d4
autosave shenanigans 2024-04-14 00:51:15 +02:00