0 Favourites

having problems with setting text

  • I am having some issues making an in layout shop menu for a zombie shooter. I have a text under each gun that is set up to display of three text based off of what value a global variable, and an instance variable have, and nothing is working correctly. If anyone can check out my file and tell me what's wrong, I would be so grateful. The shop can be opened with an s, and and two text that are working is for the pistol, and shop icon 3.

  • Construct 3

    Buy Construct 3

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

    Buy Now Construct 3 users don't see these ads
  • Idk why but event sheet in your .capx won't load for me, it's just a white page.

    edit, nvm, I had it unzoomed and scrolled at the bottom, let me take a look now.

    edit2

    Here's a list of stuff you made wrong or you could make better:

    • error: you need to set position of an object BEFORE not after it was pinned.
    • warning: you can make shotgun shot in 2 events and with use of one bullet.
    • couple of other minor stuff I'd make other, more efficent way but I'm not here to point them.

    However, you have to resize the text objects of Equipped/Owned/$price because they are to small and they got to have whole word space to render it.

  • what do you mean by " whole word space"? I added a set font size command right before set text, that that didn't seem to work. I also switched around my set positions and pins for everything.

  • You have to manually resize your text objects in your shop. Make them wider.

  • Oh, ok I see what you mean. Wow, now I feel like an idiot for not thinking about that.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)