I'm working on an avoidance-style game where the player can only move the character horizontally, and the game is always moving vertically. How do I make the vertical scrolling faster? What are the exact steps?
You must use Force Movement,if you click on your world, you will see some settings, down in that settings area you will see Add Component, then add Force Movement,play with it and see what it's going on.
Scene speed increase by point or distance like T_rex dino game like Chrome. How it will be implemented?
Thank You for reply. I already tried this too many times but it will not effective for T-Rex like game scene speed.
I am working on a game based on the twisted road template, it uses the path move node, I would like to increase the speed of the character after a couple seconds, how can I do that?
Use the new Path Move node and replace this code: Code: function update(dt) { if (!enabled) return; with: Code: function update(dt) { speed=speed+10*dt; if (!enabled) return; if(speed>30){ speed=30; } this.scene().setSpeed(speed); 10 is the acceleration - 10m/s^2 30 is the max speed - 30m/s replace with the value that you want.
Thanks, but now I had to decrease the speed from 10 to 1 and increase the acceleration by 2, or it is way too fast, which is not much of a problem, however I am not able to move the character side to side anymore, only the trails moves and the character remains in the center of the path
Yes, I wrote "replace with the value that you want." For moving side to side use the attribute "Position On Path", -1 for one and 1 for another one, or whatever position you want.
@Smart Penguins Some help with this would be awesome. I tried this using this code as you specified above function update(dt) { speed=speed+10*dt; if (!enabled) return; if(speed>30){ speed=30; } this.scene().setSpeed(speed); but my character went all over the place.... I tried putting the last line in place of a similar line under function signal ()... same results.... Save me!