-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Implement hscript-improved #13304
Implement hscript-improved #13304
Conversation
using my fork cuz it can compile WARNING: USE THESE COMMANDS BEFORE COMPILING PLS haxelib remove hscript haxelib git hscript https://github.com/TheLeerName/hscript-improved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
errors on hscript now traces to console also removed useless trace
no spam in luaDebugGroup when error in onUpdate!
will fix rejection shaders from my cool pr!!!!!!! ShadowMario/FNF-PsychEngine#13304
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yea creator of sscript deleted their account for some reason and that may make future commits not able to compile in this condition so ig this should do
backward compatibility
bro got Http Error #502 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hell yea
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
seems to work with no problems
thank god because sscript just kept getting worse and worse
oh btw you might just close this cuz the brewscript pr got merged |
still doesnt work for me |
install brewscript |
nevermind I just got it |
as u can see in this repo, SScript is not exists anymore, so i got idea implement
hscript-improved
lib from Codename Engine cuz it have the same things as in SScript likeimport
and suchSo now with this library we can use this script:
and yes, as you can see, we can avoid using
game
variable 😱classes still bugged and dont work normally (skill issue)
also i rewritted error messages (lol as in #13017), and i know about bug with duplicated file name in haxe 4.3.X lol
also
getTextFromFile
lua function andPaths.getTextFromFile
now has 3rd argument, if ittrue
, then it gets file by absolute pathalso
addHaxeLibrary
can import enums nowUPD: 17:49 - 19.09.2023
runHaxeCode
, it stops executingLua_helper.add_callback()
now justset()
setOnLuas
now not crashes when u trying to set function with itWARNING: USE THIS COMMAND BEFORE COMPILING PLS
will use original hscript-improved if my pr in original repo will be merged