I have attached one of the models that is being inverted
I am trying to give my skyroads clone a pixely look so i am rendering to a screen image, then copying the area i want to scale up into the image used by a sprite that is scaled up by two.
Most of that is irrelevant because the problem is it appears that the depth has been inverted. One thing that is different to the way i have used RenderToImage() before is that the inverted
objects are all objects with children so i have used LoadObjectWithChildren() to create the shapes.
LOW REZ
HI REZ
This is my rezup code
canvas - The sprite that is scaled up x 2 (512x320)
screen - the renderrtoimage (1024x640)
lowrez - The image that is cut from the screen (512, 320)
function RezUp(screen as integer, canvas as integer, lowrez as integer)
SetSpriteVisible(canvas, 0)
SetRenderToImage(screen, 0)
render()
SetRenderToScreen()
ClearScreen()
DeleteImage(lowrez)
lowrez = CopyImage(screen, 256, 200, 512, 320)
SetSpriteImage(canvas, lowrez)
SetSpriteVisible(canvas, 1)
endfunction