Hello everybody, I have for a couple of weeks now tried to solve this problem. Have tried "everything". I´ve seen that there are similar problems here and it is parallax with zoom. I have tried really many of those formulas and ideas, but none seem to work for me. One solution would be to set parallax off, but that´s not the solution I´m looking for.
My main character here is Clark (the constructor guy). Player clicks or taps bolts of beams in order to drop them and help him move around. Also clicking near Clark will give him a push to left or right (or up if clicking clark). He is trying to reach the lunchbox. I have a nice zoom effect with parallax (mousewheel) but I´d like the camera to always zoom into Clark. I have tried unbounded layout etc. I have created invisible object that the camera follows, but it doesn´t work. I have tried the canvastolayoutX. I have tried touch.absoluteX (for player to tap the screen and then move the camera there). Nope.
I wonder what should I add to make it work. I´d be happy with two options.
1) Automatic zoom to Clark always.
2) Player taps the screen (or clicks) and camera moves there with a nice smooth way.
Sorry for my english. It´s not my mother language.
btw. This is my first post so I´d like to add that nice community here (so hello again <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile"> ) and nice software this C2 (even though I´m puzzled by many many things)
I stripped most of the extra stuff from this capx file (but left in the event sheet 1 some of the try-outs I did in order to make the camera follow either tap or Clark.)
Hopefully someone can help me out with this one.
Here is the capx
https://dl.dropboxusercontent.com/u/104 ... blem1.capx