To find the percentage from the right side of the screen, we can use the formula:
Percentage from right side = (1 - placement / screen width) * 100
Given that Derek is multiplying the screen width by 0.8, this means the placement will be at 80% of the screen width.
So, the percentage from the right side of the screen would be:
(1 - 0.80) * 100 = 20%
Therefore, the placement will be at 20% from the right side of the screen.
Derek is placing a text-based dialog box in a specific location in the gameplay area. If he multiplies the screen. width variable by 0.8, the placement will be at what percentage from the right side of the screen?
1 answer