Skip to content

INTEGER_SCALE Default Off in tic80lua.wasm (v 1.1.2837) #2386

Closed Answered by bitwisecreative
bitwisecreative asked this question in Q&A
Discussion options

You must be logged in to vote

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

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@bitwisecreative
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by bitwisecreative
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants