DjSt3rios Posted December 1, 2011 Posted December 1, 2011 Hello guys. I have a small problem, I created an image with guiCreateStaticImage, and then I used dxDrawImage to draw an image on the other image, but the second image is not visible... I tried to use guiMovetoBack function, but didn't work. Any idea?
Castillo Posted December 1, 2011 Posted December 1, 2011 (edited) dxDrawImage last argument is "postGUI", set it to true. Edited December 1, 2011 by Guest
DjSt3rios Posted December 1, 2011 Author Posted December 1, 2011 I tried, but nothing. Even it if it is true, or it's false, same thing, it's behind my GUI
DjSt3rios Posted December 1, 2011 Author Posted December 1, 2011 ok so I got a speedometer, and here is the DxDrawImage code: dxDrawImage(150, 800, g_ImageW, g_ImageH, "needle1.png", rpm/30, 0, 0, white, true) I also tried to use guiSetProperty and set X or Y or Z Rotation to it, but didn't work at all...(co i could use GuiCreateStaticImage instead of dxDrawImage)
Castillo Posted December 1, 2011 Posted December 1, 2011 Why don't you use dxDrawImage for the rest of the speedometer too? instead of guiCreateStaticImage.
DjSt3rios Posted December 1, 2011 Author Posted December 1, 2011 Hmmm, I will try. I will let you know if I fix it.
Castillo Posted December 1, 2011 Posted December 1, 2011 See? you was able to do it, maybe you needed some more motivation . You're welcome
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now