SpriteFont (v0.99.5RC) - new update, small bugfixes

This forum is currently in read-only mode.
From the Asset Store
Fantasy Game includes more than 600 sound effects inspired by hit computer games like World of Warcraft and Diablo.
  • Firstly, nice work on this. It's something both construct and I have really needed.

    I tried opening the "Hello world" .cap, and changed the 'show text' action to write text, and it doesn't show the H for some reason.

    Edit: Never mind, it's because I used a capital H.

  • Your'e awesome for adding it so quickly, but... I can't find "z-ordering" anywhere in Construct.

  • thx guys

    konjak:

    for any object, when you're in the layout editor, you can right click an object and go to "Order"

    to adjust the order of objects

    under the sprite object, it's the options at the bottom of the actions

    <img src="http://dl.getdropbox.com/u/1013446/New%20folder%20%282%29/Capture19.PNG">

    there is also a "get z index" expression for sprites

    for this object in particular

    you can check the option in the properties panel

    <img src="http://dl.getdropbox.com/u/1013446/New%20folder%20%282%29/Capture20.PNG">

    and you can also change it with the Set Z-Order to object action

    <img src="http://dl.getdropbox.com/u/1013446/New%20folder%20%282%29/Capture21.PNG">

    like I said before though, if you'd prefer to change the zorder according to other things to make letters weave in and out of pillars or something while they scroll, you can do a For Each Letter condition, and do whatever you want to the sprites

  • Eh... I'm not quite that behind when it comes to using Construct and making games!

    The ZOrder thing literaly does not appear under Properties when highlighting my SpriteFont objects in the layout editor.

    Also, I'm trying to figure out why it suddenly started to crash Construct whenever it retrieves texts that are multiline. I retrieve them to a string variable in the SpriteFont object and then display it.

  • sorry bout that

    I'm not sure what you mean about the zordering not appearing

    when I right click, it has order there for the spritefont

    is there another zorder control for other objects?

    as far as multiline crashing, I couldn't reproduce that either:

    http://dl.getdropbox.com/u/1013446/hellomultilineworld.cap

  • I don't know what to tell ya, but even in your example it looks like this:

    <img src="http://www.konjak.org/nozorder.png">

    (It doesn't show up as an Action either)

    Are you certain you uploaded the latest plugin in that RAR...?

    I can't recreate the multiline error in your CAP, though, so I guess that's me somehow...

    I can make multiline text if I write the text in an expression using NewLine, but I can't use that because I want dialogue that uses quotation marks, is there something you can write to make it generate those from an expression?

    EDIT: Figured out quote marks.

  • did you redownload the plugin after i last updated?

    if so, ill have to check when i got home

    its very possible i uploaded the wrong one

    as far as quotes....hmm...i dont know if construct has escape sequences like backslash and then quotes would be like having just quotes, but it wouldnt end your string

    if that doesnt work, you can either choose a different unused character, and set that character to the frame that has quotes like

    "@hello,@ said the cat"

    or i could make a .qt expression, so it can be nice and short

    let me know which one youre more likely to use

    thx for the input and help in debugging this thing

  • Well, I said in my edit I figured it out!

    You just do like "I enjoyed that ""thing"" you gave to me" and those double quote marks will become one.

  • ah...didnt see that edit:)

    how bout the other thing,

    i know its basic, but youre sure you redownloaded the rar, and copied the plugin over the last version?

  • Three times.

  • http://dl.getdropbox.com/u/1013446/SpriteFont99.rar

    ok, try this

    if this doesn't work

    I'll have to take a look at whats wrong later

    I just downloaded it from that link

    and copied over my plugins

    and loaded the cap

    and it works, so it should work

  • Yup, I got it to appear now... but now my old SpriteFont code doesn't work...

    Wonderful.

    EDIT: Seems actions got kicked down a notch if they're after the new ZOrder one. At least, all the "set value" became "Set Cursor Position".

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • sorry about that

    if you hit the back button

    select the correct action again

    and then hit the forward button

    all your previous options should be there

  • Yes, this I did!

    Thanks for this great plugin!

  • I just noticed there's actually not an action to destroy a SpriteFont object.

    Seeing as I'm using it to dynamically create speech bubbles they really shouldn't be lying around afterward, even if they're invisible, and it feels like a Destroy should be there... ?

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