Zebbi's Forum Posts

  • I was thinking this morning, cocoon should do a desktop exporter, one that's smaller and faster than nw.js.

  • Add key seems to work, thanks!!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Did you use Add key?

    I used set key.

  • Actually you don't even need a different name, just use the Layout name.

    http://www.blackhornettechnologies.com/ ... tName.capx

    Okay, for a test, I'm trying to set some text to the value of a key that is the same name as my layout name. I tried str(Dictionary.Get(LayoutName)) and I tried Dictionary.Get(LayoutName) and it didn't work. What should I use for this?

  • Here's a licecap I managd to get working: http://imgur.com/b5O2BIJ

  • Your layout number (X) is the index into the Array, or the name "boardlevX" would be the key for your data in the Dictionary.

    So, if i use "Dictionary.Get" to grab a key relative to the LayoutName, how is that worded in the expression editor?

  • Can't reproduce in r221, it still draws to the same tilemap after pressing undo. Did you miss something in your repro steps?

    No, I just recreated my own steps exactly and it's still doing it, and Licecap isn't allowing me to take a vid, probably cause of HiDPI mode. Did you select one tilemap and then the other before you started drawing it?

  • You should be using a Dictionary, or an Array.

    I've used arrays before, not dictionaries, how exactly would I use one of those in this context?

  • My layouts are all named, "lev1", "lev2", "lev3", etc and I have global variables named "boardlev1", "boardlev2", "boardlev3" which consist of text values. How can I select a global variable based on the layout name? I managed to use %layoutname to build a string for naming for a localstorage file, but I'm not sure how to select an existing global variable with a string.

  • You can use Rex's Nickname plugin

    Thanks, I'll try that!

  • That buildbox looks proper dodgy, seems very SEO going through the website.

  • Argh sorry! Right will get them soon I promise! Can't believe I forgot, if you send me an email with your postal address I'll send you a small gift box to say sorry (and as soon as I get the postcard will also give you your badge as well )

    Wow, thanks Tom !!

  • I want run a loop on localstorage:

    + On item: "score"%loopnumber exists

    + Repeat 10 times

    + Value > 3

    But I want it to pick an object like this:

    +Set object "sprite%loopnumber" = visible

    I'm not sure if this is the best way to wildcard test for a sequence of similarly named storage items (besides the last character, which is a number) or if this is even possible? Would it be easier if all of the sprites were added to a family?

  • C3 is most likely going to really just be a re-make of C2 using non .net frameworks so they can port it to other platforms besides PC. That's my somewhat skeptical prediction.

    I'm thinking the same.

  • > Hi,

    > Is there a way to have "shaking layers"?

    > For example, if a bomb explodes with a strength 50 shaking for a duration de 1 second, and if another event starts a strength 20 shaking for 0.3s during the bomb explosion, the bomb shaking immediately stops and the small shaking overrides the bomb one. Any way to have the big ones overriding the smaller ones, but when they finish, the other shakings occurring at the same time continue ?

    >

    Magicam has a built-in Shake action. Look under the "Misc." section.

    Yeah, but like I said, magicam only works on the viewport I think, so shaking layers isn't the same as shake camera.