Four Gravities

Show us your completed creations made in Construct 2

Post » Mon Jun 18, 2012 2:31 am

yesterday i was going to ask about creating four gravities (left,right,down,up) in how do i...section because i found some problems but i tried to re-try and see whats the problem in my capx and i think i found it and fixed it ^^

some of stuffs on the four gravities:

1) i used 2 (8-direction )and (bullet) behaviors on the player.

2)when you are on up,down gravities you can only use left,right arrow keys to move and if you want to move from up to down click "Z" .

3)when you are on left,down gravities you can only use up,down arrow keys to move and if you want to move from left to right click "Z".

4) if you want to change your gravity from up or down to left and right click "Z then X" or click "X".

5)while you clicked "Z" you can move a little .



ok last thing i wanna say that i'm going to use this technique in my (next next game) i hope someone need it too ^^


here is the capx. if you found any bug tell me so i can fix it later ^^

version 1 ( has some glitches)

version 2 (almost no bug or glitch)

version 3

in version 4 : flip fixed when you click "Z"
(4 gravities v4 (a) this made with variables )
(this made from blackhornet (thanks to him))



thanks for reading
by salem zsangerous2012-06-29 04:49:08
B
48
S
15
G
6
Posts: 795
Reputation: 12,035

Post » Mon Jun 18, 2012 3:21 am

nice concept a small glitch wen you change with x right before hitting a side wall u end up suspended in the air.
B
27
S
11
G
1
Posts: 246
Reputation: 5,048

Post » Mon Jun 18, 2012 4:28 am

@Erndog2k , thanks for using my capx and checking for glitches and bugs ^^ i wish you found more so i fix it ^^

the glitches is :
when i click x button while collision with wall i stick.
when i click z button and move to wall i stick.
i made 90degree wall instead of x button but still has some bugs.

so what happened? i have fixed all of these 3 problems i made that with some variables and collision sprite ^^

the downloads link will be in the main topic

so thanks again ^^
B
48
S
15
G
6
Posts: 795
Reputation: 12,035

Post » Mon Jun 18, 2012 12:48 pm

Interesting idea. Good luck!
B
19
S
6
G
4
Posts: 171
Reputation: 2,507

Post » Tue Jun 19, 2012 7:43 pm

Very nice idea ;]
B
38
S
8
G
3
Posts: 438
Reputation: 6,869

Post » Wed Jun 20, 2012 3:31 pm

new update on the example :
added some comments.
made when player travelling with slow speed when you click left or right.
made a wall that if you moved away from it you will move to your angle.

the download link in the main topic ^_^
B
48
S
15
G
6
Posts: 795
Reputation: 12,035

Post » Fri Jun 29, 2012 4:49 am

new update :
fixed flip bug
B
48
S
15
G
6
Posts: 795
Reputation: 12,035


Return to Completed Creations

Who is online

Users browsing this forum: ARBUZ, Yahoo [Bot] and 5 guests