Repository navigation
Larger Events V4 - #3632
Larger Events V4#3632LizardKing777 wants to merge 8 commits into
Conversation
modified: src/game_character.h
modified: src/game_event.cpp
modified: src/game_map.cpp
modified: src/game_player.cpp
Fresh build off the latest upstream source. Adds checks Event triggering and Vehicle boarding/uboarding code to ensure new code is only executing when {_X} and/or {!Y} strings are detected.
| } | ||
|
|
||
| // Note: RPG_RT ignores the lock_facing flag here! | ||
| if (vehicle->IsAscendingOrDescending()) return false; |
There was a problem hiding this comment.
This is slowly getting at a reviewable stage.
Your commit contains various unrelated changes. Carefully look through your commit and fix them.
Imo this here is a good example: it changes the formatting and removes a comment.
Rebuilt game_player.cpp, game_map.cpp and game_event.cpp to make sure comments remain and format of code is preserved.
This adds two comment commands, "@easyrpg_set_collision" and "@easyrpg_reset_collision" which allow you to override the default collision settings at runtime and then return them to their defaults if desired. This will override any strings in the filename. All spacing for the new code was manually input and all files were run through dos2unix before uploading, so hopefully that resolves any formatting issues.
|
I don't think there's anything else to add to this at this point. I do have some ideas for how to expand on this with pixel movement, but that's probably a totally new PR down the road. |
Adds two more comment commands, "@easyrpg_show_collision" and "@easyrpg_hide_collision" to show which tiles are currently within the collision box of a given event.
Fixes a few offset issues with the overlay.
Adds the ability to direct the game to ignore collision on specific tiles of an expanded event collision space, so can have an event be passable in specific parts of the collision box.
|
After some reflection, I'm starting to wonder if the filename tags are needed or if they're excessive. Pretty much everything can be accomplished by comment commands (and overrules the filename tags anyway), and for an example the demon in the above video's filename is "$Damon{_7}{!2}{n0,0;0,-1}.png" - it might be better to cut out the filename parsing and just use @EasyRPG comment commands. Thoughts? |



Fresh build off the latest upstream source. Adds checks Event triggering and Vehicle boarding/unboarding code to ensure new code is only executing when {_X} and/or {!Y} strings are detected.