Search found 444 matches

by Ryne
Mon Oct 25, 2010 6:43 am
Forum: Support and Development
Topic: "Zoom" Effect/Desaturated World
Replies: 6
Views: 2482

Re: "Zoom" Effect/Desaturated World

Thanks a lot ninwa! I haven't had a chance to check this out yet so I'll try in within the next few days :)
by Ryne
Sat Oct 23, 2010 10:17 am
Forum: Libraries and Tools
Topic: My first löve demo
Replies: 10
Views: 8405

Re: My first löve demo

Your code actually helped me realize a problem with my own project, thanks! :)
by Ryne
Sat Oct 23, 2010 10:05 am
Forum: Support and Development
Topic: Discussion: Game Flow Management
Replies: 3
Views: 2822

Re: Discussion: Game Flow Management

I asked a similar question on how to use separate ".lua" files instead of one huge main file, which could also be useful to get rid of clutter. Robin posted a pretty easy way of doing so, if you want to take a look at the last few posts of this thread http://love2d.org/forums/viewtopic.php...
by Ryne
Sat Oct 23, 2010 6:39 am
Forum: Support and Development
Topic: "Zoom" Effect/Desaturated World
Replies: 6
Views: 2482

Re: "Zoom" Effect/Desaturated World

I've not tried a zoom effect before, so I have no example code for you, but definitely look through love.graphics.scale . There's no way of manipulating pixels in love so I'd say you're stuck with using seperate sprites. One thing worth trying is a grey box the size of your game window drawn above ...
by Ryne
Sat Oct 23, 2010 5:52 am
Forum: Support and Development
Topic: "Zoom" Effect/Desaturated World
Replies: 6
Views: 2482

"Zoom" Effect/Desaturated World

Hi everyone. I was wondering if it would be possible to create a "zoom" effect in love . Specifically I would like the camera to start "zoomed" into the player sprite, as sort of a freeze time at the beginning of the level, after a few seconds it would zoom out into the actual FO...
by Ryne
Fri Oct 22, 2010 9:30 pm
Forum: Support and Development
Topic: [Solved] Creating player's and adding them to a grid?
Replies: 10
Views: 4561

Re: Creating player's and adding them to a grid?

Oh wow, That's easier than I thought, which is always a good thing, Thanks a lot! :)
by Ryne
Fri Oct 22, 2010 9:01 pm
Forum: Support and Development
Topic: [Solved] Creating player's and adding them to a grid?
Replies: 10
Views: 4561

Re: Creating player's and adding them to a grid?

I assumed that would be the case. Surprisingly, programming makes a lot of sense to me, though I haven't done a lot of it. I can understand how to do something, just not necessarily know how to go about it. One more thing. I currently have the entire game programmed in the single main.lua. Is their ...
by Ryne
Fri Oct 22, 2010 8:17 pm
Forum: Support and Development
Topic: [Solved] Creating player's and adding them to a grid?
Replies: 10
Views: 4561

Re: Creating player's and adding them to a grid?

- Make the sprite collide-able (Unsure how to do this yet) Images can't collide. They can only be drawn. There are two ways to get collisions: love.physics, which is probably overkill right now, or write it yourself. You'll probably want to do something like player = {hp = 100, strength = 50, image...
by Ryne
Thu Oct 21, 2010 10:29 pm
Forum: Support and Development
Topic: [Solved] Creating player's and adding them to a grid?
Replies: 10
Views: 4561

Re: Creating player's and adding them to a grid?

Thanks for the reply. I was wondering of doing it this way, and was wondering if it seemed efficient. - Create a table that holds player data player{ hp = 100; strength = 50 } - Create a sprite/image for the player like Kikito suggested love.graphics.newImage("assets/units/player.png") - M...
by Ryne
Thu Oct 21, 2010 7:33 pm
Forum: Support and Development
Topic: [Solved] Creating player's and adding them to a grid?
Replies: 10
Views: 4561

[Solved] Creating player's and adding them to a grid?

Hi, This was a question I asked Kikito and he suggested I post it on the forums. I was wondering if I could do something like this: player = { image = love.graphics.newImage("MYIMAGELOCATION"), hp = 15, strength = 20, magic = 25 } [/code] So I was curious how I could then add a "playe...