Search found 785 matches

by Lafolie
Sun Feb 02, 2014 2:46 am
Forum: Games and Creations
Topic: Arrow Wars
Replies: 10
Views: 3167

Re: Arrow Wars

I was referring to the keyboard :P

With a modern game controller I'd expect this to work via dual thumb-sticks, but I can imagine other mappings would work too.
by Lafolie
Thu Jan 30, 2014 2:58 pm
Forum: Games and Creations
Topic: Arrow Wars
Replies: 10
Views: 3167

Re: Arrow Wars

Cool little demo. You should consider building on what you have; polish it up a little and you'd have a solid game in your portfolio. Some points to consider: Controls are a little unintuitive (controller support would be awesome!) It's possible to get stuck in places - the edge of the screen was pr...
by Lafolie
Tue Jan 28, 2014 12:51 pm
Forum: Support and Development
Topic: Customize an image
Replies: 3
Views: 1052

Re: Customize an image

It sounds like you want to create composited images for the player graphics. Along with the dynamic colour settings suggested by micha you may want to create an image that is made up of several component images. For example, you could use a base sprite for the portrait and overlay the appropriate ha...
by Lafolie
Tue Jan 14, 2014 3:58 pm
Forum: General
Topic: Possibilities to store game data online (sql, ftp)
Replies: 5
Views: 1861

Re: Possibilities to store game data online (sql, ftp)

I'll just leave this here: viewtopic.php?f=4&t=20014&p=84933&hilit=%2AMMO%2A#p84933 (ignore the middle part about it being boring, it's more about the first/last paragraphs and link).
by Lafolie
Thu Jan 09, 2014 9:17 pm
Forum: Support and Development
Topic: My object is not working?
Replies: 3
Views: 1047

Re: My object is not working?

Ah! That's awesome. I haven't played around with metatables for a while. This is why I use a class lib someone else made!
by Lafolie
Thu Jan 09, 2014 5:46 pm
Forum: Support and Development
Topic: My object is not working?
Replies: 3
Views: 1047

Re: My object is not working?

Welcome to the forums. The __index metatable event takes a function that is executed when triggered. Since you seem to have a grasp of things I'll just point you to the lua-users.org page where you can find all the info you need. You seem to be setting the event to a table reference, which isn't goi...
by Lafolie
Thu Jan 09, 2014 5:30 pm
Forum: Support and Development
Topic: Scaling love.graphics geometric shapes like bitmap pics?
Replies: 19
Views: 5490

Re: Scaling love.graphics geometric shapes like bitmap pics?

Daniel Eakins wrote: Wow, thanks! That's perfect. I'm really amazed by what kikito is capable of :awesome:
Fixed that for you ;)
by Lafolie
Wed Jan 08, 2014 10:05 pm
Forum: Support and Development
Topic: Scaling love.graphics geometric shapes like bitmap pics?
Replies: 19
Views: 5490

Re: Scaling love.graphics geometric shapes like bitmap pics?

If the things you're trying to scale are static perhaps using love.graphics.newScreenshot could be an option. But you definitely don't want to be calling that every frame. EDIT: On 2nd thought that's probably stupid. Thought of this too, but decided not to post it as it's pretty bad advice, haha. T...
by Lafolie
Wed Jan 08, 2014 1:20 pm
Forum: Support and Development
Topic: Scaling love.graphics geometric shapes like bitmap pics?
Replies: 19
Views: 5490

Re: Scaling love.graphics geometric shapes like bitmap pics?

It's basically the same kind of approach as using a canvas except you'll have to do it directly to the screen. Should still work though. The whole problem is that this doesn't work for primitives drawn by the framework. Is there a particular reason you're not using pre-rendered images? If not, just...
by Lafolie
Tue Jan 07, 2014 6:22 am
Forum: Support and Development
Topic: Scaling love.graphics geometric shapes like bitmap pics?
Replies: 19
Views: 5490

Re: Scaling love.graphics geometric shapes like bitmap pics?

An easy way to do this is with a canvas. It may not be the most elegant solution, but may work well if you're using multiple line/shapes that don't move independently. function love.load() gWidth, gHeight = 320, 200 --my game resolution love.graphics.setDefaultFilter("nearest", "nearest") i = 1 --sc...