Dynamic Skewing 2 DEMO

firemaplegamesfiremaplegames Member Posts: 3,211
edited November -1 in Working with GS (Mac)
Hey All!

Just messing around...Another take on my previous skewing demo:

http://gamesalad.com/game/play/71415

The Actor is simply a square - I am manipulating the Camera's width, height, and rotation to achieve a dynamic 3D skewing effect. Controlling the Camera like this can allow you to create a psuedo-3D engine in GameSalad. Might be fun to play around with!

Feel free to use this however you want!

Joe
Fire Maple Games

Comments

  • AfterBurnettAfterBurnett Member Posts: 3,474
    You are a God! I need this for my new game! Cheers!
  • netdzynrnetdzynr Member Posts: 296
    Very cool FMG. You're saying the distortion is caused by scaling of the camera?

    Your semi-3D ball demo is also great. Really thought provoking experiments.
  • firemaplegamesfiremaplegames Member Posts: 3,211
    Thanks!
    @netdznr: yeah, I have been playing with distorting the Scene's camera. I have a few other Camera demos on my wall too. Just trying out some things to create cool transitions.
  • AfterBurnettAfterBurnett Member Posts: 3,474
    Hey Joe, without looking at the project (at work on PC) is it possible to skew single objects and not the whole screen? Like keep the BG flat and have that effect on an object in the foreground?
  • firemaplegamesfiremaplegames Member Posts: 3,211
    No, unfortunately.

    To pull off skewing, you need to have one object placed inside a container.

    The object inside the container is rotated -45 degrees.

    Then the container gets distorted - but the object inside the container does not. The inside object needs to maintain its shape.

    I can do this easily in Flash as I can nest things inside each other.

    GameSalad doesn't have this capability.

    However the Camera in GameSalad acts like a container. I simply place an actor in the Scene and rotate it -45 degrees.

    Then I distort the camera. This has the same effect as distorting the container but not the object inside.

    This technique will be tricky to use in actual gameplay other than as a visual effect, as it is hard to interact with objects while the camera is distorted.

    Hopefully someday GameSalad will get the ability to nest and group actors together.
  • AfterBurnettAfterBurnett Member Posts: 3,474
    I guess I could use a pre-distorted picture for the BG to offset the distorting in the FG. LOL. But then it would move funny... ah well.. looks great though, I'm sure I'll find a use for it!
Sign In or Register to comment.