"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
s-ol
Party member
Posts: 1077
Joined: Mon Sep 15, 2014 7:41 pm
Location: Cologne, Germany
Contact:

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

Post by s-ol »

Le_juiceBOX wrote:What are the advantages and disadvantages for using canvases?
Depends on how you use them of course, they are just a tool.

In the way talked about above: it trades off performance for memory. You draw something once but then you need to save the generated image. If its a complicated image that changes very rarely then you can use it like a texture and draw it quickly whenever you need.

s-ol.nu /blog  -  p.s-ol.be /st8.lua  -  g.s-ol.be /gtglg /curcur

Code: Select all

print( type(love) )
if false then
  baby:hurt(me)
end
User avatar
yetneverdone
Party member
Posts: 448
Joined: Sat Sep 24, 2016 11:20 am
Contact:

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

Post by yetneverdone »

I have a simple question:

Should I use Source:play() --audio play in update function?
User avatar
zorg
Party member
Posts: 3468
Joined: Thu Dec 13, 2012 2:55 pm
Location: Absurdistan, Hungary
Contact:

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

Post by zorg »

yetneverdone wrote:I have a simple question:

Should I use Source:play() --audio play in update function?
You only need to call that once, to start playback; no need to call it each frame.
Me and my stuff :3True Neutral Aspirant. Why, yes, i do indeed enjoy sarcastically correcting others when they make the most blatant of spelling mistakes. No bullying or trolling the innocent tho.
User avatar
D0NM
Party member
Posts: 250
Joined: Mon Feb 08, 2016 10:35 am
Location: Zabuyaki
Contact:

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

Post by D0NM »

Guys,

1) do you know a way to use more low level control of the mod/xm music player?
- loop / unloop current pattern
- play/mute certain tracks / instruments?

(e.g. you go into the woods. And if u get close to a mine u hear some changing stuff in the playing music)

2) it happened tat I got stuck to TEsound lib. Now going to move to something not deprecated.
The main thing I miss the most is the sound panning.

Thank you! :3
Our LÖVE Gamedev blog Zabuyaki (an open source retro beat 'em up game). Twitter: @Zabuyaki.
:joker: LÖVE & Lua Video Lessons in Russian / Видео уроки по LÖVE и Lua :joker:
smunnelsnakzruule
Prole
Posts: 8
Joined: Thu Oct 13, 2016 12:36 pm

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

Post by smunnelsnakzruule »

Besides depth sorting through render stacks myself, anyone know of any libraries for Love2D which handle Z order or depth sorting automatically (such as scene group object handler) ??

or a famous lib for this?

i tried to look at love3d but its pretty old and the OP stopped updating it.

also, anyone know of any good class libraries for lua as a whole? trying to find industry standard of lua 5.1 classes to model my own after. Something tried and tested is preferrable. thank you.
User avatar
zorg
Party member
Posts: 3468
Joined: Thu Dec 13, 2012 2:55 pm
Location: Absurdistan, Hungary
Contact:

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

Post by zorg »

D0NM wrote:Guys,

1) do you know a way to use more low level control of the mod/xm music player?
- loop / unloop current pattern
- play/mute certain tracks / instruments?

(e.g. you go into the woods. And if u get close to a mine u hear some changing stuff in the playing music)

2) it happened tat I got stuck to TEsound lib. Now going to move to something not deprecated.
The main thing I miss the most is the sound panning.

Thank you! :3
Either you use a nightly, or wait until 0.11... and
- wait till i write a playroutine for module files, or
- maybe it's possible to FFI into libmodplug, and do those things; i haven't tried this.
Me and my stuff :3True Neutral Aspirant. Why, yes, i do indeed enjoy sarcastically correcting others when they make the most blatant of spelling mistakes. No bullying or trolling the innocent tho.
User avatar
D0NM
Party member
Posts: 250
Joined: Mon Feb 08, 2016 10:35 am
Location: Zabuyaki
Contact:

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

Post by D0NM »

zorg wrote:Either you use a nightly, or wait until 0.11... and
- wait till i write a playroutine for module files, or
- maybe it's possible to FFI into libmodplug, and do those things; i haven't tried this.
We can wait ^__^ Our musician says that the .xm/etc modules have many interactive possibilities
that are too good to drop.

Well... FFI doesn't look as cross-platform as I wish.
Our LÖVE Gamedev blog Zabuyaki (an open source retro beat 'em up game). Twitter: @Zabuyaki.
:joker: LÖVE & Lua Video Lessons in Russian / Видео уроки по LÖVE и Lua :joker:
User avatar
zorg
Party member
Posts: 3468
Joined: Thu Dec 13, 2012 2:55 pm
Location: Absurdistan, Hungary
Contact:

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

Post by zorg »

D0NM wrote:
zorg wrote:Either you use a nightly, or wait until 0.11... and
- wait till i write a playroutine for module files, or
- maybe it's possible to FFI into libmodplug, and do those things; i haven't tried this.
We can wait ^__^ Our musician says that the .xm/etc modules have many interactive possibilities
that are too good to drop.
Well... FFI doesn't look as cross-platform as I wish.
Indeed, jumping around on command is a nice feature, for example. Also muting channels. (Sampler muting and loop control usually isn't done though, but it could be done)
Me and my stuff :3True Neutral Aspirant. Why, yes, i do indeed enjoy sarcastically correcting others when they make the most blatant of spelling mistakes. No bullying or trolling the innocent tho.
paul54000
Prole
Posts: 22
Joined: Mon Nov 28, 2016 12:19 am

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

Post by paul54000 »

i discover today a level map editor : overlap2d
http://overlap2d.com/

It is compatible with Löve 2d ?
User avatar
raidho36
Party member
Posts: 2063
Joined: Mon Jun 17, 2013 12:00 pm

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

Post by raidho36 »

I don't think so, no.
Locked

Who is online

Users browsing this forum: Amazon [Bot] and 3 guests