skeleton of merge functionality
This commit is contained in:
@@ -38,10 +38,16 @@ some more practical uses would be things like:
|
||||
## todo
|
||||
|
||||
* implement Result return types on ::from functions so that we can handle errors
|
||||
* replace Image with Vec<u8> or something. seems like a pointless abstraction
|
||||
* replace Image with Vec<u8> or something. seems like a pointless abstraction.
|
||||
* replace game avatar with helper functions to get and set the sprite with an ID of A
|
||||
* implement PartialEq for tiles etc. for the sake of checking for duplicate tiles?
|
||||
* dedupe functions for tiles, sprites, etc.
|
||||
* tests for merge function
|
||||
* merge function places merged avatar in room 0 instead of the merged room 0 with a new ID.
|
||||
* actually - any sprites from the merged game are in game A's rooms
|
||||
* merged rooms have the wrong palette IDs and tile IDs
|
||||
* exits in merged rooms do not work - the on-screen position is correct, but the room ID is wrong
|
||||
* add update function (i.e. migrate an old game version to the current one) - would this work?
|
||||
|
||||
### tidy up
|
||||
|
||||
|
||||
Reference in New Issue
Block a user