Replies: 12 comments 2 replies
|
sure, but like you say, not pressing. |
|
i also think it might be a good idea to change how tetris "default" files are named & loaded. live.ppooll relies on these tetris "default" files in order to set the correct dimensions for the containing bpatcher. but maybe the size is accessible in another way that i'm not aware of :) |
|
what do you mean?
is there a chance to write a ppooll.live wrapper, that goes for any act??? |
|
like eg.: let the actmaker look, if it is inside live and then load the wrapper? |
|
a wrapper for each act sounds interesting... it may require 2 bpatchers however, which off the top of my head seems redundant. i will have some time this week to begin a branch where i can start adding the live.ppooll code, then we can all see how it works. the reason for renaming the default@ tho is because Max will try to "smartly" find files in Max paths, and I'm afraid somewhere down the line it will identify another acts "default@" and try to use it for the wrong act |
|
why not load it with full path then? |
|
i have some javascript code that is grabbing the act window size from those files. the problem with that is that if i look for a custom act that doesn't have a preset file, it will attempt to load "actnameT/default" (which doesn't exist). Max then will look for any other file named "default" and attempt to use that. however, i'm realizing now quickest fix is for me to re-check the full path that it matches "actnameT/default", and if not, just return no size :) |
|
ok! got it now. this js should give you notfound ! |
|
btw, creating a default tetris on save is possible with the [savebang] object. |
|
the tetris.json is there in main !!
|
|
oh wowww 😮 |
|
how to close a discussion? delete it? |
Uh oh!
There was an error while loading. Please reload this page.
should tetris presets become json based as well?
not a pressing issue, but it would improve the standards-conformity of the project!
All reactions