Animmaniac's Forum Posts

  • I found a more elegant solution for triggering the events and updated my example:

    prr-PinTest-01.capx

    sman118 If you want to stick it to the image point just remove the lerp. You don't need to create extra objects for it.

    I don't know exactly how your game is supposed to work, but if your character can hold only one civilian at a time I recommend picking by storing the civilian UID like I did. This avoids possible annoying bugs that may appear as your project grows, since there's absolutely no way to pick more than one object this way.

  • I think you are right, I was confusing it with the else trick.

    I got intrigued by how to optimally solve it when the on and off conditions are not the perfect inverse of one another. For instance, just when picking the civilian it must be overlapping the player, but to release it not.

    Something like:

    +On S pressed

    -+Var = off

    -+is overlapping player -> set var to on

    -+Var = on -> set var to off

    In my example I couldn't solve it without complicating too much so I left both the on and off conditions depending on the overlapping just to make things simpler to understand, although it was not the ideal.

    Any ideas of how to solve this beautifully?

  • Here's my take at it:

    prr-PinTest-01.capx

    As far as I remember using state conditionals as sub-events of a press button used to evaluate just one of the options for this kind of situation, but for some reason it doesn't work that way anymore.

    Something like:

    +On S pressed

    -+Var = 0 -> set var to 1

    -+Var = 1 -> set var to 0

    Am I mistaken or this behavior has changed along the way?

  • You do not have permission to view this post

  • You do not have permission to view this post

  • You do not have permission to view this post

  • You do not have permission to view this post

  • You do not have permission to view this post

  • For me 'Super Ubi Island' and 'Jump Jump Ubi' sounds the best.

  • Pode I think it's possible to simulate Mode7 using only a pixel shader. I will try some ideas, but I think it's doable.

    Too bad it's not that easy to grab the image of a sprite with a shader applied. :/

    I was counting on R0j0 updating his canvas plugin to allow me to create some iterative shaders to simulate fluids like smoke, air flows, possibly water, etc.

    I did this once in CC. But to be doable there needs to be a way to use the output of the last frame as the input of the next one.

  • The main problem that I see is the head and neck. Boars have a more thick head and almost no defined neck. The body and head forms a solid block from snout to tail. Your's on the other hand is very segmented around the neck and on the back. Also the front leg seems a little detached because of the light on the top, while in real life it normally looks more linked to the neck.

    I made a quick edit to show you what I mean:

    <img src="https://dl.dropbox.com/u/7871870/random/prr-boar-01.gif" border="0" />

  • You do not have permission to view this post

  • Is there a way to paste an object or a layer into the canvas plugin and keep the applied webgl effects?

    I'm planning to make some iterative shaders, but it seems it's only pasting the original texture, not the image transformed by the effects like CC does.

  • You do not have permission to view this post

  • You do not have permission to view this post