Page 69 of 91

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

Posted: Tue Sep 20, 2016 5:21 pm
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.

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

Posted: Tue Sep 20, 2016 5:50 pm
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!

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

Posted: Wed Sep 28, 2016 10:48 am
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?

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

Posted: Wed Sep 28, 2016 12:03 pm
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.

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

Posted: Wed Sep 28, 2016 2:14 pm
by Jack Dandy
Got it, thank you.

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

Posted: Thu Sep 29, 2016 8:19 pm
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?

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

Posted: Fri Sep 30, 2016 1:01 am
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.

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

Posted: Fri Sep 30, 2016 3:22 am
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.

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

Posted: Fri Sep 30, 2016 7:49 am
by Zireael
I'm looking for a free .love that uses particles so I can see how they work. Does Mari0 use them?

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

Posted: Fri Sep 30, 2016 8:00 am
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.)