Simple minimap using a texture?
Hi folks, alt text I'm trying to make a simple minimap that changes postion of a marker on a texture map when I press a key. I'd like to bind the movement to one of four keys - up, down, left and right and I need it to go off of one side of the map and wrap around. See below.
I don't want to do a realtime top down render of the scene and my character isn't actually moving physically around the scene. I had started to use Blueprint to shift my marker using the uv's of the texture map of the marker on key press but I couldn't get it to add the position of the U + V together.
Any ideas on how I sould take this would be appreciated.
asked Oct 03 '17 at 02:37 PM in Blueprint Scripting
This is a different approach that purely looks at UMG and the active camera transform.
New Vector var: 'TopLeftWorldCoordinate' x -600, y -600, z 0.
New Vector var: 'BottomRightWorldCoordinate' x -200, y -200, z 0.
Note the location image size should be 32x32 for the offset of 16.
answered Jan 22 '19 at 12:12 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here