Search found 8 matches

by Janzo
Wed Aug 17, 2016 7:52 pm
Forum: Support and Development
Topic: Using .gif in love2d?
Replies: 3
Views: 5447

Re: Using .gif in love2d?

AnRu wrote:pgimeno's gifload does gif loading.
Thanks a ton.
by Janzo
Wed Aug 17, 2016 7:37 pm
Forum: Support and Development
Topic: Using .gif in love2d?
Replies: 3
Views: 5447

Using .gif in love2d?

I created a .gif i'd like to use as my player, however love2d won't load it. Is there any other way to use a .gif animation, or any other way to animate something period?
by Janzo
Fri Aug 05, 2016 6:14 pm
Forum: Support and Development
Topic: More ipairs Confusion
Replies: 12
Views: 6678

Re: More ipairs Confusion

Your problem is in love.draw(). You're drawing the wrong table, the one that says, "Line 1", which is textLine.one. You really should be printing the table signText.line1.text. The love.draw you have, incorrect: if signBool then lg.draw(sign.img, sign.x, sign.y) lg.print(textLine.one.text,...
by Janzo
Fri Aug 05, 2016 2:59 am
Forum: Support and Development
Topic: Collision resolution with bump.lua
Replies: 3
Views: 3048

Re: Collision resolution with bump.lua

I had some time to sit down and write the code for what I meant. You could do this at line 43 in your player.lua to see if any of the collisions came from above the player: local cols player.x, player.y, cols = world:move(player, player.x + player.dx, player.y + player.dy) for _, col in ipairs(cols...
by Janzo
Thu Aug 04, 2016 4:55 pm
Forum: Support and Development
Topic: Collision resolution with bump.lua
Replies: 3
Views: 3048

Collision resolution with bump.lua

I finally figured out collisions with bump.lua, but now im having trouble with the resolution of the collisions. I have it so my player item collides with the floor and walls, but i want to make it so if the ceiling collides with the player, the game quits with love.event.quit(). here is the project...
by Janzo
Thu Aug 04, 2016 3:42 am
Forum: Support and Development
Topic: help with bump.lua?
Replies: 3
Views: 2482

Re: help with bump.lua?

airstruck wrote:
Janzo wrote:Can someone with experience help me out with bump.lua?
Probably, if you ask a specific question about it.
Okay, how about, how do i make two things collide in bump.lua
by Janzo
Thu Aug 04, 2016 3:29 am
Forum: Support and Development
Topic: help with bump.lua?
Replies: 3
Views: 2482

help with bump.lua?

I cannot figure out bump.lua. Can someone with experience help me out with bump.lua?
by Janzo
Tue Aug 02, 2016 2:45 am
Forum: Support and Development
Topic: Can someone please explain "for" statements in lua?
Replies: 11
Views: 6116

Can someone please explain "for" statements in lua?

I've been using love for a little bit of time now, and i'm quite familiar with lua. However there is this one thing i have never grasped. Those freaking for statements. i see things like for i = 1,100 do blah blah blah end all the time, and i really can't seem to understand it can someone explain it...