>>106146317You're not going to learn that from a hex editor. Assuming you're talking about reverse engineering, look up some reverse engineering tutorials and use whatever hex editor they're using so you can follow along. Depending on the game you want to modify, it might be easier to just learn assembly for that system and go from there. If you just want to edit some text then do plain text searches, but be aware that a lot of older games used compression and there are other factors to consider. For example, a game might use different bytes for characters than Ascii or UTF do. In short, you're going to have to learn a LOT of different things to make any significant modifications.
If you actually just want to learn how things work on a code level, look up some basic game mechanic tutorials in LOVE2D or PyGame and try to follow along.