mOOnpunk's Forum Posts

  • So i should set it to rgbEx(100,100,100)?

    I think the c3 manual needs updating as i can find no mention of "set color" in there. This info would be helpful.

    Thanks.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I've used the sprites "set color" action in order to change the colour of a sprite, but i want to be able to change it back. There doesn't seem to be a way to disable it again once used.

    The sprite isn't all one colour, like all white, its coloured like normal and "set color" is used as a way to tint it.

    Any way to do this?

    Ashley

    Tagged:

  • Making the hexs that are off screen invisible will also help.

  • I may be wrong but i think the issue is that windows and mac handle the file permissions differently, so you need to build the mac version on a mac.

  • Hey piranha305, have you had any luck with pathfinding yet? Thanks.

  • I'd just like to show my support and interest for such a theme. The default theme is very clean and easy to read, and i can work quite fast using it but it kills my eyes. I'm stuck reluctantly using the dark theme but its not clear at all. Even the default theme with a dark grey instead of the white areas would be an improvement.

  • Yeah you are right about that, but as a test having 1000 blank events that should be doing nothing therefore in my mind points the problem more towards some kind of browser layout/ui rendering issue (i don't know anything about browser tech so i'm just guessing). The fact also that changing themes effects performance also seems to support this idea.

  • You may be right, but i would consider 15-20 actions per event line an extreme case. I can create 1000 blank events in C3 and get lag in the editor.

  • but u gotta remember, that each action has to check if condition is ok, the more u add the more u check that condition, and the system has to do all that in a tick, cause under it there are 300 more lines....

    I disagree that its about construct having to read and check the events, i've never experienced any editor performance issues with C2 on the same computer and had thousands of events. This is a browser issue.

  • I also reported this problem a long time ago, even providing a performance recording, which was dismissed.

    https://github.com/Scirra/Construct-3-bugs/issues/611

    When i get to around 1000 events the editor is very laggy. The only solution i've found is to use groups and close them when there not being edited.

  • How do i set up the spacing data for characters such as " and / as it won't accept them because it interferes with the json code? Oddly enough it accepts [ ] though.

    eg.

    [

    [4, """], [8, "/"], [10, "aeou"], [12, "mvw"]]

  • Do you mean how far the mouse is over the object? If i understand you correctly you could try something like this,

    x = sprite.BBoxleft + (mouse.x - sprite.BBboxleft)

    y = sprite.BBoxTop + (mouse.y - sprite.BBoxTop)

  • I'd also love this for macOS, I haven't been able to find an equiverlant and Scirra Ashley declined my suggestion on how to make things easier. https://construct3.ideas.aha.io/ideas/C3-I-607

  • You do not have permission to view this post

  • Oh i see.

    Normally in games with a limited text box size, like a dialogue box, they show a bit of text then the player clicks and it deletes the old text and shows some more.

    An alternative is to have a scroll box.

    scirra.com/tutorials/1217/custom-scrollbar-or-slider

    Use "force own texture" and "destination out" to hide text outside of the scroll box area.

    But if you want to change the text size to always fit i guess you'd have to set the text, then get the text width, see if its greater than the window size, if it is then resize the text and check it again until it fits. You could do this in a loop normally so it appeared to happen instantly however its a bit tricky with the text object as it doest update until the next game loop, hence the wait 0.1 action.