DevDaveDude's Forum Posts

  • I don't know if it is better, but I think you can simplify your code, and just add a variable to insert the angle of the bullet...

    capx: drive.google.com/file/d/1ZgslZV1abEbFAq5GpYJvV8qp0NGAnqUL/view

    So I gave that a shot, and while the function itself works great- the angle does not. No matter how I set it, the darn thing refuses to fire in the left direction- I've tried every angle, and nothing seems to work.

  • Thank you both! :) I'll try each and see if I can't get it to work.

    For some reason, I find that the "on create" event doesn't always seem to be available to use- which is strange.

  • Hiya folks, back with another question.

    I've got a basic lil run and gun platformer, and I'm pretty happy with how it works even at such a basic stage- except for one thing; when I fire while facing right, I can turn my player and make the bullet zip around the opposite way.

    This behavior does not work the other way around.

    I'm not quite sure what I'm doing wrong, and in my attempts to change it, I often only wind up making every bullet fired face+fly right, which is not ideal.

    Any ideas?

  • That's a good theory, and I appreciate it- but I made it so the animation only has the one frame to go off of, and I wound up fixing it in a roundabout way; I simply made the animation much faster, so no matter how fast I press the key, it keeps up.

    Now, to figure out why some of my objects have a proper collision event option, and some do not.

  • Care to post your finished solution? Would be nice to see so others(like me) can figure this out too.

  • Well, both issues fixed themselves- neato!

    Now, to figure out why my bullet spawns at my feet every so often when I fire too fast...

    There some way to exclude origin points or something?

  • That happened to me a few times, but I did get it to eventually stick by closing the animation window and running a test of the game. Though my sprite still distorts a bit on her idle animation, in a way that I cannot seem to figure out using the animation window- as it doesn't do so there.

    It's quite weird.

    Any tips for making sure animations don't get wonky? Thank you for the help btw, I'll file a bug if I can get it to happen again today.

  • Hi folks,

    Having some trouble with image points and my sprites doing weird things in the editor.

    I really don't know what the issue is, cause when I import from a gif everything is fine- until I start fining things down and putting in origin points. From there, regardless of where I put the Point- it never stays. It's in the bottom on one frame, then in the middle, then the top, and so on. No matter what method I use, it moves all on it's own.

    More annoyingly, when I cut the sprites down with trimming the transparent edges, I wind up having an idle animation that shifts from side to side as the software thinks the black spaces are in weird spots. I really don't know how to fix that, and manually moving everything doesn't seem to do it.

    Anyone got any ideas?

  • Thanks :)

  • Well, I figured it out! And I feel a mite foolish.

    I neglected to actually place the darn playerbox into my layout. I don't know how I skipped that, I'll happily blame the fact that I'm unused to needing a second object in place to move stuff though.

    Dumb mistake- now to figure out why my dude's feet hover off the ground on creation.

    Thanks for your help!

  • 1drv.ms/u/s!AihEKVEcOS6Jhb0v8D4O1e7xgMi0Sw

    Here you go! Named after a genre of music I recently discovered.

  • I'm not even sure how to send over a work file, I got a copy downloaded- but don't see a way to attach a file, only images and HTML.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I will try and do that, sure.

    I'm not sure what the previous poster meant by making the behavior default- as far as I can tell, I can't even adjust parameters when the behavior is on my invisible rectangle.

  • I appreciate your response, and I DO have platform behaviors also on the invisible box as well.

  • Indeed I do, because if I turn that off- then nothing works at all. I have platformer and other behaviors set to the Sprite because even when they're on just the player-box, it acts like nothing happens.

    Is there something I'm missing about how those two operate? I'm not used to needing another object to handle things.