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

159 commits

Author SHA1 Message Date
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
3d412d6254
Create Counter behaviour
Look, I can count!
1, 2, 4, 3, 5...
2024-04-14 00:51:05 +02:00
d4ddd4e49c
Create SkitterFromMouse behaviour 2024-04-14 00:26:24 +02:00
6939796cdf
Add eaten signal to Edible 2024-04-14 00:23:33 +02:00
9dd74c154c
Hunter: move logging to signals 2024-04-14 00:23:03 +02:00
edbbd130dc
Move logging statements to separate signals 2024-04-14 00:13:26 +02:00
c3bdc1c653
Change Hunter debug area color to red 2024-04-14 00:05:39 +02:00
fa55e02180
WHY DOES AUTOSAVE NOT WORK 2024-04-13 23:56:57 +02:00
a637dcfdf7
OH COME ON 2024-04-13 23:56:36 +02:00
630eb88f22
Create Hunter behaviour, tracking Edible bodies inside a certain area 2024-04-13 23:56:22 +02:00
1738ad0ed0
i keep forgetting files 2024-04-13 23:43:39 +02:00
32c9345bfb
Create marker scene Edible to allow an entity to detect what other entities it can eat 2024-04-13 23:43:19 +02:00
91d1ba50fc
Remove unused target variable in MoveTowardsMouse 2024-04-13 23:41:23 +02:00
ab614ae84c
Move signals above exports in scripts 2024-04-13 23:41:00 +02:00
04110c9b26
i forgor a file 2024-04-13 23:40:45 +02:00
cc2874dd90
Create generic MoveTowardsMouse behaviour 2024-04-13 23:40:34 +02:00
0bb9d427e9
Connect debug print signal in Connectable 2024-04-13 23:28:17 +02:00
c0055761a4
Create Collectible behaviour based on @snowycoder's Gold entity 2024-04-13 23:27:36 +02:00