Home Game Development How to resolve this query? – C++

How to resolve this query? – C++

0
How to resolve this query? – C++

[ad_1]

When the scale of the sport scene exceeds the scale of the display, when the protagonist strikes to the fitting, the scene may even transfer to the fitting.
Suppose a button is added within the decrease proper nook of the display. When the protagonist strikes to the fitting, the button begins to maneuver to the left.
If you wish to make sure that this button is all the time within the decrease proper nook, what do you have to do?

You most likely shouldn’t be shifting the scene, however somewhat a separate layer within the scene.

It could be extra like this hierarchy:

Scene
  | - Menu Layer
  | - Game Layer

When Game Layer strikes, it gained’t have an effect on Menu Layer.

[ad_2]

LEAVE A REPLY

Please enter your comment!
Please enter your name here