Added level editing tool to fine-tune camera behaviour
I can now from the level editor adjust the camera’s offset! This is useful for sections in levels where you are moving up / down, and you need to see where you are going. This is done in the level editor with invisible special tiles, but that ive made visible for the devlog to explain.
The camera offsetting tiles utilise the special number tiles that i had created a long time ago for specifying enemies’ attack delays. I had purposefully made that number tile system modular to make future level editing tools like this easier to implement, which really payed off now :>
Log in to leave a comment
Comments
this is really cool, altho maybe you could replace this camera control system with something more automatic. i remember making a geometry dash clone where i just had like the camera try to have the player centered at all times but it was kinda smoothed, i think this is kinda like what you’re trying to accomplish here.
i just had like a buffer zone where the player could move and once the player touched a certain area in the top part of the screen the camera would slowly move up/down depending on where the player was
oh, sl4shed, that is exactly how it works, this is just an addition to that system! the camera already has a system that tries to center the player (with a buffer zone), but this system is only reactionary, and sometimes i need to proactively move the camera upwards by some offset, like when youre travelling upwards and i want the player to see where youre going

