User Tag List

Results 1 to 5 of 5

Thread: Frame Transition Like in Knytt

  1. #1
    No Products Registered

    Join Date
    Oct 2007
    Posts
    8
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Frame Transition Like in Knytt

    Well this is mainly aimed at Nifflas, but if anyone else knows thats cool.

    Basically in Knytt one of Nifflas's games there is some pretty smooth frame transitioning, im just wondering how this is acheived as i would like to do something similar in my current project.

    Thanks

  2. #2
    Forum Moderator Multimedia Fusion 2 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export ModuleXNA Export Module
    DizzyDoo's Avatar
    Join Date
    Oct 2006
    Location
    South England
    Posts
    718
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Frame Transition Like in Knytt

    Knytt actually doesn't have frames, the reasons are obvious if you think that there would have to be hundreds of separate frames. The smooth frame transitioning is just repositioning of the camera object.
    Cranktrain - Currently finishing a new game called The Cat Machine!
    @MattLuard on Twitter.

  3. #3
    No Products Registered

    Join Date
    Oct 2007
    Posts
    8
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Frame Transition Like in Knytt

    Yea thats what i thought, but how is this acheived?

  4. #4
    No Products Registered

    Join Date
    Jun 2006
    Posts
    259
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Frame Transition Like in Knytt

    You could do something with a camera object and a player object.

    The camera object would be at the top left corner of the screen, and so you would center the scrolling window at Camera X + Frame Width / 2, and Camera Y + Frame Height / 2

    Then the events would be something like:

    Player X is less than Camera X
    - Set Camera X to Camera X - Frame Width

    Player X is greater than Camera X + Frame Width
    - Set Camera x to Camera X + Frame Width

    Player Y is less than Camera Y
    - Set Camera Y to Camera Y - Frame Height

    Player Y is greater than Camera Y + Frame Height
    - Set Camera Y to Camera Y + Frame Height

    I have no idea if that works as I kind of made it up as I went along, but maybe it's something like that.

  5. #5
    No Products Registered

    Join Date
    Dec 2006
    Posts
    1,332
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Frame Transition Like in Knytt

    I believe he posted a movement example somewhere for the bouncing ball movement of Within A Deep Forest, and it used the same camera angle system. There are plenty of ways to do this though.

    ---EDIT---
    Found it!. There is only one event in the group scrolling, that is the one you need. http://www.clickteam.com/epicenter/ubbthreads.php?ubb=showflat&Board=5&Number=41356&S earchpage=1&Main=6294&Words=within+a+deep+forest&t opic=0&Search=true#Post41356

Similar Threads

  1. Custom Frame Transition
    By Earl in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 22nd March 2012, 08:14 AM
  2. Bug: Frame transition blocks "Frame position has just been loaded" condition
    By Corlagon in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 15th November 2011, 02:25 PM
  3. Natural Frame Transition Example
    By Warmachine in forum File Archive
    Replies: 2
    Last Post: 21st September 2010, 06:56 PM
  4. Frame Transition Example
    By nivram in forum File Archive
    Replies: 9
    Last Post: 11th June 2010, 04:08 AM
  5. Frame Transition
    By Skeets in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 13th October 2007, 12:19 PM

Posting Permissions

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