How do I get the player drunk

Get help using Construct 2

Post » Thu Oct 22, 2015 11:39 pm

I thought id play around with the effects today and thought id create a quick silly game where you have to drink as much as you can before passing out. the difficulty would increase as you drink the alcohol resulting the screen to start disorting more and more until you dont know which way is up. I didn't really find a simple solution to just give a code of something like on collission with beerbtl, add 5 to effect warp. or something along the lines.. How would i go about this?
B
7
S
1
Posts: 93
Reputation: 632

Post » Fri Oct 23, 2015 12:35 am

wow
B
7
S
1
Posts: 20
Reputation: 415

Post » Fri Oct 23, 2015 5:03 am

Exactly as you wrote.
Set up your scene, put the player and the bottles on the same layer, give the layer the effect pulse (most realistic drunk effect XD) with intensity 0.
On the events sheet create a global variable called "drunk" and two events like this:
every tick->layer effect parameter to variable "drunk"
player on collision with bottle-> add 5 to variable "drunk"

Done. ^^
B
20
S
7
G
2
Posts: 58
Reputation: 1,974

Post » Mon Nov 02, 2015 6:52 pm

Thanks, got the job done :) Didn't really seem to understand how the parameters should be set initially, but this cleared it up.
B
7
S
1
Posts: 93
Reputation: 632

Post » Wed Nov 04, 2015 2:05 am

Malt liquor.
Image
B
12
S
2
Posts: 91
Reputation: 862

Post » Wed Nov 04, 2015 9:59 am

Lord of the Rings Online does this very well. They not only add the screen distortion, and blurriness, and color fade they go one step further to make your camera controls less responsive so your avatar can't be kept in center of screen easily.

The Shire pub crawl during festivals where you have to hit all the pubs in the shire and drink in a certain time frame is hilarious by the time you get to home stretch.
Check out my completed games on the Arcade! Capt. Doe Save the Universe! & Clicker Wizard!
B
68
S
17
G
8
Posts: 637
Reputation: 9,420


Return to How do I....?

Who is online

Users browsing this forum: 25games, Ashley, Bootfit, mcscooter, TRMG and 25 guests