Zebbi's Forum Posts

  • Yeps. See.

    https://www.dropbox.com/s/vt2jubt1v0yno ... .capx?dl=0

    Wow! That's almost perfect when I put it in game, I'm not sure if you have the extensions I'm using but here it is in action: https://www.dropbox.com/s/3yv4m8hze5ffl ... .capx?dl=0 , there's two little things I'm noticing: 1) there's a brief animation glitch, can you tell what's causing that using the pin on the crouch animation and 2) I'm trying to offset it for the upside-down gravity switch (go to the right and fall on the button to change gravity) the player animation squash works when I use a conditional operator to subtract the height, but the sprite is offset the wrong side, can you see what I need to adjust? Thanks again so far 99Instances2Go , I didn't think this could be done!

  • Even better. Pin to any x,y dynamacaly. Drag it arround.

    https://www.dropbox.com/s/6y1pg5yrb9zr6 ... .capx?dl=0

    The behavior: http://c2rexplugins.weebly.com/rex_pinoffsetxy.html

    99Instances2Go Thanks for that, getting close! Here's my example: https://www.dropbox.com/s/kal2r7zeuvoo3 ... .capx?dl=0 I've used the rex pin offset, but can't for the life of me figure out how to offset the height change with the plugin, can you see what's needed with this? Thanks again!

  • Zebbi This maybe ?

    https://drive.google.com/open?id=0B1SSu ... GxxQzZDMlE

    fyi http://c2rexplugins.weebly.com/rex_pin2imagepoint.html

    Thank you for that, I wasn't aware of Rex's pin plugin! Now, the way I see it is I could do something like animating the image point on a specific animation if that works with this plugin? I haven't tested yet, but can you reposition a Sprite if it's pinned using this plugin?

    Here's the basic idea, a container box, origin center; player animation, origin centre; upon holding down, reduce height of Sprite by 0.1 until, say, 50% shorter (64 pixels until 32, say); the catch is, the feet of the player animations can't leave the ground, which happens if you have the origin centred, it looks like you're squishing into black hole at your belly. So I need to reposition the Xposition downwards by the amount of pixels reduced from its height. Can anything like this be done with this plugin?

  • I have a player animations Sprite that's pinned to a container and its origin is in the centre. It needs to be here for Gravity switch reasons. I want to resize the Sprite so it squashes, but I want it to squash to its feet as if the origin was at the bottom. I can't resize and counter it by repositioning the sprite because it's pinned and I can't temporarily un pin as it would be during gameplay. Is it possible for someone to come up with a behaviour that would allow resizing and defining the centre point as an image point rather than the origin?

  • Funny, I was just thinking of creating a new dialog template that mimics the one found in SCUMM's games. However, it's quite the task, not sure when I'll find the time to do that.

    One thing is certain, storing scripts externally is a must. And you should dedicate some efforts to create a proper script editing and testing tool, for obvious reason.

    I'd love to do all this well but I'm not exactly the most proficient programmer, so it's gonna have to be hacking and handholding all the way! ?? Well, I was thinking, all we really need to store externally is the sentence, a Boolean to determine if it's available or if it's been "spent" and the next sentence in the conversation. I suppose each sentence needs a Boolean to determine if it's time to return to the dialog selector or not, but even that could be just another number from the next sentence variable. How to pull this all in game is the hard part? ??

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Zebbi , is this what you try to do ?

    https://www.dropbox.com/s/db49ai2mmjoie ... .capx?dl=0

    Almost, I need to really be able to resize without losing the pin, as the character animations are pinned to it's container box :/

  • I guess I could try a tween, but that would still require the object to be unpinned, wouldn't it?

  • Could I shift the pixels of the image down with a shader without it clipping the borders of the Sprite?

  • Exactly, is there like a shader that could move the objects position?

  • I'm trying to work this one out, not sure how to store the dialog, how to recall it, how to cross off dialog that's been discussed, how to display the dialog above the characters heads in sequence, how to add new dialog sentences upon game progress, etc. Basically, I have nothing! I think it would be fussy to store all the dialog in the game as strings, but I also don't know if storing and recalling externally would be much easier.

  • Pin locks the position, so you'll probably need to unpin it first, then re-pin after repositioning.

    Which is tricky if it's the character animation! Is there another way of repositioning?

  • It doesn't appear possible to reposition a sprite if it's pinned, but it's okay to scale it?

  • My sprites pinned, can I move it's position in it's pinned somehow?

  • I'm probably just explaining it poorly. Here's an example of it if it helps.

    https://dl.dropboxusercontent.com/u/542 ... ottom.capx

    Thanks for the example! Now, can an object have it's position manipulated if it's being pinned? <img src="{SMILIES_PATH}/icon_e_geek.gif" alt=":geek:" title="Geek">