rxi / fe

A tiny, embeddable language implemented in ANSI C
MIT License
1.3k stars 81 forks source link

Completely black window #16

Open Satorikeiko07 opened 1 year ago

Satorikeiko07 commented 1 year ago

Whenever I attempt to run any of the scripts provided in fe/scripts using cel7 the window turns completely black, I am not sure if it's an issue in the files or if I am missing any requirements I did not know about, everything except the no input file error returns a black screen, I have tried to run it through the command line but it gives the same result.

Is there any way to solve this? I am using Windows 11 if OS is relevant

ooichu commented 1 year ago

cel7 is not a fe interpreter, but a game framework. Once you run one of the scripts from the fe/scripts folder, the script is executed and then the framework runs the init, step, etc. functions. But none of the above scripts define or use functions specific to cel7. In fact, the framework has nothing to do and just shows a black screen. You can try to run cel7 from the console, then you (depending on the platform) may get the result of the scripts execution. At least it works on Linux. If you need the fe interpreter, just build it from source. This can be done with any C compiler for Windows.