Search found 14 matches

by TheWaffleDimension
Sun Dec 06, 2015 9:45 pm
Forum: LÖVE-Android
Topic: Game is in top-left corner? [Android-SDL2]
Replies: 5
Views: 45841

Re: Game is in top-left corner? [Android-SDL2]

That works well, and makes it so the game fits on the screen, but now I can't detect clicking on it properly. :/ Any help would be appreciated. EDIT: I mean clicking on images that have been scaled. Hey you found my code :) This is how I deal with mouse coordinated: local x,y = love.mouse.getPositi...
by TheWaffleDimension
Sat Dec 05, 2015 5:55 pm
Forum: LÖVE-Android
Topic: Game is in top-left corner? [Android-SDL2]
Replies: 5
Views: 45841

Re: Game is in top-left corner? [Android-SDL2]

I poked around the forums the bit, and found one about resolutions, and found this: This is the way I scale my games on any device. function love.load() windowWidth = 480 windowHeight = 320 if love.system.getOS() == "Android" then local x,y = love.window.getDimensions() scalex = (x/windowW...
by TheWaffleDimension
Sat Dec 05, 2015 12:30 am
Forum: LÖVE-Android
Topic: Does Love-Android-SDL2 Support In-App Purchases?
Replies: 11
Views: 77272

Does Love-Android-SDL2 Support In-App Purchases?

I would like to create a feature that uses in-app purchases, and would like to know if the Android SDL2 supports them. If so, how would I go about using them?
by TheWaffleDimension
Fri Dec 04, 2015 10:46 pm
Forum: LÖVE-Android
Topic: Game is in top-left corner? [Android-SDL2]
Replies: 5
Views: 45841

Game is in top-left corner? [Android-SDL2]

I've created a game, and want to put it on Android, which I've made the apk. I'm encountering an issue when playing the game on Android, though. The game loads, and runs fine, but it's in the top left corner, and I can't find out how to stop that. While we're on the topic of screen resolution and su...