Steven M Posted February 19, 2009 Report Share Posted February 19, 2009 1) What's the name of the the effect achieved when the player walks in one direction from A to B to A again (Start from A > walk right to B > reach A > reach B again > etc) and the camera keeps scrolling in one direction without any sudden snapbacks? (If anyone here has played Retro Game Challenge, you'll know what I mean - you see it in the Haggle Man games.) EDIT: http://gamevideos.1up.com/video/id/22649 (gameplay video - better example) 2) How would you achieve said effect in MMF? Link to comment Share on other sites More sharing options...
Spike Posted February 19, 2009 Report Share Posted February 19, 2009 I would also like to know this for GM, if anyone knows. Link to comment Share on other sites More sharing options...
Blue Emerald Posted February 20, 2009 Report Share Posted February 20, 2009 I believe the effect you're referring to is called "wraparound." It's easier to recognize in games like Pac-Man, Bubble Bobble, and Mario Bros. As for how you'd go about doing that, I don't yet know. I would guess it would be something like "when object overlaps the right side of the frame, make it reappear on the left side of the frame." I'm pretty sure it has something to do with the sides of the frame, though. Link to comment Share on other sites More sharing options...
Steven M Posted February 20, 2009 Author Report Share Posted February 20, 2009 kaiyokan3k: Hiya. You busy?Auto response from LarkSS: ÍLarkSS: Steven M?kaiyokan3k: YepLarkSS: Heh, sup.LarkSS: Twas busy until now.kaiyokan3k: That's alright. I was going to ask you something, but I posted a thread on SFGHQ instead. http://sonicunited.org/hsfqmtif/forum/showthread.php?t=5306kaiyokan3k: Didn't really know who else to turn to, concerning fangame mechanics.LarkSS: hrmLarkSS: Trying to understand exactly what you want to do.LarkSS: Should I google Haggle Man?kaiyokan3k: It would probably help.kaiyokan3k: Wait.kaiyokan3k: Never mind. Sorry. Thought I could find a video for it on YouTube, but apparently not.LarkSS: Yeah, that's what I tried to do.kaiyokan3k: http://gamevideos.1up.com/video/id/22649LarkSS: lol jeezLarkSS: the video has horrible frame rate for me.kaiyokan3k: Same.LarkSS: Hold onLarkSS: I'll load it up on my school's laptop.kaiyokan3k: Ok.LarkSS: much betterLarkSS: but now it needs to buffer again.LarkSS: It just seems like a normal camera.LarkSS: Am I missing something?LarkSS: ooohLarkSS: I see it now.LarkSS: Or I think so.LarkSS: You're talking about when the camera scrolled to that creature?LarkSS: OrLarkSS: guy in a red suitkaiyokan3k: No, I mean the ninja guy walked past the 'A' door twice.LarkSS: ooooooohLarkSS: The endless level?kaiyokan3k: Exactly!kaiyokan3k: ...is that what it's called?LarkSS: Dude I was looking for the camera do to some sort of trick the entire time. =Pkaiyokan3k: God I feel so stupid.LarkSS: I'm not sure if it really has a name, but it's just a matter of having the player actually wrap around the edges of the level in a way that you can't tell.LarkSS: Usually, you'd just make the area you want and then a bit extra to the right. After you get to a certain point to the right where the area is supposed to loop, you move the player back along the X axis by the exact size of the area that loops.LarkSS: For exampleLarkSS: if the area is 512 pixels wide before it tilesLarkSS: then after the player gets to a certain position to the rightLarkSS: set his X position back by 512.LarkSS: If you do this correctly, he should go back to the left side and make it appear that the level is repeating forever.LarkSS: You'd pretty much to the same for going left too.kaiyokan3k: So there wouldn't be any problems if, for example, the player was teleported -512 pixels, and then immediately set off left? There'd be some space to the left of the frame for the player to walk into?LarkSS: Just make sure that if, for example, the level tiled by 512 pixels, maybe make three copies side by side of that so that when the player is supposed to wrap around the level, he doesn't see the "end" right before he gets moved to the other side.LarkSS: lolol question pretty much answered by that last thing I said =Pkaiyokan3k: Ha, fair enough.[/CODE] Link to comment Share on other sites More sharing options...
Recommended Posts