Ok alot of people have told me to use the V-cam as a camera but i know that just makes flash lag horribly. So I'm wondering how to make a camera like the one in fancy pants or the citrus engine i played.
Camera
(50 posts) (17 voices)-
Posted 3 years ago #
-
cant help u man, sorry. Somebody will come along and help soon, I can guarantee.
Posted 3 years ago # -
Try something like, _x = -Char._x + (or is it minus... I don't remember) whatever half of your stage width is. That'll get your character centered.
For anything fancier than that, you're just adding variables onto where ever you're centering _x, so if you want to stay in front of the character...
focusPoint = Char._x + (Char._xscale/2) + 360(er, half of your width)
_x = -focusPoint
Getting to smoothly scroll when you change directions... well that's actually pretty simple, you'd just need a variable that goes from 50 to -50 depending on what way you're facing.
Don't ask about the camera in World 2, I spent forever tweaking that thing, for all I know if could be considered a form of advanced AI at this point...
Doodle, sketch, draw, design, fill notebooks with elaborate scenes, funny character designs, and gameplay ideas.
Find your own personal style and run with it. Craft characters and stories that you love.
Enjoy your own work, and don’t be afraid to show it off. Create.Posted 3 years ago # -
ok, but how do you decide how much you see. For example, i might have a huge level and put that coding in there. But how do i make the screen only look at a certain point? Do i have to start out making my MC huge enough to take up a bit of the screen?
Posted 3 years ago # -
I just use v-cam...
Not in cruelty
Not in wrath
the Reaper came today.An angel visited
this gray path
And took the cube away.Posted 3 years ago # -
How do you use V-cam in a Flash game? Aren't you supposed to tween the cam in an animation?
Doodle, sketch, draw, design, fill notebooks with elaborate scenes, funny character designs, and gameplay ideas.
Find your own personal style and run with it. Craft characters and stories that you love.
Enjoy your own work, and don’t be afraid to show it off. Create.Posted 3 years ago # -
How do you use V-cam in a Flash game? Aren't you supposed to tween the cam in an animation?
Just make it equal your MC's _x, it is really meant for animation purposes though
Posted 3 years ago # -
How do you use V-cam in a Flash game? Aren't you supposed to tween the cam in an animation?
wait, you DON'T use v-cam?????
Not in cruelty
Not in wrath
the Reaper came today.An angel visited
this gray path
And took the cube away.Posted 3 years ago # -
...
What is V-Cam?
Posted 3 years ago # -
...
What is V-Cam?http://www.oreillynet.com/pub/a/javascript/2004/08/17/flashhacks.html?page=2
Not in cruelty
Not in wrath
the Reaper came today.An angel visited
this gray path
And took the cube away.Posted 3 years ago # -
Try something like, _x = -Char._x + (or is it minus... I don't remember) whatever half of your stage width is. That'll get your character centered.
I just tried this and it is not working. How would I just get the root X to be the same as something. For instance I'm doing this:
screenX = jude._x + 275;
screenY = jude._y + 200;
_x = screenX;
_y = screenY;Posted 3 years ago # -
Will you spammers leave us alone????
Just got back on the internet after losing my access for a week. Read more on Random Discussion.Posted 3 years ago # -
yes spammers must leave this forum
georgePosted 1 year ago # -
We should trace his IP to other accounts and find out were he lives then sigh him up for so much spam mail!!!
Remember, easy mode saves lives.
Posted 1 year ago # -
*facepalm*
This...
Is..
The most stupid BUMP EVER!
WHY DID YOU DO THAT? (ProtonJon voice)
This is a signature!Posted 1 year ago # -
Posted 1 year ago #
-
Hey, while were at it..... why not start a sing along?
But yea... stupid thread bump.
Posted 1 year ago # -
Stupid thread bumper.
Your a total jerk. YOU STINK!
I want you to drown.
(It's a haiku!)
Remember, easy mode saves lives.
Posted 1 year ago # -
Haikus are easy
But sometimes they dont make sense
Refrigerator.
Posted 1 year ago #
Reply »
You must log in to post.

