ForumsProgramming ForumVcam? no

4 4181
jimmy155
offline
jimmy155
39 posts
Nomad

this is my game
http://www.newgrounds.com/dump/item/2613b8b8765a8e59d46e1262705738cf

As you can see, I'm planning on using vcam, but it shakes my sprites, can someone tell me what i should do to help fix, other then make a sidescroller game? if making a side scroller game is the only thing u guys know, then how do i make one.

  • 4 Replies
Ongokiller50
offline
Ongokiller50
12 posts
Nomad

You need to Update the vcam and update the flash player.
if thats not it then its prob the gravity not set to zero or something.

jimmy155
offline
jimmy155
39 posts
Nomad

What do you mean, does the player's gravity has to be 0 or the vcam's gravity?

Darkroot
offline
Darkroot
2,763 posts
Peasant

It shakes your sprite? Also can you re-upload your game or provide another link. \\

I don't think gravity has anything to do with vcam.

Ongokiller50
offline
Ongokiller50
12 posts
Nomad

The players.
My Game "Combat Tournament" hade the same problem But I fix by setting the gravity to 0 and this on the player

this._x = this._x
this._y = this._y


"I HAVE NO IDEA HOW IT FIX IT SELF. BUT W.E"

Put then it came again I fix it again with a different move

if the Vcam is following the player Real real good thats ur problem.
make it follow slower or something. Thats HOw i fix mine again xD

Like:

put this on Vcam

Follow = _root.player
this._y = this._y+((Follow._y-_y)/4);
this._x = this._x+((Follow._x-_x)/4);

Showing 1-4 of 4