Search found 1178 matches
- Fri May 05, 2023 1:30 pm
- Forum: Libraries and Tools
- Topic: pathfun: a pure Lua library for 2D pathfinding, with editor
- Replies: 22
- Views: 27553
Re: pathfun: a pure Lua library for 2D pathfinding, with editor
Is it possible to limit the length of the line and use it as a worms-style rope? Here Worms is a good old game: https://en.wikipedia.org/wiki/Worms_Armageddon
- Thu May 04, 2023 2:05 pm
- Forum: Games and Creations
- Topic: Tilemap Editor in LÖVE?
- Replies: 3
- Views: 2019
Re: Tilemap Editor in LÖVE?
I'm currently trying to create a tilemap editor using LÖVE. I hated using things like Tiled etc cause I don't like having to shuffle files around and keep going in an out of different programs. Anyway I was wondering if anyone else has attempted something like this before? I plan on continuing with...
- Tue May 02, 2023 2:36 pm
- Forum: Games and Creations
- Topic: Isolines and isobands
- Replies: 10
- Views: 15278
Re: Isolines and isobands
So, isolines and isobands are solved! Here isoline is one segment, maybe two segments in tile. isoband is a polygon for each tile, the list of them (or no polygon in tile). Press arrows to scale, move noise with mouse or change isoheight with mouse wheel. :awesome: :crazy: isolines-and-isobands-10.p...
- Mon May 01, 2023 10:55 am
- Forum: General
- Topic: How to make good dodging AI
- Replies: 9
- Views: 3376
Re: How to make good dodging AI
Looks like typo:
elseif hunter.agent then
return hunner.agent
elseif hunter.agent then
return hunner.agent
- Mon May 01, 2023 7:54 am
- Forum: General
- Topic: How to make good dodging AI
- Replies: 9
- Views: 3376
Re: How to make good dodging AI
Can you please provide a small working example as .love file?Gunroar:Cannon() wrote: ↑Mon May 01, 2023 7:23 am This is the main boid code I use
It works okay for simple AI that follows the player with seek and pursuit, but when it tries to dodge bullets, using evade, it works poorly by kind of going in one direction.
Any ideas to improve it?
- Sun Apr 30, 2023 6:00 pm
- Forum: Support and Development
- Topic: a couple questions about tables
- Replies: 2
- Views: 724
Re: a couple questions about tables
1. Define each map 2. Define allMaps as list: {map1, map2, map3, map3, map5} 3. Amount of maps is #allMaps 4. world = allMaps[mapSelect] Also do the iterations as for i = 1, 10 do; for i = 18, 4, -1 do; for i = 1, #list-1, 2 do; :x but never for i = 1, 2, 0.1 do, the float error makes bad things. Be...
- Sat Apr 29, 2023 6:45 am
- Forum: Support and Development
- Topic: How would i detect collison between a player and object using box2d
- Replies: 2
- Views: 633
Re: How would i detect collison between a player and object using box2d
Hello I am currently making a game for my class and I was wondering how I would detect Collison between a Player and object using box2d. I would also wondering how you could spawn the object that the player collided with in a random location on the tiled map through the lenses of a camera. Just fro...
- Fri Apr 28, 2023 3:09 pm
- Forum: Support and Development
- Topic: What's up with gamepad axes?
- Replies: 13
- Views: 2191
Re: What's up with gamepad axes?
My was the cheapest https://www.amazon.de/gp/product/B075SJ3NJ6 and works pretty well.
- Fri Apr 28, 2023 3:00 pm
- Forum: Support and Development
- Topic: What's up with gamepad axes?
- Replies: 13
- Views: 2191
Re: What's up with gamepad axes?
I have this picture with this file: https://github.com/darkfrei/love2d-lua-tests/blob/main/controller-input/controller-input-03.png https://github.com/darkfrei/love2d-lua-tests/blob/main/controller-input/controller-input-03.love Ooooh that's interesting, I get much the same as my first image with y...
- Fri Apr 28, 2023 2:51 pm
- Forum: Support and Development
- Topic: What's up with gamepad axes?
- Replies: 13
- Views: 2191