Rewind/Undo

Author: Richie Chao
Posted on 2/27/2024
While working on my production task for this week, I encountered an issue while creating the rewind system. With the issue being the storing and movement/location of the pieces when a player action is undone. Although I was able to store the pointer for the pieces and its information into an array, the pieces were not setting their location properly. This is an issue because the player pieces would reset back to their original position on the board from game start instead of their previous location before they had moved to their current position.
I spent countless hours trying to fix this issue and get it working. After going through the code for piece movement, I realized that I was storing and using the wrong coordinates for setting the game pieces actor location when the undo action is used. After realizing this, I had an idea of what I needed to do, and after some trial-and-error, I managed to fix this issue.
Get World War Chess
World War Chess
World War Chess is a strategy board game.
Status | Prototype |
Author | Keychain Studios |
Genre | Strategy |
More posts
- Information Display50 days ago
- Impassable Tiles50 days ago
- Movement on the field50 days ago
- Problems with Player Cam56 days ago
- Bringing the start56 days ago
- UI integration management56 days ago
- Internet and Sound Waves56 days ago
- Start Tile Issue56 days ago
- Problems with Software63 days ago
Leave a comment
Log in with itch.io to leave a comment.