Rendering Questions

I’m using EO 3.0

Just curious, how would I go about rendering a png file in VB6, over the picscreen, and then have buttons over that rendered png without having the buttons be behind the rendered jpeg.

Also, how would I go about getting pictureboxes to be in front of the picscreen.

The same way the player is drawn to the screen, you just render the texture you want to the required x and y coordinates and then depth sort it in your code so that the objects you want bellow the button are rendered first.

  1. Make a texture or a texture array. Then load the texture onto memory. Then just like normal render it. It is almost similar to DX7 but just a few lines of code change.

  2. Add it onto the picScreen

Log in to reply