Compound screen with images on transparent backgrounds (case 35328)
Compound screen with images on transparent backgrounds (case 35328)
I’m trying to create a compound screen with a red dot on a transparent background covering another image. Is this possible? The dot keeps appearing on a black background that covers the other image. From my understanding DirectRT doesn't support transparency? The only other option I can think of is to crop the dot from the transparent background to create a separate image, but I need to randomize both the location and size of the dot that appears on the screen so I was going to create a list with different variations of locations/sizes on transparent backgrounds. I’m not sure how I would do this with the cropped dot in different locations, as by my understanding, you need to type the location of the image right into the excel file. Any advice? Thanks.
Check out the section from the DirectRT user's guide on "Using Random Values" or online here: http://www.empirisoft.com/directrt/h...dom_values.htm
Since you do not want overlapping, you may wish to limit the random locations to specific values. You can do this by specifying an explicit list of x,y values to choose from or by specifying defined ranges from which to pick the values.
example of location value:
rand(100-500),rand(200,800),0
which could produce, e.g., 343,655,0 as a LOC value.
or
rand(100,200,350),rand(200,300,800),0
which could produce, e.g., 200,800,0 as a LOC value.