Commit Graph

16 Commits

Author SHA1 Message Date
admin ebdff1b200 undergoing a shift to change movement into another action that a peg can perform and giving pegs a list of actions order by priority 2026-06-29 02:43:25 -04:00
admin 37da9a4e84 altering enemies into peg to open up for the future with hostile and friendly pegs. made some changes to the pathfinding. starting to add a mouse handler that will more easily handle single and double clicks, and holds. Enemy controller becomes peg controller and will handle all peg interactions 2026-06-25 16:31:13 -04:00
admin 98ca292901 still attempting to allow enemies to handle their own animations. still a matter of improving performance and there's some issue when enemies reach rank 0? 2026-06-24 03:00:23 -04:00
admin 2cf3428b8c Finishing up basic pathfinding? later down the line will want to implement warping 2026-06-23 03:14:49 -04:00
admin a96d935ad4 still some bug fixes to work out but not sure how to duplicate them? starting to work on enemy attacks 2026-06-10 01:57:06 -04:00
admin 86113141bf trying to prevent error 2026-06-09 20:02:48 -04:00
admin e243d45d27 making a slight edit to make note of what is going on bc i finally figured it out. When a new enemy is spawned in, its initial position is set as 0,0 which gets turned off then. going to try to initialize as -1,-1 and see if that helps 2026-06-09 19:54:31 -04:00
admin d2993b17a4 debugging 2026-06-09 19:43:36 -04:00
admin 9a0a33b82c cleanup 2026-06-09 19:12:40 -04:00
admin 4722cf882b mostly fixed movement but there's still a problem with enemies in the top left cell (0,0) being set to not solid 2026-06-09 18:11:06 -04:00
admin e209861cb3 a little bit of cleanup, still some edge cases but took care of the big stuff 2026-06-09 03:29:59 -04:00
admin 7a10f4a9fc still working on movement, for some reason some cells do not get set as solid that's why multiple can go on a cell 2026-06-09 03:15:35 -04:00
admin 648a00ccf1 still working on some pathfinding, it is seizing up when trying to find a new goal 2026-06-08 03:38:33 -04:00
admin 3c9a51bd6a working some more on enemy movement, they stilldon't always want to move to the sides when they reach the front so still some more work to do. also updated the aiming a bit to clamp the arc for firing and drawing, rewrote the draw arc function 2026-06-07 21:14:46 -04:00
admin 12b565715a updating movement and added a bucket, still some clean up to do on movement. TODO: if enemy becomes stuck, reclculate path. 2026-06-05 03:48:07 -04:00
admin c97b0e5cc2 finished reowrking grid maps, polished astar pathfinding, started work on aiming functions --todo: change launch speed to constant, change aim function to take into account the angle it would need to launch at to hit mouse position like in peggle, add raycasting 2026-06-03 02:44:13 -04:00