Need Help With Scene Issue!! I just cant figure it out
I'm trying to make the scene's width, increase by the amount of pixels, my actor passes across the X-axis related to the scene's startpoint + an extra 300 or 400. while in run runtime.
The problem is that i dont know how to set in commands for changing the scenes attributes. and i was hoping this community could help me getting it working.
Note: Im kinda new to this coding and programming stuff. So if possible, please leave a detailed explanation in the comments.
I've tried doing something like this:
- Make a game interger for the scene X and Y size
- Make a game interger for the actors X and Y position
- control camera
- timer --> every 1 second:
change attribute "game.actorsNewX" --> self.position.X
change attribute "game.actorsNewY" --> self.position.Y
change attribute "game.scenesNewX" --> (self.position.X+350)
change attribute "game.scenesNewY" --> (self.position.Y+200)<
Heres where i cant go any further. My plan was to:
Make a timer for the scene:
-timer --> every 1 second:
change attribute "scene.width" --> "game.scenesNewX"
change attribute "scene.height" --> "game.scenesNewY"