Search found 6 matches

by Atone
Mon Jul 09, 2018 4:59 am
Forum: Support and Development
Topic: how to put a time
Replies: 2
Views: 3414

Re: how to put a time

When love calls your love.update function, it passes in an argument called dt, aka delta time, which is the time elapsed since the last update (in seconds, probably a very small number like 0.01). You can use this for timing. The following is a simple example of a timer, just counting the time since...
by Atone
Thu Mar 22, 2018 11:11 pm
Forum: Games and Creations
Topic: Paddle League - Pong meets eSports
Replies: 1
Views: 3051

Re: Paddle League - Pong meets eSports

I like the idea! My immediate criticism is that the music was loud with no option to adjust or mute, so I had to go running to change my system volume. Also in my very first bot game, the bot didn't move at all and just let me have the win. Subsequent bot games have all worked fine, though.
by Atone
Wed Oct 04, 2017 1:21 am
Forum: Games and Creations
Topic: [Android] GoGoAstro released !
Replies: 4
Views: 4583

Re: [Android] GoGoAstro released !

Neat little game. The graphics are nice and the whole thing seems well polished. I enjoy it a lot more after the difficulty patch. For things that could be improved: I think the star at the bottom looks out of place compared to how good everything else looks. Also, a mute button would be a sensible ...
by Atone
Wed Oct 04, 2017 12:24 am
Forum: Support and Development
Topic: Am i using the Draw function wrong?
Replies: 3
Views: 3455

Re: Am i using the Draw function wrong?

To expand on grump's answer a little: The game loop (where love.load, love.draw, love.update, etc get called) is actually defined in the love.run function. If you don't make a love.run function, a sensible default is provided for you (check it out on the wiki). So if you're just using the default, l...
by Atone
Sun Sep 10, 2017 12:57 am
Forum: Support and Development
Topic: How to set your enemy pcs to random.
Replies: 2
Views: 3269

Re: How to set your enemy pcs to random.

Check out love.math.random on the wiki. You can use that to get random numbers which you can then use to determine which enemy to spawn. For example, if you had 3 types of enemies, you'd get a random number between 1 and 3 and then spawn in the corresponding npc.
by Atone
Mon Aug 28, 2017 7:57 pm
Forum: General
Topic: What's everyone working on? (tigsource inspired)
Replies: 1804
Views: 1722549

Re: What's everyone working on? (tigsource inspired)

Hey dudes. First post, löving this framework. My first test project was a top-down shooter/RTS hybrid thing that I'm not totally sure I'm going to finish, but it spun off into this project: A map editor. I was hand coding my tile/collision/entity maps and I wanted an easier and more visual way to wh...