How do I stop the charakter from being moved

Get help using Construct 2

Post » Thu Apr 02, 2015 12:33 pm

Hey!

my Charakter is jumping when I touch on any random spott on the mobile device.. now I added an pause menu button, so when this button is touched the time Scale ist set to 0. But when I touch this button/sprite the charakter is jumping a little bit and then freezing in the air.. I dont want that the charakter is jumping when touching the pause button..


my second question is: I made an Score system.. every tick.. add 10 to score.. So when I press the pause button then the Score wont stop running.. is there a way to pause/stop the score?
B
11
S
2
Posts: 93
Reputation: 917

Post » Thu Apr 02, 2015 1:00 pm

I have a 3rd problem.. also with the moving! When I create through the System create objekt event an objekt like a box.. its moving with the charakter... but the box dont has any movement.. :(( I want that the box dont moves.. actually every new objekt is moving with the charakter and window.
B
11
S
2
Posts: 93
Reputation: 917

Post » Thu Apr 02, 2015 8:58 pm

#push
B
11
S
2
Posts: 93
Reputation: 917

Post » Fri Apr 03, 2015 12:00 am

1st problem: set acceleration and gravity to 0
2nd problem: alongside that every tick condition, add a condition testing a boolean value that only is triggered when paused, and invert it.
3rd problem: I don't know.
B
5
Posts: 16
Reputation: 259

Post » Fri Apr 03, 2015 12:28 pm

I fixxed the first bug, with variables.

still there is the score system problem. Is there an better way to create one? I need something that is going in simular steps, because it is a jump and run game.

to explain the 3rd problem better: I use for the charakter and the walls the bullet behaivor and the screen is moving with everything that is on it.. a little simular to the infinity jumper demo game for Construct2.. now I want that the objekt dont move.. because the charakter should dodge them.
B
11
S
2
Posts: 93
Reputation: 917

Post » Sat Apr 04, 2015 1:13 am

#push
B
11
S
2
Posts: 93
Reputation: 917


Post » Sat Apr 04, 2015 4:31 pm

My game is not like the demos! I just want that the boxes dont move together with the charakter!
B
11
S
2
Posts: 93
Reputation: 917

Post » Sat Apr 04, 2015 5:33 pm

Okey, solved the problems by my self... soo can be closed..
B
11
S
2
Posts: 93
Reputation: 917


Return to How do I....?

Who is online

Users browsing this forum: R0J0hound and 9 guests