Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
about Hardware Images and _DisplayOrder,Help!
#5
Heart 
Thank you all for your replies.

I carefully read the response from expert smcneil and basically understood the issue. What I'm doing indeed involves three layers. If all software elements are on the same layer, then the code truly cannot achieve what I want. Now I either need to:

Code: (Select All)

t& = _NewImage(800, 600, 32)
_Dest t&
Line (0, 0)-(799, 599), Peach, BF
board_hw& = _CopyImage(t&, 33)
_Dest 0
FreeImage t&
Or make the red square into a hardware image as well. Only then will it comply with the display order and requirements.

@smcneil Also, may I ask the expert about the wiki explanation of _DISPLAYORDER? Does it mean at most one software image layer and two hardware image layers? Because when I tried to set hardware2, I got a syntax error.

@740, I had been searching for a method to draw relatively clear Go stones and tried both raylib and svg approaches you mentioned. After studying related posts, I decided to use the svg method because raylib relies more on external libraries, and all drawing needs to use raylib functions, which is more complicated. Thank you for your articles.

Thank you again. This has been very helpful to me.
Reply


Messages In This Thread
RE: about Hardware Images and _DisplayOrder,Help! - by qbfans - 02-10-2026, 05:05 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Nth problem with hardware images Ikerkaz 9 506 01-23-2026, 02:58 PM
Last Post: bplus
  Hardware images questions Dav 5 478 12-04-2025, 04:18 PM
Last Post: Pete
  Hardware images...Talk to me! Unseen Machine 5 746 09-22-2025, 11:12 PM
Last Post: TempodiBasic
  Transparency with Hardware Images NakedApe 8 1,039 07-10-2025, 09:47 AM
Last Post: Pete
  How does QB64 support saving 8bit images? CMR 4 798 04-27-2025, 04:46 PM
Last Post: CMR

Forum Jump:


Users browsing this thread: 1 Guest(s)