Comments (3)
Well, to end this on a happy ending, I had a silly idea.
Instead of making a new camera (just because I'm bad at hscript), I'll just move all the characters and stage to camStageUnderlay (dumb idea, but at least it worked)
It didn't solve my doubt but it did solve my problem
from fnf-troll-engine.
Ok, just so you know, Psych Lua scripts aren't really supported (you're meant to use hscript) and it's just a thing we left on the engine out of generosity, so anything that uses psych's functions that were added past v0.5.2h will fail, that includes shaders, similar thing with the hscript implementation, this engine has it's own so the setVar function here isn't defined and will cause the script to stop.
(The equivalent of 'setVar()' here would be 'script.set()' so make sure to replace that function like this)
script.set('camBehind', camBehind);
Besides that I can't help you much!!! I don't any knowledge or access to the shader code or your any script of your mod!!!
If what you sent here is the full script then the only other issue I see is that 'redHole' (on the onCreate function) isn't defined anywhere which would also causes an error. if you have a shader called redHole on your mod folder then you would have to change it that line to
game.camBehind.setFilter([new ShaderFilter(newShader('redHole'))]);
Oh and the stage underlay camera is used for the stage darkness option, it has it's own camera so that you don't accidentally add anything on top of it.
from fnf-troll-engine.
Oh, thanks so much for the clarification and I'm sorry if I sounded a little stupid. I tried to recreate the script in a somewhat simpler and faster way but I forgot to add the definition of redHole that I had in the original. But other than that, that's all I used, just a few more shaders (the reason I wanted to simplify it), but the same problem occurs even without them. Thanks again for the clarifications and help, although unfortunately I couldn't solve it, but I'll see if I can solve it by learning something more about hscript, I don't want to be so annoying by asking about it a lot
In any case, I thank you for your attention and I wish you luck in this and other projects, good day or night
from fnf-troll-engine.
Related Issues (20)
- help with compiling HOT 5
- Make the repo a template HOT 2
- cool feature request HOT 1
- compiling error :((( HOT 3
- Compiling error HOT 5
- week 6 should use the note modifier system for pixel notes HOT 2
- hxcpp issue
- no sex HOT 2
- what version of the engine does tgt v4 run on? HOT 4
- Process creation failure : cl.exe On windows 11 HOT 4
- review organization branch HOT 7
- Split TGT Source HOT 2
- help some error i got HOT 5
- enum abstract issue when compiling HOT 7
- new roll FLA
- timing text is offset left HOT 3
- custom substate in a song HOT 2
- FrameX not properly taken into account when drawing in NoteField
- optimize SVs!!
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fnf-troll-engine.