Search found 18 matches
- Sun May 10, 2015 6:57 pm
- Forum: General
- Topic: Hi, i don't really know how to solve my problem
- Replies: 9
- Views: 5384
Re: Hi, i don't really know how to solve my problem
Haha. I can't believe it. I forgot about the 0's. Thank you so so much. I've been having this problem for so long.
- Sat May 09, 2015 11:37 pm
- Forum: General
- Topic: Hi, i don't really know how to solve my problem
- Replies: 9
- Views: 5384
Re: Hi, i don't really know how to solve my problem
I donwloaded the code and took a serious look. ALL your algorithms are correct. Your error is in iteration: for y_index,value in ipairs(map) do for x_index,tile in ipairs(value) do EDIT: to be more precise your tile data is not correct. previous algorithm for detecting which walls are invisible (ti...
- Sat May 09, 2015 5:30 pm
- Forum: General
- Topic: Hi, i don't really know how to solve my problem
- Replies: 9
- Views: 5384
Re: Hi, i don't really know how to solve my problem
I recommend you make an "overkill" algorithm for this. You add 4 edge shapes on every wall tile (even inside walls) And after that a prune algorithm that removes unnecessary edges inside walls. Sometimes it does not pay to be too smart with algorithms. Tried that. It's alg_3 in my walls.l...
- Sat May 09, 2015 1:12 am
- Forum: General
- Topic: Hi, i don't really know how to solve my problem
- Replies: 9
- Views: 5384
Re: Hi, i don't really know how to solve my problem
also forgot to mention exactly what my problem is, sorry. This should explain it
- Fri May 08, 2015 9:28 pm
- Forum: General
- Topic: Hi, i don't really know how to solve my problem
- Replies: 9
- Views: 5384
Hi, i don't really know how to solve my problem
So, to quickly explain things: I'm making a topdown kinda game, and there are solid tiles in it, of course. I'm using love.physics for collision detection/resolution. I made an algorithmy thing that looks through the map and adds EdgeShapes (for the border of the solid tiles, i'm using EdgeShapes to...
- Sun Apr 26, 2015 9:10 pm
- Forum: General
- Topic: Please give me some advice as to how to use love.physics
- Replies: 4
- Views: 2426
Re: Please give me some advice as to how to use love.physics
use body:setLinearVelocity() to set the velocity if it exceeds the velocity desired
- Fri Apr 24, 2015 6:53 pm
- Forum: General
- Topic: Please give me some advice as to how to use love.physics
- Replies: 4
- Views: 2426
Re: Please give me some advice as to how to use love.physics
Is there any way to "hack" together a solution?there already is a 'maxtranslation' threshold but I don't think you can change it from Lua
EDIT:nvm, I figured it out
- Fri Apr 24, 2015 4:47 pm
- Forum: General
- Topic: Please give me some advice as to how to use love.physics
- Replies: 4
- Views: 2426
Please give me some advice as to how to use love.physics
How do you make give an object a velocity cap?
How do you make an object nonrotatable?
Why isn't there a comprehensive love.physics tutorial?
How do you make an object nonrotatable?
Why isn't there a comprehensive love.physics tutorial?
- Tue Mar 24, 2015 1:17 am
- Forum: General
- Topic: Alright. My dungeon generator has some problems...
- Replies: 3
- Views: 1867
Re: Alright. My dungeon generator has some problems...
Sorry 'bout that, here's a .love. How my algorithm works: Essentially, if you looked through the link I posted initially, it's something like this. In this algorithm a "feature" is taken to mean any kind of map component e.g. large room, small room, corridor, circular arena, vault etc. Fil...
- Sun Mar 22, 2015 9:36 pm
- Forum: General
- Topic: Alright. My dungeon generator has some problems...
- Replies: 3
- Views: 1867
Alright. My dungeon generator has some problems...
So, I'm working on a random dungeon generator based on this one here. http://www.roguebasin.com/index.php?title=Dungeon-Building_Algorithm My code is essentially working, but it seems to have some problems... https://love2d.org/imgmirrur/CBeHoG2.png As you can see, it generates unreachable areas and...