So I am making an endless runner and I am wondering, how would I make it, with blueprints, that after a certain distance, the track changes to a different style?
Second question,
How could I make some sort of boss spawn after a certain distance of running?
Last Question,
How could I make it so that the character gradually speeds up the longer he runs.
I am pretty new at unreal engine but any help using blueprints would be nice
Hi Kamil,
All three questions can be answered by keeping an integer that you increase every you enter a newly placed segment. Then if you would like to spawn a boss after x segments, you could do a modulus check on that integer to see if youโre there yet.
As for the speed: speed += speedIncrement * segmentNumber. This is the simplest approach that should get you started. Are you new to coding, or just UE4?
Thanks for the reply, I am new to coding in general, I have a lot of experience in modeling and textures rather than coding, I have always wanted to learn though. So ill mess around and try to do something similar to when my level spawns a turn like said, and I will see how it goes.