Search found 9 matches

by nequals30
Sat Dec 26, 2020 5:03 pm
Forum: Libraries and Tools
Topic: push - a resolution-handling library
Replies: 80
Views: 146201

Re: push - a resolution-handling library

love.graphics.origin() worked perfectly! Thanks so much for the help, that issue has been bugging me for ages. My canvas creation and drawing only gets called once (e.g. when a UI element such as the game map is created), but it happens in love.update() because it might get triggered from there (e.g...
by nequals30
Sat Dec 26, 2020 3:51 am
Forum: Libraries and Tools
Topic: push - a resolution-handling library
Replies: 80
Views: 146201

Re: push - a resolution-handling library

I've been trying to figure out a major problem I've been having with this library -- when the game dimensions are a different aspect ratio than the screen dimensions, all canvases are drawn shifted relative to what they should be. After spending a lot of time trying to track it down, I noticed that ...
by nequals30
Tue Feb 25, 2020 10:00 pm
Forum: Support and Development
Topic: Black screen on Android
Replies: 3
Views: 6252

Re: Black screen on Android

I have the same issue using the Love app on the play store. The first time I open a .love file I get a black screen, the second time it works.

I have a Google Pixel 1.
by nequals30
Thu Feb 06, 2020 12:58 am
Forum: Libraries and Tools
Topic: Möan.lua - A simple messagebox system.
Replies: 40
Views: 88660

Re: Möan.lua - A simple messagebox system.

In möan/talkies, is there a way to resize my font if I am using an imageFont?
by nequals30
Wed Jan 15, 2020 8:30 pm
Forum: Support and Development
Topic: [IMPORTANT] Problem with the game distribution.
Replies: 13
Views: 10128

Re: [IMPORTANT] Problem with the game distribution.

I see this question coming up a lot on the forum, and I think it comes from people's hesitation to "give away" the code they've put hard work into. I think the truth is that game code is usually kludgy and duct-taped together, and not the essense of a game. The real substance of the game (...
by nequals30
Sat Nov 23, 2019 2:51 am
Forum: Support and Development
Topic: [STI] How to add map scrolling?
Replies: 1
Views: 2803

Re: [STI] How to add map scrolling?

This tutorial for STI shows how to make the camera follow a player (see the draw section at the bottom). The tutorial is a bit outdated (see this comment by Karai17). The right way to do it is essentially something like this: function love.draw() -- Scale world local scale = 2 local screen_width = l...
by nequals30
Sat Nov 02, 2019 7:22 pm
Forum: Support and Development
Topic: Android screen size woes (11.2+)
Replies: 12
Views: 16208

Re: Android screen size woes (11.2+)

pgimeno wrote: Sat Nov 02, 2019 6:37 pm This is not a bug. 11.x uses units that are not pixels, but device-independent length units, so that using e.g. 20 units looks about the same size in all models regardless of resolution.
Ah. I knew I was missing something. Thanks for your help!
by nequals30
Sat Nov 02, 2019 5:48 pm
Forum: Support and Development
Topic: Android screen size woes (11.2+)
Replies: 12
Views: 16208

Re: Android screen size woes (11.2+)

I also have a screen size question related to Android 11.3, but it may be more basic. I'm using the 'LÖVE for Android' app from the Play Store, which got updated to 11.3 this week, and for some reason the screen dimensions of my game have changed. To set the dimensions, I was just doing this in conf...
by nequals30
Sun Sep 22, 2019 6:01 pm
Forum: Support and Development
Topic: STI with Bump plugin
Replies: 21
Views: 29505

Re: STI with Bump plugin

If you need more complicated collisions, for example, using two collision boxes for a corner wall, or a smaller collision box for a thin wall, you can open the Tile Collision Editor in Tiled, and create collision boxes for an individual tile. If these collision boxes exist, STI's bump plugin will l...