I'm using construct 3 free edition and i don't have too many events to use. My game have a camera that go up with the player but never go down. If the player go down the camera won't I need to do this in just one event if its possible
Here is how i did before:
Here is my beta game if you need to know better how the camera works
https://www.construct.net/en/free-online-games/mommys-adventure-47099/play
Evaluate whether certain segment of elevation has passes so the camera view start to scroll into segment beyond. It is possible if you utilizing ternary operator (with little effort yet more expressive!):
dropbox.com/s/fudwcc11w1xn9lb/moving_up.capx
Develop games in your browser. Powerful, performant & highly capable.
alextro Dude TYSM i didn't know i could use ternary operator, you're such a genius now i can use this in all my eventsheet and use less events and the camera controll you give me its just amazing thanks bro :)
Sure make something works as efficient as possible is always a challenge for me. Lot of things can be pulled out of expression.