i'm sending my first game written in love just to say hi
game is pretty simple based on something i saw on the internet.
try to kick ( click ) the ball as many times as you can before it hits the ground. it gets difficult to get each next kick
i hope i'll find some time and energy to write more and more playable games,
while writing i found one possible bug: when i put code like "g.setFont(g.getFont(40))" in draw callback the game crashes after couple of kicks ( win7 )
(g = love.graphics)
wiero wrote:while writing i found one possible bug: when i put code like "g.setFont(g.getFont(40))" in draw callback the game crashes after couple of kicks
That's no bug, that's you creating an entire font every single frame!
EDIT:
Ugh, external download site, wrongly packaged, and dofile instead of require breaking it.. here's a version that works.
wiero wrote:while writing i found one possible bug: when i put code like "g.setFont(g.getFont(40))" in draw callback the game crashes after couple of kicks
That's no bug, that's you creating an entire font every single frame!
sorry, my fault
bartbes wrote:
EDIT:
Ugh, external download site, wrongly packaged, and dofile instead of require breaking it.. here's a version that works.
hm, i zipped it with instructions on wiki, i'll try do better next time