castorncage's Recent Forum Activity

  • When you return to layout 1 are you given the same options but the door is now open? You can give the 'Strange Door' button a variable which changes when the door is unlocked, if var=0 then go to layout 2, if var=1 then go to layout 3.

    Yes, when you return to Layout 1 after entering the code, I want it to be exactly the same as before (same buttons/options and same artwork). The only thing I want to change is the destination of clicking "Strange Door."

    I sort of understand your solution. Let me see if I can figure out how to do that. Using your example, I'd want this variable to be permanently var=1 once the code is entered and never revert back to var=0. Will Construct allow that?

  • Sorry, I had no idea how to word that title question. Here's the situation, which I hope makes things clear.

    I have a point and click game that requires entering passwords. I've attached an example of three different layouts below.

    1. Player clicks "Strange Door"-->

    2. Door is Locked, Text Input for Passcode-->

    3. Door is Unlocked (passcode was successful).

    This work's beautifully. However, there is backtracking my game, and as of now, players have to re-enter the passcode each time they move through the door. I'm trying to avoid that. I want Layout 1 to link directly to Layout 3 (and skip Layout 2 completely) once the Layout 2 passcode was entered successfully.

    If you're still reading...thank you! Here's what I've tried so far.

    I've dabbled with "Destroying" the Strange Door button when the code is entered, and creating an identical button that links to Layout 3. I've also tried visible/invisible settings.

    The problem I'm realizing is that because the code is entered on Layout 2, it can't effect a Layout 1 object unless I make that Object Global, but then when it's global it appears and interferes on other Layouts.

    Maybe I'm overlooking something above, maybe I need to learn about behaviors and instances, which I really don't understand, but willing to learn if you point me in the right direction.

    Any help is greatly appreciated!

  • Just to follow-up, I did some research and ended up using Sprites + Font (in photoshop) and used them as buttons. Absolutely love it, so although it takes extra time to learn and crank each button out manually, it completely solves the problem and allows tons of customization in the future. Thanks again!

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Thanks to both of you. This is all new to me and I thought buttons would be the easiest aspect of my game! Boy was I wrong. There's definitely a meme in this.

    I'd be interested if you knew of a good tutorial on how to create a sprite button. I'd like there to be hover state, but simple animations would be good, too. I'll be researching myself in the meantime, just wondering if there's any one you'd recommend. Thanks!

  • I'm new to Construct, but have been searching without luck for an answer.

    How do I "lock" button sizes and fonts when the screen is re-sized? On full-screen, the buttons are perfect. In different window sizes, it's all over the place and looks terrible (see photos).

    I'm not sure if it's a button issue or a layout issue or what, so any help to fix this would be greatly appreciated. I was reading a bit about sprite buttons, but would rather not go down that road.

    Thank you!

  • You do not have permission to view this post

castorncage's avatar

castorncage

Member since 14 Sep, 2021

None one is following castorncage yet!

Trophy Case

  • 3-Year Club
  • RTFM Read the fabulous manual
  • Email Verified

Progress

5/44
How to earn trophies