Search found 216 matches

by Tjakka5
Tue Feb 20, 2018 2:51 pm
Forum: Games and Creations
Topic: [LÖVE Jam 2018] PON'
Replies: 0
Views: 144

[LÖVE Jam 2018] PON'

For the Love Jam Positive07 and I made PON' together.
It is a juicy variation of Pong, with extra juice.
Did I mention there's juice?

Either way, you can download it here:
https://tjakka5.itch.io/pon
KM2ccE6.png
KM2ccE6.png (686.71 KiB) Viewed 144 times
by Tjakka5
Tue Feb 20, 2018 2:48 pm
Forum: General
Topic: LÖVE Jam 2018
Replies: 6
Views: 523

Re: LÖVE Jam 2018

Positive07 and I made PON' in the last few hours:
https://tjakka5.itch.io/pon

We worked on a different game the majority of the time, which we will keep developing.
by Tjakka5
Fri Feb 16, 2018 6:46 pm
Forum: Support and Development
Topic: Disable key repeat?
Replies: 22
Views: 707

Re: Disable key repeat?

Sounds like a problems with your code, not with the limitations of the callbacks. Working around your problems will only cause more problems in the long run, so I'd suggest you fix them. Having multiple actions bound to one key is possible, but you must establish a priority. That is, if you press up...
by Tjakka5
Fri Feb 16, 2018 6:06 pm
Forum: Support and Development
Topic: Disable key repeat?
Replies: 22
Views: 707

Re: Disable key repeat?

Because the best way is to just use keypressed / released

Code: Select all

function love.keypressed(key)
  if key == "up" then
    print("Enter the new room")
  end
end
And that will do exactly what you need it to.
by Tjakka5
Sat Feb 03, 2018 4:51 pm
Forum: Support and Development
Topic: Timer Value only decreases once.G
Replies: 5
Views: 213

Re: Timer Value only decreases once.G

It seems to me you come from a different language that supported references. If this is not the case, please mention it so I can redo my explanation. Variables can be global, or local to a scope (In loops, in functions, etc). Values passed to functions or defined to another variable are copied. The ...
by Tjakka5
Sat Feb 03, 2018 11:57 am
Forum: Support and Development
Topic: How are wiggle animations done?
Replies: 3
Views: 283

Re: How are wiggle animations done?

This effect can be achieved by shearing the sprite. love.graphics.draw last 2 optional arguments are 'kx' and 'ky'. For this particular effect, only kx should be increased / decreased. To see it in action you can try map it to a sine function. Do note that for it to look good you will have to put th...
by Tjakka5
Fri Feb 02, 2018 12:30 pm
Forum: Support and Development
Topic: Bump.lua - how to change or display collision box?
Replies: 21
Views: 714

Re: Bump.lua - how to change or display collision box?

world:update is needed for when you want to change the dimensions (Or move somewhere without collision).

What you were missing what cancelling the offset after calling world:move.
In your examples, you were setting the player position directly.
by Tjakka5
Fri Feb 02, 2018 12:07 pm
Forum: Support and Development
Topic: Bump.lua - how to change or display collision box?
Replies: 21
Views: 714

Re: Bump.lua - how to change or display collision box?

I made a few mistakes in my code. For clarity I have made a .love demonstrating how it works.
You can also do the transformations with the functions Zorg provided.
by Tjakka5
Fri Feb 02, 2018 11:54 am
Forum: Support and Development
Topic: Background colour won't change
Replies: 10
Views: 364

Re: Background colour won't change

If you're looking for alternatives, Lurker has always worked well for me.
https://github.com/rxi/lurker
by Tjakka5
Fri Feb 02, 2018 11:10 am
Forum: Support and Development
Topic: Background colour won't change
Replies: 10
Views: 364

Re: Background colour won't change

Lick overwrites love.run with a variant that seems to is pre - 0.10. In this case, it calls love.graphics.clear without passing the background colors as arguments. Simply go to line 125 and change it to: love.graphics.clear(love.graphics.getBackgroundColor()) If any more weird problems I'd suggest d...