Tumba's Recent Forum Activity

  • The first suggestion was the one I started with in the first place. It didnt work, as all seemed to pin to first hero. I can try it again, but Im quite sure I didnt work the first time.

    The extra position is unnecessary, I know, but it was there to show that I try to enforce the position in several ways without success.

    Ill try suggestion 1 again, and then Ill just try to maybe move the text to hero and then pin...

    Ill let you know how it went....

    Btw, if I wanted to share the capx on the forum, how would I do that?

  • No frames, just a plain image.

    Still experimenting with basics...

    I'd be thrilled to share the capx on the forum, if I knew how to share it here? Link to some ftp server?

  • Hi, I have the following problem.

    I've go an unspecific amount of hero objects in a "Heroes" Family.

    I randomly create an unspecific amount of heroes, neatly standing in a line.

    All good so far.

    Every time a Hero is created, a nametag is created for that hero.

    That name tag is then pinned and positioned to the hero just created.

    The pinning works nicely. When I move a hero by mouse down, the name folows nicely.

    BUT! When the nametag is created it doesn't position itself correctly at heroes imagepoint 1.

    When created, the first nametag appears about x + 100, y + 100 from the hero, the second about x + 200, y + 200 , the third about x + 300, y + 300 , and so on. The numbers are just an aprox-guess and are there to give you an idea of my problem. (but might have something to do with the way I create the heroes, see below...)

    I assume I do something wrong but cannot understand what...

    Example with 3 heroes:

    +System -> On start of layout

    System -> Create object Heroes on layer 0 at (LayoutCenter.X -100, LayoutCenter.Y -100)

    System -> Create object Heroes on layer 0 at (Heroes.X + 60,Heroes.Y)

    System -> Create object Heroes on layer 0 at (Heroes.X + 60,Heroes.Y)

    +Heroes -> On created

    System -> Create object txtName on layer 1 (Heroes.X, Heroes.Y)

    txtName -> Pin Pin to Heroes(Position & angle)

    txtName -> Set position to Heroes(image point 1)

    Works fine, but the position is wrong for some reason...

  • Well, the layer not turning Invisible problem still remains.

    I think I'm misunderstanding the concept of layers and what they can be used for.

    I thought that I could just put some menu items on a layer and turn them visible or invisible by altering the layer visibility.

    Seems that it doesn't work that way.

    I'll just have to do it with object visibility directly then.

    Thanks for the help anyway.

    The link I got had a lot of good other advice how to create a title screen. So it was a great link!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I have a Simple problem with C3.

    C2, sorry.

  • Hi, I'm a nood to C2.

    Done a lot of HTML in my time.

    With Notepad, not with those fancy Editors others use...

    I have a Simple problem with C3.

    I'm tryin to do menubutton, clicking of which displays a menu.

    Rather simple (should be)...

    I'm trying to do it like I would in HTML with divs, but using layers instead.

    I have a layout with the menu sprite (ShowMenu) on layer 2 and the menu options (sprites) on layer 3.

    My layer 3 has it's visibility set to Invisible and the buttons on it are set to Visible.

    What I'm trying to do is:

    Click on sprite to make layer 3 visible, thus showing the buttons on layer 3.

    The event I built:

    On left button Clicked on ShowMenu -> Set Layer 3 Visible.

    Nothing happens...

    The click works(I can replace the Set Layer... with something else and it will work).

    So the question is:

    Is there something wrong with Set Layer 3 Visible (broken?).

    Or am I doing something fundamentally wrong?

    Please, help a noob...

Tumba's avatar

Tumba

Member since 28 Jan, 2013

None one is following Tumba yet!

Trophy Case

  • 11-Year Club
  • Email Verified

Progress

12/44
How to earn trophies