YetAnotherSuperhero's Forum Posts

  • Where is the S plugin? I can't find it.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Can someone tell me how to use a seeded random?

    If I want to make a series of randomly placed nodes with a seeded random how would I go about that?

  • Whoops!

    I put the object in the wrong layer.

    I feel silly.

    Thanks! I'll get to work on this now.

  • So, I'm trying an Inheritance layer and game it a unique name and put that name in the field for another layer in another layout and nothing?

    Is there some trick?

  • Yeah, but I don't want to DESTROY them, I just have to or they carry to whatever other layouts you go to. And the reason I wanted to use global, is to keep down on the number of object. Otherwise I'd need a button object for the options layout, the store layout, etc. with a lot of GUI elements it'd get messy doing it that way.

    And this is a big project so I'd like to keep it as clean as possible.

  • I've got a Q,

    I'm making my own GUI, which will have things like slide bars and buttons etc. So a fare amount of code is needed to make them work. I was thinking I could do it with global objects and include an event sheet. BUT, they seem to carry over between layouts and if I destroy at the end of a layout they don't get re-created (I have an event to create them at start of layout in the right position.)

    If i made myself clear, does anybody have any tips or a better idea?

  • That's what I thought. Could this be a bug?

    I'll try it though.

    Thanks

  • Hey,

    I'm using a "condition expression" and it works perfectly but whenever I use the debug option this message pops up "Cannot test condition expression on a non-integer type. Operator had no effect."

    The code works correctly, but it's just a little annoying to deal with this every time I debug.

    Here's the code, if needed:

    Trail[CustomMovement].Speed<1000 ? Lerp(Trail.Width, 1, 10*TimeDelta):Lerp(Trail.Width, ((Min(Trail[CustomMovement].Speed/50, 30))*(Trail.Opacity/100)), 10*TimeDelta)[/code:qx10do8d]
    
    What's up?
  • Hey, So I've prototyped most of my game and am ready to get on with actually making it. NOW: There is one minor (i.e. Major) obstacle. My game is a spaceship game (2d elite) and I want AI ships going about their business, trading, fighting, etc. So how would I go about this for areas that the player is not in?

    I'm thinking a galactic view and a sector view. But if these were two layout how could I run them simultaneously? or is there a better way to go about this?

    Major thanks for any help.

  • Awesome! Thanks.

  • I found it.I found "Enable Scripting"

    Thanks!

  • I'm sorry, But I've even tried Set GlobalValue to Python(2+2) and I still can't get it to work.

    WHat am I doing wrong? Do I need to enable python?

    Thanks

  • Hmm... I must be doing something wrong...

    I put Python(INI.ItemString("1", "Formula")) as the expression of Set Text, but the text is just blank

    What am I doing wrong?

    P.S. Thanks!

  • I've asked this before, and just wondering if anyone had any new ideas, what with python and all: Is there a way I can have a math formula (For damage let's say) in a ini (That contains equipment) and use that in the game?

    If not straight through Construct how about python? (Which I know nothing about)

    Thanks for all.

  • Is there a way to include a font so it doesn't need to be installed?