Code-based door lock

Get help using Construct 2

Post » Mon Mar 04, 2013 7:17 pm

Digging deeper into Construct 2 to get some more puzzles in the point and click game I'm working on. I ran into a speedbump with implementing a letter-based lock for a door. Basically, I want a few small displays that show one letter at a time. Players can click a button/arrow to cycle through the alphabet in order, set the correct code, and unlock the door.

I've made smaller puzzles like this before, but it's easy to switch a few objects or sprites around when you're only working with a handful of symbols. With the entire alphabet, though, it's a different story.

Any suggestions on how to progress? I'm studying up on arrays now, but so far haven't seen much info about simply retrieving a static list and displaying it on the screen.
B
7
S
1
Posts: 8
Reputation: 720

Post » Mon Mar 04, 2013 7:28 pm

mazn, check out the slot machine example:
http://www.scirra.com/arcade/example/1311/slot-machine-like-effect

peaz

B
18
S
5
G
4
Posts: 568
Reputation: 5,079

Post » Mon Mar 04, 2013 8:43 pm

Ooh, good starting place. The solution used is a lot like the one I used for an earlier puzzle, but a little neater.
B
7
S
1
Posts: 8
Reputation: 720


Return to How do I....?

Who is online

Users browsing this forum: spcsmrf and 23 guests