ghostwheel's Forum Posts

  • Btw, the wait is there because the animation starts right away and it looks like he's trying to moonwalk. I'm not sure how to put a proper delay in the animation.

  • Cool, thanks guys! :)

  • Sorry about that. I think I removed all references to the 3rd party plugins, here's the new version: https://www.dropbox.com/s/x60b4auqs1u6w56/IDreamofGhostsNoplugs.capx

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • No one?

  • I got pathfinding sort of working. It's inconsistent. Sometimes it works but I have to click multiple times to get my sprite to move. Is there something I can optimise to get more consistent behaviour? Here's a link to the .capx: https://www.dropbox.com/s/eoe3rgazgv7ihbr/IDreamofGhosts.capx

  • I'm using 8 way movement with an event for mouse click movement. Click on a spot on the visible layout, the player sprite moves there. It's an isometic-ish top down view so I have to use 8 different animations, one for each direction. It works almost perfectly except for one spot. If I click off to the right and slightly down, about a 2 degrees or so, the animation doesn't play for that direction. Instead, whatever the last animation was that was playing plays instead. It's looks glitchy and dumb.

    I don't really understand how the expression works as someone else helped me with it. I had to mess around with it quite a bit to get it to work as well as it does through trial and error. I'm afraid I can't do any more with it.

    This is the expression: "Animation" & floor((angle(Mouse.X,Mouse.Y,Player.X,Player.Y) + 180 + 22.5) / (360 / 8))

    Here's what it looks like in Construct 2.

    I'd put up the capx but someone told me not to put up files that use 3rd party plugins. If you really need it, please let me know.

    Thank you. :)

  • sqiddster But I'm using the plugin on the object I need to fade. Won't that break it?

    As for why I'm not using the fade behaviour - The fade out part doesn't work if the player sprite moves off the trigger (overlap). The object simply disappears. There is no way to make a fade out happen on an event. It looks glitchy and bad. And wait time is a set number. You can't make an event (or lack of an event) make the behaviour pause. The fade behaviour is very limited.

  • I have two problems with fading that I've not been able to work out on my own. 1.) Getting an object to fade out after it fades in. The closest I've been able to get is to have it fade in when the event is triggered but I can only get it to immediately turn invisible instead of fading out. 2.) Getting one object to fade in when another is clicked. All I've accomplished there is making it fade one step for each click. So you have to click 100 times to get it fully visible! I haven't even gotten to how I'm going to get that to fade out once it's fully visible.

    The objects are "text" boxes (they aren't really text, they are objects made with the Spritefont plugin). I want them to fade in, stay long enough to be read then fade out. That's it but this simple thing completely eludes me.

    I'm not a coder, I'm an artist. Please be gentle. ;)

    The .capx file.

  • I create this same thing, i mean destroy sprite and just spawn this same looking sprite but with fade option

    I tried that but for some reason, I couldn't get the coordinates of the spawn correct. :P

  • Awesome, thank you very much! So if I'm understanding this correctly, it's the instance variable that is telling it to check every tick and this makes it fade in to full opacity or not?

  • Do you know of an example file or explain what you typed there for dummies? :)

  • From what I understand (which is very little) something like this should cause an object to fade in to 100 in 1 second:

    Sprite.opacity + 100*dt

    However, when I use it with a mouse click event, it only fades by 1. What am I doing wrong?

  • Amazingly, I figured it out! I don't understand the math, I just plugged numbers in until something sort of worked.

  • I'm not going to get any further help with this, am I.

  • Thank you very much for replying and for the link. Unfortunately, I have no clue how to make use of this. I'm an artist, not a coder. These expressions make no sense to me.