Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
I can't get over this...
#1
What I'm shooting for is a way to get the hardware image UNDER the text. So far, even with the _DISPLAY order statement, no luck.

Code: (Select All)
Screen 0, 0, 0, 0
Width 80, 42
Palette 5, 63
Cls
_Delay .1
_ScreenMove 0, 0
_DisplayOrder  _Software, _Hardware ' Reversing this order just eliminates the hardware image.
Overlay = _NewImage(_Width * _FontWidth, _Height * _FontHeight, 32)
x% = 7 * 16: y% = 3 * 8
_Dest Overlay
_Display

img& = _LoadImage("activate-static.png", 32)
_PutImage (x%, y%), img&
Overlay_Hardware = _CopyImage(Overlay, 33)
_PutImage (0, 0), Overlay_Hardware
_Dest 0
Color 0, 5
Locate 3, 10, 1, 7, 30
Print "sakf sfkj safjsf sfjsf";
_Display
Sleep

[Image: activate-static.png]  Right click image and "Save As" to your local QB64PE folder to test.

Pete
Reply


Messages In This Thread
I can't get over this... - by Pete - 03-07-2024, 10:57 PM
RE: I can't get over this... - by SMcNeill - 03-07-2024, 11:23 PM
RE: I can't get over this... - by Kernelpanic - 03-07-2024, 11:36 PM
RE: I can't get over this... - by SMcNeill - 03-08-2024, 12:16 AM
RE: I can't get over this... - by Pete - 03-07-2024, 11:44 PM
RE: I can't get over this... - by Pete - 03-08-2024, 01:30 AM
RE: I can't get over this... - by SMcNeill - 03-08-2024, 01:49 AM
RE: I can't get over this... - by Pete - 03-08-2024, 02:12 AM



Users browsing this thread: 1 Guest(s)