Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

parse instanceArg in arrays #16137

Merged
merged 1 commit into from
Feb 1, 2025
Merged

Conversation

inky03
Copy link
Contributor

@inky03 inky03 commented Jan 11, 2025

self explanatory (?). parses arrays/tables with instanceArg
example:

makeLuaSprite('shd')
setSpriteShader('shd', 'adjustColor')
createInstance('filter', 'openfl.filters.ShaderFilter', {instanceArg('shd.shader')})
setProperty('camGame.filters', {instanceArg('filter')}, false, true) -- this was previously not possible
setShaderFloat('shd', 'hue', -15)

@ShadowMario ShadowMario merged commit e67cddf into ShadowMario:main Feb 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants