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

2 quick source code questions? #694

Closed
SMWpalkia opened this issue Oct 26, 2024 · 3 comments
Closed

2 quick source code questions? #694

SMWpalkia opened this issue Oct 26, 2024 · 3 comments
Labels
question Further information is requested

Comments

@SMWpalkia
Copy link

What is your question?

  • Where can i find a list of lua functions? (stuff like onCreate & onUpdate)
  • Where can i find the code that creates the wavy bg effect & can it be edited?
@SMWpalkia SMWpalkia added the question Further information is requested label Oct 26, 2024
@moxie-coder
Copy link
Collaborator

moxie-coder commented Oct 26, 2024

What is your question?

  • Where can i find a list of lua functions? (stuff like onCreate & onUpdate)
  • Where can i find the code that creates the wavy bg effect & can it be edited?
  1. Look at the psych wiki
  2. Look in FunkinLua.hx and the Shaders.hx file for glitchEffect, right here in Shaders.hx for the actual shader code, and in FunkinLua for how the shader is created via Lua

@SMWpalkia
Copy link
Author

SMWpalkia commented Oct 26, 2024

  1. Look at the psych wiki
  2. Look in FunkinLua.hx and the Shaders.hx file for glitchEffect, right here in Shaders.hx for the actual shader code, and in FunkinLua for how the shader is created via Lua

are you able to help me understand how to read the code? im trying to recreate these background effects (the source code for this engine isn't availible so i cant just copy it)
heatwave hor
heatwave vert
dreamy
wavy
stop effect

@moxie-coder
Copy link
Collaborator

  1. Look at the psych wiki
  2. Look in FunkinLua.hx and the Shaders.hx file for glitchEffect, right here in Shaders.hx for the actual shader code, and in FunkinLua for how the shader is created via Lua

are you able to help me understand how to read the code? im trying to recreate these background effects (the source code for this engine isn't availible so i cant just copy it) heatwave hor heatwave hor heatwave vert heatwave vert dreamy dreamy wavy wavy stop effect stop effect

DYI, idk how to help with that, plus it would help you learn if you tried to learn Haxe, it wasn't too hard for me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants