Search found 721 matches

by Plu
Fri Aug 22, 2014 6:53 am
Forum: General
Topic: Procedural next level crushing!
Replies: 2
Views: 1923

Re: Procedural next level crushing!

A heads up for the next time you have a question; you have to post your actual .love file in the topic if you want us to help. There's nothing we could've done with just that little piece you posted.
by Plu
Thu Aug 21, 2014 10:12 am
Forum: General
Topic: Ludum Dare #30
Replies: 20
Views: 12938

Re: Ludum Dare #30

I don't have much time but I probably can't resist throwing in a few hours anyway... but no idea if I'll be able to finish anything :p
by Plu
Wed Aug 20, 2014 2:28 pm
Forum: Support and Development
Topic: Can I use C++ code in my game?
Replies: 9
Views: 11816

Re: Can I use C++ code in my game?

Löve is merely a framework; in the end it's still running Lua, which means you have access to everything Lua can do. Including the option to run C++ code from libraries you make.
by Plu
Wed Aug 20, 2014 9:10 am
Forum: Support and Development
Topic: Grid Puzzle Game
Replies: 3
Views: 3081

Re: Grid Puzzle Game

Okay, I understand better what you mean with frame-precise moves. Answers to your questions, not neccesarily in the original order: In the case that the chain-finder is a separate thread, what would happen if it doesn't find the chains fast enough? Would it be a sort of visual lag, where there's cle...
by Plu
Tue Aug 19, 2014 5:13 pm
Forum: Support and Development
Topic: Restart a game
Replies: 2
Views: 8339

Re: Restart a game

Quickest way to reload the game would be to call love.load() again, since that's what you use to set the game's initial state :)
by Plu
Mon Aug 18, 2014 4:43 pm
Forum: Support and Development
Topic: "Questions that don't deserve their own thread" thread
Replies: 905
Views: 425986

Re: "Questions that don't deserve their own thread" thread

Love2d supports setting a color's alpha through the 4th argument to setColor:

Code: Select all

love.graphics.setColor( red, green, blue, alpha )
Unless you mean something else I'm not sure what the problem is?
by Plu
Sat Aug 16, 2014 7:44 am
Forum: Support and Development
Topic: True False Statments
Replies: 6
Views: 3765

Re: True False Statments

Go with the setter function(s) if these are unrelated things that happen to change in sync. But if, as ivan suggests, you are using 3 booleans to track a single thing (such as difficulty level) you'd be better off making a single variable and storing different values in it. It'll save you a lot of h...
by Plu
Sat Aug 16, 2014 7:41 am
Forum: Support and Development
Topic: Grid Puzzle Game
Replies: 3
Views: 3081

Re: Grid Puzzle Game

What kind of frame-precise maneauvers are you talking about? I didn't really see anything in the video that wouldn't work just as well based on time elapsed as it would based on a fixed framerate. Maybe if we understand why it needs frame-precision we can help with it. (It's something a lot of peopl...
by Plu
Sat Aug 16, 2014 7:31 am
Forum: Support and Development
Topic: "Questions that don't deserve their own thread" thread
Replies: 905
Views: 425986

Re: "Questions that don't deserve their own thread" thread

I don't think that globals impacts performance They do impact the performance somewhat, as Lua first needs to check whether a local variable by the given name exists, and then has to look again in the global table after it finds it does not. However: Hello folks,I`m using middleclass for OOP but i`...
by Plu
Thu Aug 14, 2014 7:38 am
Forum: Support and Development
Topic: "Questions that don't deserve their own thread" thread
Replies: 905
Views: 425986

Re: "Questions that don't deserve their own thread" thread

You'll still have to keep that huge image in memory, so that will impact performance somewhat (mostly in how much memory it'll take up).