Hey guys!
I'm happy to launch my first contribution for the engine. This is a test build only, it would be good if everyone can test and bring feedback. The update contains the following fixes:
- Fixes some controller issues and improve button detection
- Fixes the "multihit" glitch when two or more characters are hitting the same opponent. Added a new option in the cheat menu to enable/disable it. If modders are using it as a feature of your games, I can think about making it optional by creating a new script function
- Added a new script function "backtotitle(flag)". As the name says, this function instantly bring you back to the Title Screen with the same effect as the "ESC" key. It's similar to the "gotomainmenu" but you don't need to confirm the character selection and wait until the first level is loaded. You can use "flag 1" to enable or "flag 0" to disable. Currently, it works only on the Select Screen as a experimental feature and you can use it together with the "playerkeys" function.
This build is using the 6391 as base. In addition, after some tests I discovered that an important fix was made in the "juggle" feature to avoid negative numbers, thanks to msmalik681
Now if an "atbox" has the "jugglecost" function declared, every entity that can be hit in the air need to have the "jugglepoints" declared too, otherwise the collision is disabled.
It helped me a lot to adapt SOR2X to the build 6391 and I hope it can help other modders too.
Here's the test build:
https://1drv.ms/u/s!AnTXKPMHlONnhNdMWJAzM17ux7TZ2A?e=TQn0iY
I'm happy to launch my first contribution for the engine. This is a test build only, it would be good if everyone can test and bring feedback. The update contains the following fixes:
- Fixes some controller issues and improve button detection
- Fixes the "multihit" glitch when two or more characters are hitting the same opponent. Added a new option in the cheat menu to enable/disable it. If modders are using it as a feature of your games, I can think about making it optional by creating a new script function
- Added a new script function "backtotitle(flag)". As the name says, this function instantly bring you back to the Title Screen with the same effect as the "ESC" key. It's similar to the "gotomainmenu" but you don't need to confirm the character selection and wait until the first level is loaded. You can use "flag 1" to enable or "flag 0" to disable. Currently, it works only on the Select Screen as a experimental feature and you can use it together with the "playerkeys" function.
This build is using the 6391 as base. In addition, after some tests I discovered that an important fix was made in the "juggle" feature to avoid negative numbers, thanks to msmalik681
Now if an "atbox" has the "jugglecost" function declared, every entity that can be hit in the air need to have the "jugglepoints" declared too, otherwise the collision is disabled.
It helped me a lot to adapt SOR2X to the build 6391 and I hope it can help other modders too.
Here's the test build:
https://1drv.ms/u/s!AnTXKPMHlONnhNdMWJAzM17ux7TZ2A?e=TQn0iY