problem in my game

Get help using Construct 2

Post » Wed Apr 09, 2014 1:19 pm

Hi everyone
I made my game and at the first there was no any problem but after that there was a problem
the problem is at the first the game play as usual but after few minutes the fruits down terribly

here is my game please check it and if any one know how I fix it help me thanks
https: // w w w . dropbox . com/s/ euek02rpy6xz8nt/ New%20project.caproj
Last edited by roro on Wed Apr 09, 2014 2:08 pm, edited 1 time in total.
B
5
S
1
Posts: 47
Reputation: 525

Post » Wed Apr 09, 2014 1:23 pm

where? Please directly upload it, you can't link it at your rep level.
B
44
S
10
G
8
Posts: 437
Reputation: 6,468

Post » Wed Apr 09, 2014 2:02 pm

just break your url with a " "(space)
Please tag me with @caiorosisca if your post is refering to me :). I don't always follow the topics I answer.
B
11
S
4
G
1
Posts: 272
Reputation: 1,643

Post » Wed Apr 09, 2014 2:09 pm

oooooooo finally submit :)
direct upload need just 2 MB my project bigger I'll try to minimize it but still big
B
5
S
1
Posts: 47
Reputation: 525

Post » Wed Apr 09, 2014 2:19 pm

Please save your project as .capx.
.caproj files are uncompressed and do not includes the files that you have imported (like images). Makes it impossible for us to open your project file :(
B
44
S
10
G
8
Posts: 437
Reputation: 6,468

Post » Wed Apr 09, 2014 2:49 pm

sorry for late but until finished the upload
https :// w w w .dropbox.com/s/ndziqa7ywh7lihk/game.capx
B
5
S
1
Posts: 47
Reputation: 525

Post » Wed Apr 09, 2014 2:57 pm

I had a quick look and it seems that you are only destroying Sprite5, when you touch it with your smurf. So, if you miss it, it continues to fall down (even it is not on the layout).

I would suggest to add an additional event to destroy the Sprite when it has left the layout on the bottom screen. This should keep your game run fine.
B
44
S
10
G
8
Posts: 437
Reputation: 6,468

Post » Wed Apr 09, 2014 3:10 pm

when I add event sprite5 is outside the layout and action destroy
it only once time fall just don't still down other type of fruite
B
5
S
1
Posts: 47
Reputation: 525

Post » Wed Apr 09, 2014 3:16 pm

hehe, because you generate the sprite outside of the layout ;)

This will fix it:

Sprite5 compare Y value > 1280 (your layout height) -> Sprite 5 destroy

EDIT: To be clear, the one above instead of your "if outside layout" ;)
B
44
S
10
G
8
Posts: 437
Reputation: 6,468

Post » Wed Apr 09, 2014 3:27 pm

still the same problem :(
B
5
S
1
Posts: 47
Reputation: 525

Next

Return to How do I....?

Who is online

Users browsing this forum: No registered users and 27 guests