J
joondoe
Guest
I'm wondering if it is possible to make 2d and 3d game in Game maker like Ori and the blind forest, this kind of stuff ?
At the very least you can reposition layers with code as you please (for any logical or illogical parallax)Would love to know if something like this is possible in gms2
Maybe setting the matrix for the camera to a perspective view will do the same trick? (matrix_build_projection_perspective)At the very least you can reposition layers with code as you please (for any logical or illogical parallax)
Absolutely do able in GMS2.I believe Ori used the same effect for its parallax effect as hollow knight. This is done by using unity's perspective (3D)camera in a 2D room.
Would love to know if something like this is possible in gms2
can't wait!Absolutely do able in GMS2.
You can switch between perspective and orthographic as much as you like during the render cycle.
What is going on in your attached image is actually quite trivial to do. If I get a chance in the next few days I might even throw something together to show how this can be done in GMS2.
That would be most awesome, this effect has nice potential!Absolutely do able in GMS2.
You can switch between perspective and orthographic as much as you like during the render cycle.
What is going on in your attached image is actually quite trivial to do. If I get a chance in the next few days I might even throw something together to show how this can be done in GMS2.
That could very well be the greatest crossover between The Matrix and Paper Mario the world has ever seenAlright, challenge accepted. I'll see what I can do
No problems at allWill try that asap!
EDIT: Bro, this is just amazing! I can't believe you crammed such an amazing thing in a few lines of code in a single object, honestly.
I'm definately gonna be using this A LOT.
Thanks a lot!!
xfrom += 3 * dir;
if(xfrom > 1000 || xfrom < 500)
dir = - dir;
xfrom = width-mouse_x;
yfrom = height-mouse_y;
Oh is there? Must have been a mis-click. Yeah, just delete the extra one.By the way, you seem to have two instances of the obj_3d_controller object in the room. I figure only the one on layer main is necessary?
Ehat do you mean? The only "bug" I found was if you go to the other side completely, the top layer STAYS the top layer, instead of becoming the back layer. I'm guessing it's possible to fix with using instances depth and one single layer, but didn't try it yet.I can't figure out why the effect only affects objects on layers above the controller object's layer.
wow this is so awesome!, totally gonna abuse this technique for my next project!Done
Don't judge the art, just judge the technique.
The three layers were placed directly in the room editor too. So it makes it easy to throw something together.
Download the project here and do whatever you wish with it - https://www.dropbox.com/s/wzkwimb68ffa4a1/Flat3DTest.yyz?dl=0
It's quick and dirty, no warranties
Yes, I found this as well when moving layers around in the layer list, etc. Seems to be a quirk GM's layer system.I can't figure out why the effect only affects objects on layers above the controller object's layer.