M
Motivating
Guest
Hello all, I've spent most time trying to figure this problem out with my first game I'm making. It's a simple vertical scroller game where the objective is to avoid the branches. Once you hit a branch the game is over. The piece of code i'm struggling with is when 10 branches go off the screen I want the vspeed of the background and branches (Left_Branch and Right_Branch) to increase to +1. Then after the speed increases after 10 branches I want the Vspeed to increase +1 after 15 branches etc. Here is a picture of the concept and how I'm setting up the code
Last edited by a moderator: