Wave game?

Just started using Construct 2? Post your questions here

Post » Thu Mar 16, 2017 3:49 pm

So i been trying to find out how to make a wave game(If u dont know what it is, its the same concept as the wave in Geometry Dash).The way i have approach this is by changing the gravity every time a key is pressed but it doesent work every time and its not smooth.Soo if enyone has any idea on how to make it pls reply it would be much appreciated
B
3
Posts: 3
Reputation: 181

Post » Thu Mar 16, 2017 5:13 pm

I would use two bullet behaviors - One with a constant speed to go "forward", and the other with acceleration that can be flipped from up to down on trigger by multiplying the acceleration by -1.

Edit: Looks like you can't have a negative speed for bullet, let me try and see if there is a better way.
Last edited by oosyrag on Thu Mar 16, 2017 5:26 pm, edited 3 times in total.
Mistakes were made.
B
53
S
27
G
114
Posts: 1,699
Reputation: 64,446

Post » Thu Mar 16, 2017 5:18 pm

you may want to try bullet for one. the other one you should try the physics option
B
4
Posts: 4
Reputation: 189

Post » Thu Mar 16, 2017 5:45 pm

Mistakes were made.
B
53
S
27
G
114
Posts: 1,699
Reputation: 64,446

Post » Thu Mar 16, 2017 11:57 pm

By wave game do you mean an ever runner game?

I just tried Geometry Dash on scratch and I don't see any complicated stuff.

Looks like they are using phyics for the player and just giving it an impulse for jump.
Banned User
B
28
S
7
G
58
Posts: 1,229
Reputation: 34,825

Post » Fri Mar 17, 2017 2:33 pm

Message: Adoniis can only post plain text URLS until they have 500 rep. 1 URLS modified. Why?
lamar wrote:By wave game do you mean an ever runner game?

I just tried Geometry Dash on scratch and I don't see any complicated stuff.

Looks like they are using phyics for the player and just giving it an impulse for jump.

this is a scratch projects that shows what i want to achieve: https://scratch.mit.edu/projects/112528773/
that oh1o kid wrote:you may want to try bullet for one. the other one you should try the physics option

thnx for the help!
oosyrag wrote:https://www.dropbox.com/s/nnum3gjijor3pe8/wavemotion.capx?dl=0

and thnx for the help aswell!
B
3
Posts: 3
Reputation: 181

Post » Fri Mar 17, 2017 4:22 pm

Mistakes were made.
B
53
S
27
G
114
Posts: 1,699
Reputation: 64,446

Post » Fri Mar 17, 2017 5:43 pm

Use this addon
Image
B
29
S
15
G
12
Posts: 312
Reputation: 9,662

Post » Fri Mar 17, 2017 5:43 pm

Image
B
29
S
15
G
12
Posts: 312
Reputation: 9,662

Post » Sat Mar 18, 2017 11:03 am

Message: Adoniis can only post plain text URLS until they have 500 rep. 1 URLS modified. Why?
oosyrag wrote:Simpler! Like this - https://www.dropbox.com/s/xgjosyhvwcfwc ... .capx?dl=0

thnx if works fine!
LaurenceBedford wrote:https://www.scirra.com/forum/behavior-rex-spline_t178563

okk I'll check it out
B
3
Posts: 3
Reputation: 181

Next

Return to Beginner's Questions

Who is online

Users browsing this forum: No registered users and 3 guests