INTEGER_SCALE Default Off in tic80lua.wasm (v 1.1.2837) #2386
-
I built a custom version with INTEGER_SCALE_DEFAULT false (config.c) and it works for the binary but exporting to html with alone=1 does not result in integer scale default off. I can't figure out how/where the tic80lua.wasm alone html export file is built or how to set it to integer_scale default off. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
same story but with crt filter here #1882 |
Beta Was this translation helpful? Give feedback.
-
Thanks to @soxfox42 for helping me with this. How I rebuilt the tic80lua.wasm and tic80lua.js files for version 1.1.2837 I already had my game exported without editors...
Follow init build instructions from wiki:
I wanted to work with a specific version, so...
Then I made my source code change in src/studio/config.c
Install Emscripten SDK. (https://emscripten.org/docs/getting_started/downloads.html)
Output is in build/bin as tic80lua.wasm and tic80lua.js Replace the files in the export...
|
Beta Was this translation helpful? Give feedback.
Thanks to @soxfox42 for helping me with this.
How I rebuilt the tic80lua.wasm and tic80lua.js files for version 1.1.2837
I already had my game exported without editors...
export html game alone=1
Follow init build instructions from wiki:
sudo apt-get install g++ git cmake ruby-full libglvnd-dev libglu1-mesa-dev freeglut3-dev libasound2-dev -y
git clone --recursive https://github.com/nesbox/TIC-80
cd TIC-80
I wanted to work with a specific version, so...
git checkout be42d6f146cfa520b9b1050feba10cc8c14fb3bd
Then I made my source code change in src/studio/config.c
#define INTEGER_SCALE_DEFAULT false
Install Emscripten SDK. (https://emscripten.org/docs/getting_started/downloads.html)
cd build
…