It looks like you're new here. If you want to get involved, click one of these buttons!
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:
Actor commands:
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"
Comments
To access scene variables you must unlock an actor on the scene. Now do the coding in the actor on scene and you will see the scene variables.
Guru Video Channel | Lost Oasis Games | FRYING BACON STUDIOS
I did already, all the commands are inside the "instance" actor. I made it so the scene is supposed to grow in width every 1 second. but when i previews the game it doesnt grow at all.
Scene might be growing but your camera might not let you be seeing it in the preview, might need to change the camera size too
Its confirmed that you cant change scene size during runtime
What would changing the scene size look like to the player ?