Hundreds of features to explore
Games made in Construct
Your questions answered
Popular & trusted by schools and Universities world-wide
Construct 3 runs in the browser & works offline
Students do not need accounts with us
Our educational partners
Free education resources to use in the classroom
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Upload and play games from the Construct community
Game development stories & opinions
Hi i would like to create this effect with construct 2
http://www.ernestandcelestine.com/
The moving layers when you move the mouse
But i dont know how to achieve that
You can put main sprite on layer with parallax like 5,5 and its shadow on another layer with parallax 10,10 and scroll to mouse position. (or opposite to mouse position)
Unfortunately, you can't skew or add perspective to a sprite in C2 without some external addons.
Here are a couple of links:
how-do-i-skew-or-distort-a-sprite_t164666
https://www.scirra.com/store/royalty-fr ... usion-1636
effect-mode7_t77858
I dont need a complex demo with fake 3d.
i saw this old demo this is the kind of effect i'm looking for but is no explanation about the sprite (Mouse.X+Sprit02.X)/2, (Mouse.y+Sprit02.y)/2 something is missing in that video.
Develop games in your browser. Powerful, performant & highly capable.
The video shows simple parallax based on mouse. It is very basic. Have you tried?
Make a prototype based on the video and then if you have issues, post .capx here so we can help.
Ok solved i just removed the sprite my mouse was following !
But ONE IMPORTANT INFO is missing you need to have a sprite CENTERED in your layout !!!
that's why the formula is: (Mouse.X+Sprit02.X)/2 (Mouse.y+Sprit02.y)/2