Bag Box #57
Replies: 7 comments 13 replies
-
@evanwporter To your point about serializing the bag data, my philosophy with OpenHome is that people are going to cheat if they really want to, so there's no point in trying to obfuscate it just to deter them. Let's store it as JSON, because that's more compact and readable than XML, and having a human readable format makes debugging a lot easier (vs storing a javascript class in a binary format) |
Beta Was this translation helpful? Give feedback.
-
By the way, for this I created another branch--I know there's a lot of branches--but hopefully we are able to start closing some of them soon. |
Beta Was this translation helpful? Give feedback.
-
Also here's what I got. I think the bag looks better on the right side. But I need troubleshoot why the filter is overextending. I can release these edits as a commit if you want to poke your head around. I won't be able to get to troubleshooting for a little bit. |
Beta Was this translation helpful? Give feedback.
-
Also I think we should move the Mawile Sprite in Home up slightly. With a mega stone it looks like this |
Beta Was this translation helpful? Give feedback.
-
@evanwporter let me know when you push your latest changes to |
Beta Was this translation helpful? Give feedback.
-
Note: I defined the bag to be a static class--coming from a C# background static classes are usually discourages, but this should be fine for now since there will only be one bag per OpenHome. The most important thing we need to do now is to have the bag read the json at the very beginning of the program. Also have it write to file when program is saved. |
Beta Was this translation helpful? Give feedback.
-
Kind of along the same lines as issue #55, what happens when a pokemon is moved to a generation with moves. not from that generation? The moves are likely removed... But then what happens when that pokemon is moved back the OH with no move changes? Does OpenHome fill in the missing moves with its saved moves? |
Beta Was this translation helpful? Give feedback.
-
(Discussion title can be changed later)
Adds a Basic Bag. I developed it on the same branch as the RR branch so all of those changes have been carried over from RR. NOTE: Look at the first commit for reviewing changed files.
Currently this just adds a super basic bag.
Here the bag is unopened
Here we added an item to the bag
Added it back to slowbro
Currently nothing gets saved to file.
Here are necessary things to do before the bag-box branch is merged
Things to think about
@andrewbenington
Beta Was this translation helpful? Give feedback.
All reactions