User Tag List

Results 1 to 7 of 7

Thread: Castlevania Style scrolling movement?

  1. #1
    Clicker Multimedia Fusion 2

    Join Date
    Mar 2009
    Location
    Australia
    Posts
    254
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Castlevania Style scrolling movement?

    Hi, I was wondering if anybody knew how I would go about making a character move seamlessly from one frame into the next in much the way same you move between rooms/areas in the castlevania GBA & DS games: for example if I jump off the first screen i want the jump to finish in the next frame as though i had just jumped into the next room rather than having the screen fade out and back in and the character be created at a new position in a static pose - would i need to figure something out with global values perphaps?
    Any help and suggestions would be appreciated

    Oh and I plan on using the Platform Movement object extension for character movement

  2. #2
    Clicker Multimedia Fusion 2iOS Export ModuleXNA Export Module
    Asholay's Avatar
    Join Date
    Nov 2008
    Location
    England
    Posts
    360
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Castlevania Style scrolling movement?

    For the scrolling part, you could just use a small invisible active object which sits it the middle of the first screen. Ensure that the scrolling centres around this object - not the player. Then, when you reach an edge of a new one, move the invisible object (perhaps create advanced paths?, or manually move it using x & y positions - do it smoothly though, not just a single speed - accelerate/decelerate it)

    You'd need to add the pause mechanism in here while the screen is scrolling - perhaps give the invisible object a flag which switches to 'on' when it moves - then have it so that while the flag is on, stop your active objects from moving.

    Ash

    Edit- just reread your post, and you mentioned changing the frame seamlessly. My response is based on how I would imagine Castlevania would be coded in MMF - i.e. one large level with scrolling, rather than individual screens (like a Zelda game as well).

    Using the above method means you just have to code for one level rather than loads of separate game frames, which certainly helps when you tweak the game later on!

  3. #3
    No Products Registered

    Join Date
    Dec 2007
    Posts
    18
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Castlevania Style scrolling movement?

    create a active box 1 pixel wide and in script put when player touches box jump to scene.....

  4. #4
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    mobichan's Avatar
    Join Date
    Oct 2007
    Location
    Buffalo, NY
    Posts
    3,310
    Mentioned
    28 Post(s)
    Tagged
    0 Thread(s)

    Re: Castlevania Style scrolling movement?

    In regards to the jumping question: If you do make your areas into individual frames, you could store the y position to a global variable (or player variable if the player is a global object) when you exit a frame. Then set the y position of your player to that variable's value when you start the new frame. Of course, this depends on how you do your jumping code. But doing the method above (where all the areas are in one frame) would simplify things so you wouldn't need to store variables.

  5. #5
    Clicker Multimedia Fusion 2

    Join Date
    Mar 2009
    Location
    Australia
    Posts
    254
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Castlevania Style scrolling movement?

    Thanks for your responses guys
    Asholay - I actually planned on making each room a seperate frame in the hope that it might make programming some unique movements for the enemies easier and by that i mean my event editor wouldn't be crammed with confusing conditions etc for a large variety of bad guys i would only be required to program those in the current room/frame - (it's also the reason i'm using PMO instead of a custom movement) regardless i'll do some tests with both Mobichan's & your suggestion and see how it works out

    Mobichan - Global value works well for the positioning between frames so far and i'm thinking I might be able to do something with the the PMO's variables to get that seamless feel of moving straight into the next frame - however i predict things may become difficult to log once i come to the animation stage

    just as an aside has anyone experienced problems with Collision testing and advancing to the next frame when using the PMO because when i used the built in platform movement everything was fine but once i redid everything with the PMO all of a sudden it wouldn't even recognise my character overlapping the detector i set for advancing to the next frame?

  6. #6
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    mobichan's Avatar
    Join Date
    Oct 2007
    Location
    Buffalo, NY
    Posts
    3,310
    Mentioned
    28 Post(s)
    Tagged
    0 Thread(s)

    Re: Castlevania Style scrolling movement?

    You might need to post the file so we can see what you are doing to detect the detector.

  7. #7
    Clicker Multimedia Fusion 2

    Join Date
    Mar 2009
    Location
    Australia
    Posts
    254
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Castlevania Style scrolling movement?

    Started from scratch and the detector problem disappeared, i can't say i'm having much luck on getting an effective scroll working but did recently manage to find an example of what i'm after on another forum so i'll take a look later and see if i can develope my own scrolling from the example.

Similar Threads

  1. Castlevania Style staircases
    By Atherton in forum Multimedia Fusion 2 - Technical Support
    Replies: 11
    Last Post: 24th June 2009, 05:17 PM
  2. Knytt Style Scrolling?
    By Jaleis1nsane in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 22nd May 2009, 03:13 PM
  3. Castlevania style Skeleton dagon thingies?
    By Atherton in forum Multimedia Fusion 2 - Technical Support
    Replies: 10
    Last Post: 17th May 2009, 02:05 PM
  4. scrolling: mario style
    By mexx_admin in forum The Games Factory 2 - Technical Support
    Replies: 9
    Last Post: 24th November 2006, 04:54 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
  •