"Questions that don't deserve their own thread" thread

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Locked
User avatar
scissors61
Citizen
Posts: 76
Joined: Fri Jan 08, 2016 10:16 am

Re: "Questions that don't deserve their own thread" thread

Post by scissors61 »

wow, cool, thanks for sharing it, Glad that it allows scrolling by dragging the list with the mouse because what I'm doing will be mainly for mobile. I'll be trying to understand your code to implement it.
User avatar
PiFace
Prole
Posts: 28
Joined: Mon Sep 05, 2016 5:35 pm
Location: Brazil

Re: "Questions that don't deserve their own thread" thread

Post by PiFace »

HugoBDesigner wrote:Well, I did something that could be of use for you. Don't mind me, I always overdo things when it comes to coding (I'm looking at you Simple Path Animation):
Scroller.love
EDIT: Use mouse and/or mousewheel, also click and escape
Awesome! This really came in handy, thank you!
User avatar
Jack Dandy
Prole
Posts: 49
Joined: Mon Sep 08, 2014 4:26 pm

Re: "Questions that don't deserve their own thread" thread

Post by Jack Dandy »

Hey, I wanted to know- is there a way to draw all the things from a single love.draw call into a canvas at once?

IE- to make a "copy" of the current screen and slap it unto a canvas?

I want to make a sort of "pop up" menu with Stateswitcher.
Since you can't stack draw functions with it, I figured I could just make a copy of the current screen and draw it as a static 'picture' in the alternative state's love.draw function, along with the pop-up menu.


EDIT: Nevermind - I just figured out you can call callback functions manually as well.

Code: Select all

love.graphics.setCanvas( canvas_back )
      love.draw()
      love.graphics.setCanvas( )
Did me just fine. :awesome:


ALTHOUGH - I'm not sure of something. In the Wiki, it says:
"In versions prior to 0.10.0, not all graphics cards that LÖVE supported could use Canvases. love.graphics.isSupported("canvas") could be used to check for support at runtime."

Can I be certain from now on that my game will work on any computer?
User avatar
HugoBDesigner
Party member
Posts: 403
Joined: Mon Feb 24, 2014 6:54 pm
Location: Above the Pocket Dimension
Contact:

Re: "Questions that don't deserve their own thread" thread

Post by HugoBDesigner »

What that means is that LÖVE no longer supports these old-school computers that do not support Canvases, so checking if they do is pointless, as it won't work either way.
@HugoBDesigner - Twitter
HugoBDesigner - Blog
User avatar
Jack Dandy
Prole
Posts: 49
Joined: Mon Sep 08, 2014 4:26 pm

Re: "Questions that don't deserve their own thread" thread

Post by Jack Dandy »

Got it, thank you.
User avatar
unixfreak
Citizen
Posts: 82
Joined: Thu Oct 15, 2015 6:25 am
Location: Bristol, UK
Contact:

Re: "Questions that don't deserve their own thread" thread

Post by unixfreak »

EDIT: Nevermind, answered my own question
This is what i was looking for https://love2d.org/wiki/love.system.openURL

-------

Hi, is this possible, i've tried searching the web and looking through the wiki but to no avail;

I have files created by my game which are saved in the local save folder:

Code: Select all

love.filesystem.getSaveDirectory( )
I want to be able to set a keybind to open a desktop file browser to that path. Is this possible? Can love2d launch a file browser?
User avatar
RaycatRakittra
Prole
Posts: 22
Joined: Fri Sep 30, 2016 12:40 am
Location: Chicago, IL
Contact:

Re: "Questions that don't deserve their own thread" thread

Post by RaycatRakittra »

What is the highest quality game created using LÖVE, commercial or otherwise?
Does it have its .love file? I'd love to study it, no pun intended.
Sometimes, I can code things.
User avatar
Jasoco
Inner party member
Posts: 3727
Joined: Mon Jun 22, 2009 9:35 am
Location: Pennsylvania, USA
Contact:

Re: "Questions that don't deserve their own thread" thread

Post by Jasoco »

I'd say there's two: (Technically three)

Concerned Joe
A platformer with neat physics and animations where you have to keep moving or you'll die. There's plenty of traps along the way. Currently on hiatus and still in development but there is or was an early access program. It costs money. I think it was $10. But I dont know where you can get it anymore as the team seems to have moved onto...

Move or Die
Like Concerned Joe, you die if you stop moving, but also have to kill the other players. It's a multi-player game only. It uses the Concerned Joe engine and characters and graphics and setting and is the current project of the Concerned Joe team. It's on Steam.

Mari0
A Super Mario Bros. clone with a Portal gun twist and modding support. They did pretty well in replicating the physics of the original game. You can download the source at stabyourself.net.

I'm sure there's others.
Zireael
Party member
Posts: 139
Joined: Fri Sep 02, 2016 10:52 am

Re: "Questions that don't deserve their own thread" thread

Post by Zireael »

I'm looking for a free .love that uses particles so I can see how they work. Does Mari0 use them?
User avatar
Nixola
Inner party member
Posts: 1949
Joined: Tue Dec 06, 2011 7:11 pm
Location: Italy

Re: "Questions that don't deserve their own thread" thread

Post by Nixola »

Zireael, I don't have a .love file available but here there's three particle systems, two of which are used in this file (the other one is used in the bottom of this one.)
lf = love.filesystem
ls = love.sound
la = love.audio
lp = love.physics
lt = love.thread
li = love.image
lg = love.graphics
Locked

Who is online

Users browsing this forum: No registered users and 4 guests