alastair's Forum Posts

  • this seems useful.

    At first I thought it would be for tilting/changing camera angle etc, lol.

  • I know the default filter for sprites is white, but is it possible to filter a colour so I can make it white or another lighter colour?

  • if only it was a more clone of construct

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I'm not sure to be honest.

    Also is it possible to not have this plugin affected by timescale for write text? or is that impossible? since I (and probably lots of people) will want to write text when the game is still.

    or maybe a tick based write text

  • lol, I don't think it was related to your spritefont.

  • I was working on something, but then I made some art with the crash

  • its because the sprites arent there until the "show text" action

    try moving the filter action after the "show text" action in the same event

    that doesn't work either, I don't think they can be in the same event. But that's okay.

  • I tried deleting all the spritefonts and associated code from my game, then made a new spritefont to try and get it to wrap. But it's still not working?

    Mabye its a problem with the way I'm doing it?

    Or perhaps it could be a problem with sprite I'm choosing, it has 92 frames and for the range I'm doing is everything from 'Space - z' .

    EDIT: Figured it out!!! For some reason it was to do with the range I was choosing, I narrowed down the range to "a-z" and started at frame 66, and wordwrap started working! So maybe I'll just choose narrower range of characters that I'll actually use.

    <img src="http://dl.getdropbox.com/u/1024727/worketh.png">

    EDIT 2: Okay, I figured out you can actually choose any range, but you can't choose the first one "space". So every other character can be included in range. So I can choose !-Z instead of space-z and it will work greatly! It's just 'space' that is the problem character that you can't include in range.

  • I assume you mean you have to create a key before you can set it, whereas AssArray created one if you set a key that didn't exist?

    yeah that's what I meant.

  • The only difference between hash and assarrays is that you have to unfortunately insert keys before you can fiddle around with the values, and I dont think hash tables are as well protected?

  • thanks for that.

    I can't seem to figure out why word wrap isn't working for me. I've tried isolating the spritefonts and reproducing stuff but I can't seem to replicate the problem.

  • The only way I can think of is to have each object that can be destroyed this way in a family, then when you compare the private variable to test if it = the global variable then you destroy it.

  • how come the greenfilter won't be applied if there is also any action from the spritefont?

    (for example, it won't be green at the start, but 1 second later when there are no actions present from the spritefont it will work)

    <img src="http://dl.getdropbox.com/u/1024727/heysdfssss.png">

  • For some reason word wrap is doing nothing in my .cap, but it works fine in yours. I tried making many different spritefont objects with word wrap but none of them seem to work. Maybe its because I have too many spritefonts already in the game?

    doesn't matter too much though, I'll just work around the bug by manually placing "+newline+" in the text.

  • Not many people have pixel shader 4/5 yet