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.
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 True 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.
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.
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.
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!
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 True 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.
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.
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 True 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.