User Tag List

Page 2 of 2 FirstFirst 1 2
Results 11 to 14 of 14

Thread: cavestory camera

  1. #11
    No Products Registered

    Join Date
    Jan 2008
    Posts
    11
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: cavestory camera

    hm, that seems to sort of work, but there's two problems, 1 it creates a really jagged bumpy looking walking for the character and camera movement and 2 it doesn't look look slightly more left or right when facing left or right

    I found this example
    http://www.clickteam.com/epicenter/ubbthreads.php?ubb=showflat&Main=7250&Number=48717 #Post48717
    the only problem with it is the camera does not speed up or slow down as in cavestory, this gives it a sort of jagged look

  2. #12
    No Products Registered

    Join Date
    Jul 2006
    Location
    Texas
    Posts
    1,225
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: cavestory camera

    Quote Originally Posted by jamesponds
    thanks lazy coder there's one problem though, I can't get the code to work:S
    I put in "X=(( "Camera" ) + X( "Player" ))/5" but I get cannot understand the expression, :S

    another thing is that if left or right in cavestory is pressed the camera moves slightly to the right or left, but very slowly increasing in speed
    You have to multiply the camera's value by 4. So it would be:
    X = (X("Camera") * 4 + X("Player"))/5
    What it's doing is just taking the mean (average) value of those 5 points, 4 of the points are the same, so they have 4x as much influence as the weaker one (Player) does. Just pretend there is also a " * 1 " next to the "X("Player"). You can change the numbers to anything you want, just be sure that they always add up to the number you're dividing by. (4 + 1 = 5)

    Hope that helps.

    EDIT: Oh and if you want the camera to be a little bit in front of the player, the easiest thing to do is to have an invisible object to center on instead of the player. And just have it so the invisible object is always moving towards the spot that the player will be in in 1 second. So basically just multiply that dimension's velocity by the framerate (the one you set, not the one the game is running at) and that should get it to look smooth... Come to think of it... that's really confusing. I'll make an example file for you!

  3. #13
    No Products Registered

    Join Date
    Jan 2008
    Posts
    11
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: cavestory camera

    that would be so help full haha I keep getting errors:S

  4. #14
    No Products Registered

    Join Date
    Jul 2006
    Location
    Texas
    Posts
    1,225
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: cavestory camera

    Ok here it is!

    http://www.clickteam.com/epicenter/ubbthreads.php?ubb=showflat&Number=73055#Post73055

Page 2 of 2 FirstFirst 1 2

Similar Threads

  1. IP Camera and Web Camera Extension for MMF2
    By droberson in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 2nd June 2010, 05:37 PM
  2. cavestory style frame transition
    By jamesponds in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 20th February 2008, 06:35 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •