Search found 29 matches

by Manyrio
Wed Mar 09, 2016 12:34 pm
Forum: Support and Development
Topic: Tile shadow
Replies: 0
Views: 1080

Tile shadow

Hey ! I have some problems on my game, I want to create smooth shadow on my game. With the l.g.setColor(...), it do tile shadow like that : http://puu.sh/nAiZA/13f9ead5f2.jpg but I want this : http://puu.sh/nAj05/ec46fb0e6a.jpg I tested the light vs shadow engine but I had a lot of bug and I didn't ...
by Manyrio
Mon Feb 29, 2016 12:54 pm
Forum: Support and Development
Topic: Save a map
Replies: 6
Views: 4369

Re: Save a map

Thank you it's work :D
by Manyrio
Mon Feb 29, 2016 9:10 am
Forum: Support and Development
Topic: Save a map
Replies: 6
Views: 4369

Re: Save a map

Thank you I am testing this lib but is there a tutorial for bister ? I didn't find one ...
by Manyrio
Sun Feb 28, 2016 11:13 pm
Forum: Support and Development
Topic: Save a map
Replies: 6
Views: 4369

Save a map

Hey ! I am working on a game and I want to save my map but I don't know how ... here's how I create my map and draw it function love.load() map = {} map.width = 10 map.height = 10 for x = 0, map.width do map[x] = {} for y = 0, map.height do if y < 5 then map[x][y] = 1 elseif y == 5 then map[x][y] = ...
by Manyrio
Tue Feb 09, 2016 6:20 pm
Forum: Support and Development
Topic: Destroy body with Löve2D physics
Replies: 5
Views: 3648

Re: Destroy body with Löve2D physics

Hey ! Really, thank you ! I am working on your code now :D
by Manyrio
Mon Feb 08, 2016 5:18 pm
Forum: Support and Development
Topic: Destroy body with Löve2D physics
Replies: 5
Views: 3648

Re: Destroy body with Löve2D physics

Hey !
What should I do to no work on globals stone and dirt ?
I didn't thought that it was overwritte each time a tile is made, I am fixing this.
I am deleting all the stone.x an stone.y
And, can I have the code you made ? Just to see
Thank you ! And I'm new in Love2D So I am not very good :/
by Manyrio
Sun Feb 07, 2016 11:34 am
Forum: Support and Development
Topic: Love engine won't update frames
Replies: 6
Views: 3394

Re: Love engine won't update frames

Can we have the code please ?
by Manyrio
Sat Feb 06, 2016 9:37 pm
Forum: Support and Development
Topic: Destroy body with Löve2D physics
Replies: 5
Views: 3648

Re: Destroy body with Löve2D physics

Here a screenshot of the game :
Image
by Manyrio
Sat Feb 06, 2016 12:24 pm
Forum: Support and Development
Topic: Destroy body with Löve2D physics
Replies: 5
Views: 3648

Destroy body with Löve2D physics

Hey, I am creating a sandbox game using love physics and other libaries (Light vs shadow engine v2 and videolib). I've create a map and when I place a "block", it create a new physic body but when I want to destroy one, it say me " main.lua:238: attempt to index a nil value". I c...