Search found 784 matches

by Lafolie
Fri Aug 18, 2017 12:00 am
Forum: Support and Development
Topic: [SOLVED] Custom Cursors and Window Scaling
Replies: 2
Views: 522

Re: Custom Cursors and Window Scaling

You need to also scale the cursor position. For example, say your original resolution is 10x10 pixels. At a scale of 1 the ratio of the system cursor to the game cursor is 1:1. Now let's assume you scale your window to 20x20. The scale is now 2:1, that is, for every 2 pixels the system cursor moves,...
by Lafolie
Thu Aug 17, 2017 11:48 pm
Forum: General
Topic: How exactly should I learn
Replies: 15
Views: 2835

Re: How exactly should I learn

Stick with it and don't give up. Programming is a fickle mistress; at times you will feel like a god and at others you'll want to tear your hair out. When you've got something working show your friends. There's no better feeling than seeing someone enjoy a thing you created. When it comes to learnin...
by Lafolie
Mon Jul 10, 2017 9:23 pm
Forum: General
Topic: Forum etiquette
Replies: 38
Views: 91133

Re: Forum etiquette

Are there any guidelines regarding necro? Not really. It's not really frowned upon, I've seen it in a few places (even on one of my own threads) and people don't seem to mind. Necro posting is more of an issue in boards with higher frequency posting than this place, and what with support threads an...
by Lafolie
Mon Jul 10, 2017 9:16 pm
Forum: Support and Development
Topic: Resize image
Replies: 6
Views: 1441

Re: Resize image

No you can't resize image. You can scale the image during drawing as mentioned above, but the size of the image itself can not be changed. Ah, but what if you display a scaled image and dump the result to a file, then reload it? ;) Then scale it back up to the original resolution for the pixelly go...
by Lafolie
Mon Jul 10, 2017 9:07 pm
Forum: Games and Creations
Topic: I made a twitter bot that posts images rendered in LOVE
Replies: 5
Views: 1895

Re: I made a twitter bot that posts images rendered in LOVE

It would be cool if the bot replied or interacted to replies in some way. I think this is awesome though.
by Lafolie
Mon Jul 10, 2017 8:58 pm
Forum: Games and Creations
Topic: Cactus game.
Replies: 37
Views: 7988

Re: Cactus game.

Kaktuse Gayem
by Lafolie
Sun Dec 04, 2016 12:53 pm
Forum: Support and Development
Topic: How make rain/snowfall/mist effect ?
Replies: 4
Views: 1038

Re: How make rain/snowfall/mist effect ?

Particle effects! Albeit for another system, check out some Unreal Engine tutorials for particles. There's a lot to be learned that will carry over to pretty much any API with a particle emitter object.
by Lafolie
Mon Nov 28, 2016 10:44 am
Forum: Support and Development
Topic: How to draw all objects on screen?
Replies: 12
Views: 1861

Re: How to draw all objects on screen?

Pop all your actors (or drawable actors) in a table and iterate over it, calling the relevant function. You can use this technique in many places and for many things. For example, updating all your actors could use the exact same table. actors = {} --this is our list of actors love.load = function()...
by Lafolie
Tue Nov 24, 2015 11:45 pm
Forum: Support and Development
Topic: [Help]Sidescroller Engine
Replies: 4
Views: 1091

Re: [Help]Sidescroller Engine

A physics library can be great, but when you're starting out I do believe that it's a very good idea to have a go at doing some pseudo physics yourself. Having an understanding or insight as to how things like Box2D work internally can help you solve problems when you do use them, and adds to your o...
by Lafolie
Mon Jun 22, 2015 10:51 am
Forum: General
Topic: Nintendo's E3 this year
Replies: 8
Views: 1229

Re: Nintendo's E3 this year

jjmafiae wrote:I wish they would open up for 3RD party indie games on the New Nintendo 3DS, imagine having love games on it.
Ta-da http://smilebasic.com/en/