The Daily Click ::. Forums ::. Klik Coding Help ::. TGF2 Scrolling Issue
 

Post Reply  Post Oekaki 
 

Posted By Message

Roach



Registered
  29/01/2009
Points
  52

Has Donated, Thank You!360 Owner
4th August, 2013 at 04/08/2013 04:22:40 -

Also Virtual is 19000 x 19000 too btw. This works considering that 1000 extra pixels around the border of the map wont cause scrolling issues down the line.

Edited by Roach

 
Yesh.. pleaseh shave ush... from all ze money...

monkeytherat

Hero of Time Jr

Registered
  07/11/2010
Points
  1293

VIP MemberI donated an open source project
4th August, 2013 at 04/08/2013 04:40:35 -

Rule number 1: Never resize anything in MMF2
Rule number 2: Never handle off-screen collisions in MMF2

Also, your scenario has nothing to do with handling collisions out of the window, since the hitting of the switch happens on-screen. Setting flags should not present a problem.

It may be worthwhile to mention that the world in Metroid and super Metroid is not all in one frame, there are loading areas whenever you go through a door.

 
If you put a million monkeys at a million keyboards, one of them will eventually write a Java program.
The rest of them will write Perl programs.

Roach



Registered
  29/01/2009
Points
  52

Has Donated, Thank You!360 Owner
4th August, 2013 at 04/08/2013 04:52:17 -

I had considered that, however, the overlay would present a problem if I had to make multiple frames.

 
Yesh.. pleaseh shave ush... from all ze money...

lembi2001



Registered
  01/04/2005
Points
  608

VIP MemberIt's-a me, Mario!Wii OwnerI like Aliens!Has Donated, Thank You!PS3 OwnerI am an April Fool
4th August, 2013 at 04/08/2013 14:23:15 -

Why would the overlay be a problem?? You could still use the overlay and multiple frames

 
n/a

monkeytherat

Hero of Time Jr

Registered
  07/11/2010
Points
  1293

VIP MemberI donated an open source project
4th August, 2013 at 04/08/2013 18:57:29 -

I think he means the transitions, which only look tricky and are actually very easy to do. Just have a frame dedicated to transitions and have two global values to tell which way the character is moving and where the destination is.

 
If you put a million monkeys at a million keyboards, one of them will eventually write a Java program.
The rest of them will write Perl programs.

Roach



Registered
  29/01/2009
Points
  52

Has Donated, Thank You!360 Owner
4th August, 2013 at 04/08/2013 20:46:56 -

I have to fiddle with it when i get to that point... there will just be so many things that could change in one frame, that when you have to do back tracking, that frame would have to entirely different than when you first got there... having it all on one frame would make things so much easier... Everything is still in its infancy as of now...

 
Yesh.. pleaseh shave ush... from all ze money...

Roach



Registered
  29/01/2009
Points
  52

Has Donated, Thank You!360 Owner
4th August, 2013 at 04/08/2013 21:10:47 -

I have to fiddle with it when i get to that point... there will just be so many things that could change in one frame, that when you have to do back tracking, that frame would have to entirely different than when you first got there... having it all on one frame would make things so much easier... Everything is still in its infancy as of now...

 
Yesh.. pleaseh shave ush... from all ze money...

Jenswa

Possibly Insane

Registered
  26/08/2002
Points
  2723
8th August, 2013 at 08/08/2013 16:19:27 -

Have you got it scrolling yet?

I've no idea what the upper limit for level size is if there is a limit (probably there is). So I am not sure if that would be the problem.

What might a problem is that your character is falling out of the level and the scrolling therefore can't center the screen on your character.

I am just doing some guesses and making assumptions, since it wasn't (isn't, while posting) clear for me if you've got scrolling working already.

Happy coding!


 
Image jenswa.neocities.org
   

Post Reply



 



Advertisement

Worth A Click