Page 82 of 91

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

Posted: Wed Nov 23, 2016 7:49 pm
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.

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

Posted: Sat Nov 26, 2016 7:18 am
by yetneverdone
I have a simple question:

Should I use Source:play() --audio play in update function?

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

Posted: Sat Nov 26, 2016 8:11 am
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.

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

Posted: Mon Nov 28, 2016 11:13 am
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

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

Posted: Mon Nov 28, 2016 3:26 pm
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.

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

Posted: Mon Nov 28, 2016 4:35 pm
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.

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

Posted: Mon Nov 28, 2016 7:24 pm
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.

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

Posted: Mon Nov 28, 2016 7:31 pm
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)

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

Posted: Tue Nov 29, 2016 8:18 pm
by paul54000
i discover today a level map editor : overlap2d
http://overlap2d.com/

It is compatible with Löve 2d ?

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

Posted: Tue Nov 29, 2016 8:20 pm
by raidho36
I don't think so, no.