Woopop's Recent Forum Activity

  • You do not have permission to view this post

  • I see.. I will try to make one more position for each answer then and use it as a reaction, thank you!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Here it is.. It was from a multiple choice with 1 correct answer template. I removed the random mechanic and made it to just go to the next question normally, so ignore the random name. Also added a NEXT button between stages to show player stat changes if the answer was good or not. So I think after the player chooses and before they press NEXT, it would be great to show the reaction of that action.

  • Hello there!

    I have a question if it is possible. I have created a multiple choice game where the last ; is the correct answer. It is based on reading data from text file into array

    My question is: Is there a way that when someone chooses one of the answers, a different text appears based on what they chose, without creating a different array for the answers? I have made it choose your own adventure with different txt files as game paths so it would confuse me a lot.

    Like for example: Choosing answer 3- Handshake;You give a firm handshake# ... So when the player chooses that, it will write as answer on the same text box: You give a firm handshake.

    Is there a way to code it this way with symbols from within the text somehow? Like the ; which symbolizes the end of the sentence. So if you put for example a symbol like #, from ; to # it would be the "You give a firm handshake." answer.

    Thank you for reading!

  • You do not have permission to view this post

  • I did: textbox-set css style outline-black

    and it worked exactly as I wanted it to. Thank you for everything! :)

  • Oh I see, this is much easier, thanks!

    I managed to style it my own way but the only thing that bothers me is that when I click on the textbox, the blue outline appears on the border making it look bad. Is there a way for the blue outline to become invisible, or at least black?

  • I saw a tutorial on how to add custom style on a TextBox in construct 2. the guy there took a name that the CSS had and put it as the ID, so that the TextBox looked and worked graphically like the CSS. But this one is more complex so I don't know exactly which ID it is.

    Here is the tutorial: youtube.com/watch v=-pdvGaglxFM

    (I added a SPACE on v= because it wasn't accepting the link.)

    I don't want it for a button though, but a textbox. The same principal should work though, right? just find the correct name from the CSS and add it to the ID area of the TextBox. This CSS is basically just an area to write, but looks really cool and i customized it in a program online.

  • I have this file and I want to know what to add on my TextBox ID. I watched a tutorial about it but this one is different so I am not sure. I tried a few things and it didn't work. Here is the code:

    body {

    background-color: #000000;

    font-family: "Arial", sans-serif;

    font-size: 40px;

    color: #00FF00;

    }

    #hiddenInput {

    font-size: 40px;

    font-family: "Arial", sans-serif;

    background-color: #808080;

    position: absolute;

    opacity: 0.4;

    margin-top: -22px;

    margin-left: -125px;

    opacity: 0;

    filter: alpha(opacity = 0);

    }

    #container {

    position: absolute;

    top: 80px;

    left: 50%;

    }

    #input {

    position: absolute;

    margin-top: -20px;

    margin-left: -120px;

    }

    .letterContainer {

    display: inline;

    white-space: nowrap;

    }

    .letterStatic {

    display: inline;

    }

    .letterAnimTop {

    display: inline;

    position: absolute;

    -webkit-animation: dropTop 0.1s ease;

    -moz-animation: dropTop 0.1s ease;

    }

    .letterAnimBottom {

    display: inline;

    position: absolute;

    -webkit-animation: dropBottom 0.1s ease;

    -moz-animation: dropBottom 0.1s ease;

    }

    .blink {

    position: static;

    top: -5px;

    -webkit-animation: blink 0.3s ease 0 infinite alternate;

    -moz-animation: blink 0.3s ease 0 infinite alternate;

    }

    blink {

    from {

    opacity: 0;

    }

    to {

    opactiy: 1;

    }

    }

    blink {

    from {

    opacity: 0;

    }

    to {

    opactiy: 1;

    }

    }

    dropTop {

    from {

    -moz-transform: translateX(0) translateY(-20px) translateZ(20px)

    rotateX(90deg);

    transform: translateX(0) translateY(-20px) translateZ(20px) rotateX(90deg);

    }

    to {

    -moz-transform: translateX(0) translateY(0) translateZ(0) rotateX(0deg);

    transform: translateX(0) translateY(0) translateZ(0) rotateX(0deg);

    }

    }

    dropBottom {

    from {

    -moz-transform: translateY(20px) translateZ(20px) rotateX(-90deg);

    transform: translateY(20px) translateZ(20px) rotateX(-90deg);

    }

    to {

    -moz-transform: rotateX(0deg);

    transform: rotateX(0deg);

    }

    }

    dropTop {

    from {

    -webkit-transform: translateX(0) translateY(-20px) translateZ(20px)

    rotateX(90deg);

    }

    to {

    -webkit-transform: translateX(0) translateY(0) translateZ(0) rotateX(0deg);

    }

    }

    dropBottom {

    from {

    -webkit-transform: translateY(20px) translateZ(20px) rotateX(-90deg);

    }

    to {

    -webkit-transform: rotateX(0deg);

    }

  • You do not have permission to view this post

  • I understand better now. Thank you for everything I will attempt to work towards it and reach my goal!

  • Oh I just noticed that it had 5 answers and the last was the correct. Too many new things to learn haha

    The second part about the answers confuses me a bit unfortunately since I do want different thing for each one. Could you give me an example of how it would be with the following question (and where to add the custom text answer for each one), so that I can understand better please?

    What weapon will you use?;

    Pillow; -2 health

    Knife; +1 strength

    Sand; +1 intelligence

    Feather; -3 health

    Knife;

Woopop's avatar

Woopop

Member since 6 Nov, 2018

None one is following Woopop yet!

Trophy Case

  • 6-Year Club
  • Email Verified

Progress

7/44
How to earn trophies