Relative x and y positions
michael20at opened this issue · comments
michael20at commented
Hi, great gym environment!
As of now info provides x_pos and y_pos, but they are relative to the stage.
What would be quite usefull for reinforcement learning, object detection etc. would be Marios x and y position relative to the screen!
Hope this is possible to implement, thank you!
Christian Kauten commented
hmm, i'm sure it's possible, just need to look at the RAM map and put the calculation in place. I'll take a look at this later today when I get a chance.
michael20at commented
Great, looking forward to it, thanks!
Christian Kauten commented
added! y_pos
is already relative, but i've added x_pos_screen
for relative x position.