Dialogs & Random Spots

Get help using Construct 2

Post » Sun Apr 22, 2012 4:35 am

Hello, First of all.

Thanks for Sharing your time and read this How do I's.

I'm trying to first find some random spots on the "Game-Screen" Since its a moving-forward game the enemies should spawn randomnly but in "on-screen points", and then after reaching a point i'm trying to stop and start a Cinematic/ some dialogs thing, like "Hey what are you doing here" and then keep on with the Game.

Any Suggestions on how can i do this?
B
7
Posts: 5
Reputation: 423

Post » Sun Apr 22, 2012 12:49 pm

Use System expression random(a, b) for the object's axis.
ImageImage
B
25
S
6
G
8
Posts: 773
Reputation: 6,643

Post » Sun Apr 22, 2012 5:45 pm

But if i do like X= Random(1,200) some values might fo outside the Screen, the idea is getting Coordinates of the screen so i can use them...
B
7
Posts: 5
Reputation: 423

Post » Mon Apr 23, 2012 2:29 am

I've made you an example.
ImageImage
B
25
S
6
G
8
Posts: 773
Reputation: 6,643

Post » Tue Apr 24, 2012 11:24 pm

Thanks alot! it was very helpful!
B
7
Posts: 5
Reputation: 423


Return to How do I....?

Who is online

Users browsing this forum: DemantDigitalArt, mjj1990 and 7 guests