How do I-- get inventory pickups to show as collected?

Get help using Construct 2

Post » Sun Jan 11, 2015 5:14 pm

Getting a spelling game together--

Okay, I know how to get a score to show related to pick-ups but how do I get specific items to show they are collected when the player makes contact with them? Case in point--

Saturday Morning Cart_ _n_

Pick ups: o,o,s
B
17
S
6
G
2
Posts: 165
Reputation: 3,234

Post » Sun Jan 11, 2015 6:47 pm

Do you have an onscreen inventory box? Or a separate layout for inventory? Or a HUD to show items?

You could have an event such as "Event"= Player--> on collision with object (pick what item) "Action"= System--> Create Object (select the item, what layer you'd like to appear on and the X & Y position.

The easiest way is to place that item on your layout exactly where you would like it to show up (inventory, HUD). Then copy the co-ordinates (the X & Y) and use that as your X & Y co-ordinates in the "Action"= System--> Create Object dialogue box.
B
38
S
18
G
19
Posts: 664
Reputation: 14,112


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 19 guests