Today was a very fruitful day. Learned a bunch of things. But not using tutorials. Since there were not enough tutorials covering stuff I wanted to achieve.
Apparently the camera has the light-adjusting thing. Like when you sit in the dark your eyes adjust to the darkness. Something like that is built-in within the camera. And that settings were like hidden and you won’t be able to find it anywhere. It was in character camera settings. Need to set min and max brightness to 1.
Press enter or click to view image in full size
Get Ochir Sanjaadorj’s stories in your inbox
Join Medium for free to get updates from this writer.
The character following background. It was not ideal that the moon repeats throughout the game. You should only have one moon. And probably things that far away shouldn’t exactly follow you. In order to fix that something should slightly follow you. That can be done something like this. Basically adding sprite that sets position X relative to the character. And we can have multiple different layers of sprites to set and let it follow slightly.
Press enter or click to view image in full size
Finally done some enemy, Enemy can patrol between points. And returns back if stuck. And can detect the player can cause damage. And dies when enough damage received. That’s just too much to type here but finally done that.
Fixed damage system within the player. When the player take damage, the player should be thrown back a little. But throwing back causes x velocity increases that makes animation sprite rotates. So rotating sprite when flipbook starts then reverts to normal after done..
Press enter or click to view image in full size
And probably lots of things I’ve forgotten already. But really enjoys unreal.