discoverthecurse's Forum Posts

  • I created a small CC demo for a class I am teaching on construct classic and for a game I am going to create in C2. I was just wondering if there was any way to embed a CC game in a webpage so i can have it playable in browser? I know you can in C2 but i want to post the demo on my site for people to give feedback on.

    Thanks

  • Thanks R0J0. that was a really easy and quick fix

  • I am making a small demo rpg to show some people the construct engine and i have it set up so that there are several tooltips that pop up depending on where the player is standing. so far i have 2 triggers set up:

    player is overlapping object 1

    ---set tooltip text to "blah blah blah"

    else

    ---set tooltip text to ""

    player is overlapping object 2

    ---set tooltip text to "blah blah blah 2"

    else

    ---set tooltip text to ""

    when I set up the first one it worked fine, when i set up the second one it worked fine but it broke the first one because only the second one shows the text. im guessing there is some kind of conflict where it is bypassing the first one altogether so is there some kind of extra trigger or something i need to put in before i can add more tooltips? thanks for the help in advance.

  • i looked into that but since i only have three values that i need for this particular array i didnt think i really needed to go that far. all i need is

    (0, 0, 0): Easy

    (1, 0, 0): Normal

    (2, 0, 0): Hard

    Then i need one custom sprite button that starts on "Difficulty: Easy"

    click once: "Difficulty: Normal"

    click again: "Difficulty: Hard"

    click one more time: "Difficulty: Easy"

    and it loops that way.

    pretty much the exact same system that Minecraft uses excluding a "peaceful" mode.

    Im not entirely familiar with the rules here at the scirra forums but i dont suppose I can request that someone makes an example .capx (compatible with r173 and no external plugins) that has this system setup for me so i can transfer it to mine. As long as its not imposing and they have the time? as simple as possible yet still able to be customized and configured to adapt to another scenario if i run into this problem in the future.

    thanks in advance and thanks for the help from everyone so far.

  • im thinking im just going to revisit this aspect at a later time..

  • i really appreciate all your help. im sure im being difficult XD

  • alright. i did that, then debugged the layout and realized it isn't even toggling the state of my instance variables haha

  • do you just use events to set the values of the array?

  • i have that for the setting the state. Im talking about setting the text, the screenshot is for the text portion

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • so i set everything up as far as i knew how to, then i got a syntax error right here

  • Alright cool cool. Ill have to give that a try and see what happens, thanks!

  • so its going to start out on 0, then you click and it goes to 1. then 2. and then if you click again it will see 3 and decide to go back to 0 right?

  • No there is only gonna be the 3 difficulties. Can you explain the wrap around operation?

  • codah Awesome thank you so much! that finally got it haha.

    Now.... I just need to know how to make a difficulty button with the same behavior that has 3 options (easy, normal, hard) any ideas?

    (and on a side note. is there an easier, more efficient way to simulate text shadow? i have just been using duplicate text objects with a different font color offset by a few pixels but it is becoming a little tedious to add double the events and objects and what not)

  • codah I have tried instance variables, object variables and family variables and none of them will show up under the "toggle boolean" action dialog box. I don't get it. It keeps saying I need to add an instance variable first. I am beginning to think the copy of construct is damaged or something.