Search found 60 matches
- Sun Apr 15, 2018 4:24 am
- Forum: General
- Topic: help, draw quad point fill - without polygon
- Replies: 0
- Views: 1849
help, draw quad point fill - without polygon
Hi, I need help with fill four points, without the use of "love.graphics.polygon". the code that I have works in the following way. I get the top line and the bottom line and I'm going to trace lines vertically, from the top line and the bottom line, but the way I use to get the points ind...
- Wed Dec 31, 2014 11:05 pm
- Forum: General
- Topic: help slope platformer 2d
- Replies: 1
- Views: 2677
help slope platformer 2d
hi I'm trying to implement slope on my platform game. I have already implemented the slope (left / right) and work well. I have only one problem, when the player down the slope (left / right), this does not follow the slope. I hope you can help me. preview http://i1321.photobucket.com/albums/u550/lu...
- Fri Dec 12, 2014 6:34 pm
- Forum: General
- Topic: help platformer game
- Replies: 4
- Views: 3723
Re: help platformer game
Take a look at the Fizz library . Representing slopes as "lines" is the approach used there. The basic technique is projecting your shape onto the line and comparing the projected values (Separating axis theorem). hello I need is to go up and down slope. http://i1321.photobucket.com/album...
- Fri Dec 05, 2014 1:17 am
- Forum: General
- Topic: help platformer game
- Replies: 4
- Views: 3723
Re: help platformer game
sorry but I understand nothing.Kingdaro wrote:There's a section on this wonderful article that describes how to implement slopes.
I just need to know how to implement outstanding collisions.
- Thu Dec 04, 2014 8:20 pm
- Forum: General
- Topic: help platformer game
- Replies: 4
- Views: 3723
help platformer game
hello I am creating a game mario style, but I have problems with my game slope, noce how to implement this type of collision. if someone could give me an example or some documentation on the subject, it would help me a lot. hope your answers. http://i1321.photobucket.com/albums/u550/luislasonbra/pre...
- Tue Sep 23, 2014 3:27 am
- Forum: General
- Topic: help scrollbar
- Replies: 4
- Views: 4330
help scrollbar
hi, I'm making a list of items in lua, I dont know how to create a scrollbar. I have the following code to make a scrollbar, but it does not work well. scrollbar = {}; scrollbar = function() local temp = {}; temp.x = 0; temp.y = 0; temp.w = 20; temp.h = 200; temp.minW = 20; temp.minH = 20; temp.rect...
- Sat Nov 23, 2013 4:16 am
- Forum: General
- Topic: help organize a table in lua
- Replies: 1
- Views: 2111
help organize a table in lua
Hello, I'm making a game of "JawBreaker" in love2d.
I've done everything, well almost everything.
Now I can not get the balls organizen, according are removed.
as I can do this in love2d.
here I leave the code I have so far and an image.
I've done everything, well almost everything.
Now I can not get the balls organizen, according are removed.
as I can do this in love2d.
here I leave the code I have so far and an image.
- Sun Nov 03, 2013 11:27 pm
- Forum: General
- Topic: help, Collider
- Replies: 0
- Views: 1768
help, Collider
Hello, I'm trying to make a scale effect, for a platform game, but I have problems when trying to climb the stairs. This is the code that I have so far. function love.load() player = {} player.x = 64 player.y = 400 player.w = 32 player.h = 32 player.speed = 400 map = { {1, 1, 1, 1, 1, 1, 1, 1, 1, 1,...
- Tue Oct 29, 2013 12:56 pm
- Forum: General
- Topic: help, how to make a game "JawBreaker" in love2d
- Replies: 6
- Views: 3935
Re: help, how to make a game "JawBreaker" in love2d
I don't know your background, but I'd say this algorithm is of medium difficulty. If you are willing to try something a bit more difficult, then I suggest you try it. In the worst case you still learn a lot. But if you only want to finish a game, then you might be faster with a different idea. than...
- Tue Oct 29, 2013 12:40 pm
- Forum: General
- Topic: help, how to make a game "JawBreaker" in love2d
- Replies: 6
- Views: 3935
Re: help, how to make a game "JawBreaker" in love2d
As I said, the algorithm you need, is a flood-fill algorithm. Try to read the wikipedia-article, that I posted (and see the language version in your language). I also found the Roland did a Floodfill project . I don't know if this is appropriate for your case, though. hi thanks for the help, but I ...