Search found 58 matches

by unixfreak
Mon Apr 02, 2018 12:49 am
Forum: General
Topic: LÖVE 11.0 released!
Replies: 98
Views: 15779

Re: LÖVE 11.0 released!

Fantastic! Can't wait to fiddle around with the new features.
by unixfreak
Tue Jan 30, 2018 2:53 am
Forum: Support and Development
Topic: [solved] How do i offset an image so that it centres properly with scale?
Replies: 2
Views: 390

Re: How do i offset an image so that it centres properly with scale?

grump wrote:
Mon Jan 29, 2018 10:09 am
Get the center point of the image. Add it to the drawing coords, and set the origin to the coordinates of the center point:
For some reason i was trying to use the x/y values within the offset value itself, which obviously wouldn't work. Your method is perfect.
Thank you so much. :ultrahappy:
by unixfreak
Mon Jan 29, 2018 8:56 am
Forum: Support and Development
Topic: [solved] How do i offset an image so that it centres properly with scale?
Replies: 2
Views: 390

[solved] How do i offset an image so that it centres properly with scale?

I have an image that scales when the player collides with it, as a simple animation for when the player bounces off. However, i can't figure out what to put as the offset for love.graphics.draw() Here's a stripped down bit of code showing what i'm trying to achieve; scale.love The problem: the image...
by unixfreak
Wed Oct 18, 2017 6:58 am
Forum: Libraries and Tools
Topic: paddy - touchscreen controls
Replies: 4
Views: 1394

Re: paddy - touchscreen controls

Hey, thanks for suggesting that D0NM. I recently changed things a bit, not the best code. But it now supports two kinds of "widgets". One for the dpad, and one for a playstation/snes style button pad. I also decided to change the paddy.dpad.isDown("left") to simply paddy.isDown("left"), so that this...
by unixfreak
Sat Sep 02, 2017 11:03 pm
Forum: Libraries and Tools
Topic: paddy - touchscreen controls
Replies: 4
Views: 1394

paddy - touchscreen controls

A small library i created recently to test some basic games on android devices I will be adding more features to this in the future, but thought this could help someone as it is: https://github.com/Jigoku/paddy Basically, it draws a dpad to the screen which you can use to process input on a touchscr...
by unixfreak
Sun Aug 27, 2017 2:41 am
Forum: General
Topic: Question about android development
Replies: 6
Views: 1009

Re: Question about android development

adb, fastboot and mkbootimg are packaged together as dev-util/android-tools on my distro (Gentoo). Arch seems to have an equivalent package. I'm not sure about Slackware. The package's homepage is given as https://android.googlesource.com/platform/system/core.git/ , but I get the impression you may...
by unixfreak
Sat Aug 26, 2017 6:57 pm
Forum: General
Topic: Question about android development
Replies: 6
Views: 1009

Re: Question about android development

here is the specific adb command I've used in the past this isn't nearly as instant as I liked but it worked adb push releases/mygame.love /sdcard/ adb shell am start -S -n "org.love2d.android/.GameActivity" -d "file:///sdcard/mygame.love" Yeah, i'd guessed adb could be used, do you know if there i...
by unixfreak
Wed Aug 23, 2017 6:25 pm
Forum: General
Topic: What's everyone working on? (tigsource inspired)
Replies: 1626
Views: 307282

Re: What's everyone working on? (tigsource inspired)

A strategy game with quirks/idea from DEFCON and Command & Conquer. I only have nukes implemented at the moment though.
by unixfreak
Wed Aug 23, 2017 12:25 pm
Forum: General
Topic: Question about android development
Replies: 6
Views: 1009

Question about android development

EDIT; could someone move this to https://love2d.org/forums/viewforum.php?f=11 ? I just noticed there is a subforum for android stuff. Thanks... I've just started tinkering with https://love2d.org/wiki/love.touch In an attempt to write a small module for an on screen controller, so i can try and port...
by unixfreak
Sat Aug 19, 2017 5:49 am
Forum: Games and Creations
Topic: Simon says
Replies: 0
Views: 449

Simon says

A small clone of that classic memory game
simon.love
(128.1 KiB) Downloaded 73 times