Bug Issue: Block Naming bug


Pages: 1

LtVax27

  • Subscriber - Stencyl Indie
  • *
June 20, 2019, 10:30:00 am
Creating an Attribute with %Name causes the block to have no viewable name.
My guess is it has something to do with how the % from Custom Blocks is handeled as % won't show without a number after it i.e [%0 % of %1] [%0 %Percent of %1]. Ended up using [%0 Percent of %1]
« Last Edit: June 20, 2019, 11:04:10 am by LtVax27 »


Justin

  • Master Stencyler
  • *
June 27, 2019, 11:39:02 pm
Right, this is due to our system for inserting fields into blocks. You need to use [pct] in the attribute name to get it to show the percent symbol. This is how we insert graphical elements into blocks.

I'm not going to change this, but it might be good to have this documented somewhere eventually. It's already partially documented at the bottom of this post in ETHproductions' extension creation guide.

« Last Edit: June 27, 2019, 11:40:07 pm by Justin »


New attachment added by Justin - June 27, 2019, 11:39:47 pm


irock

  • Master Stencyler
  • *
June 28, 2019, 12:36:53 am
omg


Pages: 1

Details

  • Reported
    June 20, 2019, 10:30:00 am
  • Updated
    June 28, 2019, 12:36:53 am

  • View Status
    Public
  • Type
    Bug
  • Status
    New
  • Priority
    Normal
  • Version
    (none)
  • Fixed in
    (none)
  • Assigned to
    (none)
  • Category
    Design Mode Blocks

Tags


Attachments


* blocks.png (5 kB, 167x222 - viewed 84 times.)