How to bring an image to front

BlitzMax Forums/BlitzMax Beginners Area/How to bring an image to front

Oxcom(Posted 2006) [#1]
Hello !

I bought Blitzmax for a few days and since 20 years ago I start to learn programming again. Now I begin to write a frogger clone and here is my first question:

I have some different images drawn and moving on the screen. The players image should be always on top but in my case all other objects are hiding the players image during a collision. How can I bring the players image always to front ?

Greetz !

Oxcom


SpaceCowboy(Posted 2006) [#2]
Draw the player image last.. after everything else, but before the Flip of course. :)

Images appear from back to front, in the order you draw them.


Oxcom(Posted 2006) [#3]
Wow ... 24 minutes response time ! :-) What a great support ! Thanks a lot Nyarla ! Now it works.

Cheers ... Oxcom