This is an addendum to my previous question from this
thread
Here's general background to what I want to achieve:
Been playing with js to get a pseudo 3d look. (via a
mode7 plugin)
I get great results when using it, but there's no easy way to mimic 3D objects in 3D space.
Event images behave similar to 2d cards that always face the camera.
Is there a call to apply a skew method to an
event's image?
There is a method, however, for skewing the entire scene as below (left:normal, right: skew by x):
Looking through the js library, globals I could use to apply the skew method are Sprite, Spriteset_Map, etc
Not sure if the syntax would be as follows:
Code:
// I was thinking the syntax would be similar to this (Pixi skew, from the above thread)
SceneManager._scene.rotation = 0.1
SceneManager._scene.skew.x = 0.6
SceneManager._scene.skew.y = 0.15
// Not sure something like this works
Spriteset_Base(???).skew.x = 0.6
//or
Spriteset_Map(??eventidentifier??).skew.x = 0.6
Or another global entirely.
If this is a one liner, I could just put the amount skewed to a variable and increment/decrement it based on your perspective to get a somewhat 3D look on a plane.