Comments (2)
UPDATE 2. I also figured out that it works with 2.0.0 beta 5 version, but instead of "_script_variables" you should look for "_script_v" in the game.map
file. Perhaps there is no need for 2.0.0 beta 4 build then.
from gb-studio.
UPDATE. With the help from Patrick Mollohan on Reddit I was able to figure out how to use the old guidelines for the latest version of GB Studio.
First of all, older versions used different js emulator. To use the previous emulator I basically took a project created in the old version and replaced the rom file with the one I created in the version 3.1.0. Similar mod might be possible with the new emulator, too, but the names of the functions and variables would be different.
Next, Patrick Mollohan explained to me that with the latest release of GB Studio 3 I should be looking for "_script_memory" instead of "_script_variables" in the game.map file. Finally, since GB Studio 2 used 8-bit variables and they are now 16-bits wide, the "variableIndex" value in the script should be multiplied by 2.
However, this was not the end of it. There is additional complexity because of the changes in the way variables are handled. Previously the variables had a fixed index number. In the latest version variables only have names. The sequence in which variables appear in the project is now important. Leaving some variables unused or moving the order of events may also change the index of the variable. It requires very careful naming and keeping track of the variables not to mess it up.
Anyhow, I would appreciate any feedback or comments regarding the above. For the time being I would probably prefer working with 2.0.0 beta 4 build, and I hope that somebody can provide me with the Windows 64-bit version. Or maybe I could ask someone who is more competent than me to compile it from the original source code, which I found using the wayback machine.
from gb-studio.
Related Issues (20)
- Playing .mod files raises a kernel panic in 3.1.1 HOT 2
- Lists/Arrays data type
- Alpha channel being shown as a solid color in sprites HOT 4
- Could you add 5 colors? HOT 2
- Not possible to change the animation state of projectiles HOT 1
- Allow access to parameter Actors in nested scripts
- Player gets stuck to slopes above it HOT 1
- Spritesheet fragments left over during some animations HOT 4
- Editing a variable's name sometimes triggers an erroneous jump to another variable HOT 2
- Player with narrower than 16px collider can't touch scene's horizontal border HOT 2
- Ladder doesn't behave as intended if player drops on it while pressing down HOT 2
- Data manager is causing the after migrating a project from GB Studio 3.1.0
- Data manager is currently broken in latest dev build of GB Studio after migrating a project from GB Studio 3.1.0 HOT 2
- Cutting in Dialogue removes dynamic elements HOT 1
- When using commands & spaces in GBVM scripts, type location gets out of sync
- Add support for .wav or .mp3 files. HOT 6
- Sound Effect previews sound off / are corrupted since the UGEv6 update
- Several Triggers in a row "cancel each other out". HOT 2
- Music file is "too large to fit in bank"
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 gb-studio.