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

343 commits

Author SHA1 Message Date
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
e434ae69bf
Make Sheep Draggable 2024-04-14 07:20:53 +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
5b95544de5
Game: Remove input event debug logging 2024-04-14 05:48:26 +02:00
1a67612209
Fix a few things in the Main scene 2024-04-14 05:40:07 +02:00
c8fb1e0c67
Remove the sheep from the main menu as they lack some required features to move 2024-04-14 05:39:49 +02:00
9a9f93b32d
Add the main_menu input action 2024-04-14 05:39:22 +02:00
caafcd54ee
Pickable didn't save ofc 2024-04-14 05:30:29 +02:00
b5221dede1
Add a Main.destroy_game function 2024-04-14 05:27:42 +02:00
e28097612f
Specify control scheme (Mouse) 2024-04-14 05:26:13 +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
3020edbdd5
Add a CollisionShape2D to the Sheep
sheep
shape
sheep
shape
ship
2024-04-14 05:23:52 +02:00
5ad13fb694
MainGame: Add a couple Sheep to test their movement 2024-04-14 05:13:56 +02:00
b89a40e5bf
Make Sheep move 2024-04-14 05:13:37 +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
edf61001af
Turn off .blend file import 2024-04-14 05:00:08 +02:00
ed82b22f93
Fix preload paths in Main 2024-04-14 04:58:38 +02:00
b9624ab6bb
Add some more Gold to MainGame to test 2024-04-14 04:53:56 +02:00
232d384a91
Wipe Sheep, moving the current script to sheep_snowy.gd 2024-04-14 04:43:59 +02:00
47b3821513
Rename Sprite node in Gold 2024-04-14 04:42:20 +02:00
f1c2c5233b
Complete Gold entity 2024-04-14 04:39:45 +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
bdbc0da9e0
Increase physics ticks per frame to 100 2024-04-14 04:28:00 +02:00
78c4aa7636
oh are you serious 2024-04-14 04:22:47 +02:00
053e4831fe
Add a warning if MainGame.get_ancestor fails 2024-04-14 04:22:37 +02:00
78ff2a09e3
I thought I had already renamed this?? 2024-04-14 04:20:23 +02:00
ed17cf8efa
Temporarily set MainGame as main scene 2024-04-14 04:19:06 +02:00
c7bd5c9359
Fix reference acquisition in MoveTowardsMouse 2024-04-14 04:18:38 +02:00
04d6e78228
Remove excessively verbose debug message from Gold 2024-04-14 04:15:33 +02:00
072fffe868
Move sheep.png to entities 2024-04-14 04:14:04 +02:00
8b683466d2
Replace nugget texture with a PlaceholderTexture2D 2024-04-14 04:13:28 +02:00
67b73e4def
Rename menu_game to main_game (oops!) 2024-04-14 04:12:33 +02:00
2849dee2dc
Fix MoveTowardsMouse using the wrong coordinate system 2024-04-14 04:11:34 +02:00
4b24dd1fc3
Replace GameCamera.get_ancestor with the reference Game.camera 2024-04-14 04:09:36 +02:00
1aa785c08a
Specify return type of MainGame.get_ancestor 2024-04-14 04:07:35 +02:00
735313b167
Create basic GameCamera 2024-04-14 04:07:18 +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