spacedoubt's Forum Posts

  • R0J0hound You're not fooling anyone. We all know you're some sort of space alien.

    Thanks so much! I appreciate that. You have no idea how much I've learned from you.

    The only aspect of that can't be done is resizing in relation to the screen, as that would introduce skewing, which C2 can't do. So you'd be limited to only resizing relative to the object.

    Would you mind elaborating on this just a bit? Once I've rotated it, can I scale the bbox and have the sprite scale with it, or is that what you're saying it can't do?

  • I did not explain myself well at all.. but I found what I needed..

    I was basically doing a way too hard version of r0j0's second capx on this post:

    Think I'll just go ahead and do it that way, heh..

  • LittleStain Thank you! I think this is what I'm after. Simple enough.. I think I had pretty much figured it out except I had it backwards.. (3 days straight of coding/sleeping/coding.., sooner or later something gets backwards)

    but I'm not positive, I might be trying to do what codah said.. Either way, I think I've got what I need now to figure it out.

    I'll check it out here in a bit and if I can't figure it out I'm holding you both responsible.

    Thanks guys!

  • Strange question... ask Michael Bay... http://youtu.be/qn_HFEDNZ_Q

  • Yes, please!

  • I'm making a level editor and I want to be able to rotate a sprite, and resize it at runtime, but after I rotate it, I want it's height/width to be based on it's new angle. kinda resetting it's bounding box, like you would in photoshop or something.

    so, for example, if i rotate it 90 degrees, essentially it's width becomes it's height (this example wouldn't be hard, but I want it to work for any angle).

    Does that make sense?

    I've been at this for a while, and I can't find anything in the forums.. Is there a plug-in or something that does this?

    Any help would be much appreciated!

  • Almost all the comments on that page are negative, too. heh.

    As with any technology in it's early stages, there are obviously a number of hurdles to clear here, but I can't see why being able to simply scan an environment as opposed to spending hours and hours painstakingly trying to model it is a bad thing?

    To me, it's like the difference of drawing a realistic 2D image from scratch vs. taking a picture and modifying it. They both definitely have their place, but one is obviously much quicker and easier.

  • Been wanting to contribute a tutorial and I see this come up every now and then, so here it is!

    Check it out!

    https://www.scirra.com/tutorials/1194/m ... -with-capx

    <img src="{SMILIES_PATH}/icon_e_biggrin.gif" alt=":D" title="Very Happy">

  • Kyatric I apologize, but this just happened to me as well.. accidentally posted the same tutorial 3 times before I realized it was actually working.

  • 30k, huh? sheesh! If it were me, I'd probably just go ahead and make my own platform jump function..

    Good luck!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Ashley Oh, i understand. No worries! You do an amazing job! I am patient!

    Ubivis haha!

  • TheSynan Are you picking nearest/furthest the forest, or the pathfinding villagers?

    I opened up the pathfinding example and put in an event which went something like this:

    obstacle (not pathfinding object) pick furthest to obstacle.x, obstacle.y

    then for the action I had sprite (pathfinding object) find path to obstacle.x, obstacle.y

    This works (I did have to delete the obstacles off to the side, it couldn't find a path to them for some reason, but that's irrelevant unless you want to replicate it in the pathfinding example...)

    so replace "obstacle" with "forest" and "sprite" with your villagers and it should work.

    EDIT: No wait, I confused that... it should go:

    obstacle, pick furthest to SPRITE.X, SPRITE.Y (not obstacle.x and y as I said above)..

  • screen shake is built into the scrollto behavior.

    https://www.scirra.com/manual/102/scroll-to

  • add event, choose the forest sprite, look for "pick nearest/furthest"

    then for the action, find the path.