The Daily Click ::. Forums ::. Klik Coding Help ::. scrolling
 

Post Reply  Post Oekaki 
 

Posted By Message

Xio



Registered
  21/01/2008
Points
  218
20th August, 2008 at 03:35:16 -

http://s47.photobucket.com/albums/f171/Xiosolo/?action=view¤t=help.flv

i want to know how to do that scrolling in this video and i already asked the guy that made that game another thing and i dont want to fill his email with questions


f.y.i. the game is called

I Wanna Be The Guy by Kayin

 
Squigy my blob

maker of music
8-bit music though

Jon C-B

I create vaporware

Registered
  23/04/2008
Points
  237

I'm an alien!VIP MemberWii OwnerI donated an open source project Santa Hat
20th August, 2008 at 03:56:51 -

No idea but I wanna know too

 
n/a

Cecilectomy

noPE

Registered
  19/03/2005
Points
  305

Has Donated, Thank You!VIP MemberWeekly Picture Me This Winner!Cardboard BoxGhostbuster!Pokemon Ball!ComputerBox RedSanta HatSnowman
I am an April Fool
20th August, 2008 at 04:08:14 -

just have values for the cameras x and y position. and when you go out of the visible play area. set the new x and y camera positions.

 
n/a

Xio



Registered
  21/01/2008
Points
  218
20th August, 2008 at 04:32:38 -

can you explain a bit more its confusing


 
Squigy my blob

maker of music
8-bit music though

Xio



Registered
  21/01/2008
Points
  218
20th August, 2008 at 05:31:10 -


Originally Posted by just cecil
just have values for the cameras x and y position. and when you go out of the visible play area. set the new x and y camera positions.




wait, so when he gets out of the play area new center screen thing? ugh

 
Squigy my blob

maker of music
8-bit music though

Cecilectomy

noPE

Registered
  19/03/2005
Points
  305

Has Donated, Thank You!VIP MemberWeekly Picture Me This Winner!Cardboard BoxGhostbuster!Pokemon Ball!ComputerBox RedSanta HatSnowman
I am an April Fool
20th August, 2008 at 05:46:45 -

http://legendkpr.startlogic.com/files/scrollexample.zip

 
n/a

Cecilectomy

noPE

Registered
  19/03/2005
Points
  305

Has Donated, Thank You!VIP MemberWeekly Picture Me This Winner!Cardboard BoxGhostbuster!Pokemon Ball!ComputerBox RedSanta HatSnowman
I am an April Fool
20th August, 2008 at 05:51:13 -


Originally Posted by Xio

Originally Posted by just cecil
just have values for the cameras x and y position. and when you go out of the visible play area. set the new x and y camera positions.




wait, so when he gets out of the play area new center screen thing? ugh



its not THAT difficult. the example is only 7 events. the scrolling is 6 of them. its really THAT EASY.

 
n/a

Xio



Registered
  21/01/2008
Points
  218
20th August, 2008 at 05:59:03 -

oooo ok i get it thanks oh and i like the little guy lol

 
Squigy my blob

maker of music
8-bit music though

Cecilectomy

noPE

Registered
  19/03/2005
Points
  305

Has Donated, Thank You!VIP MemberWeekly Picture Me This Winner!Cardboard BoxGhostbuster!Pokemon Ball!ComputerBox RedSanta HatSnowman
I am an April Fool
20th August, 2008 at 06:06:40 -

that scrolling can be modified to be more like zelda scrolling. when you get to the edge of the screen, instead of going directly to the new screen center, you can stop everything else, scroll the center of the screen to the new one then release everything again.

a bit more complex and requires you to activate and deactivate groups. also recommended you not use any built in movements. otherwise youd have to stop all movements as well. then start them again appropriately.

im glad you liked the guy

 
n/a

columbo borgi :C



Registered
  07/12/2003
Points
  296

VIP Member
20th August, 2008 at 10:46:08 -

http://borgi.extra.hu/scrollexample.mfa

here is a bit more simple code for that scrolling, now tha scrolling takes only 1 event. i hope it helps.

 
:C

Cecilectomy

noPE

Registered
  19/03/2005
Points
  305

Has Donated, Thank You!VIP MemberWeekly Picture Me This Winner!Cardboard BoxGhostbuster!Pokemon Ball!ComputerBox RedSanta HatSnowman
I am an April Fool
20th August, 2008 at 11:39:43 -

yeah im always afraid to use that cause of the division. ive done things like that before (snap to grid) and it didnt quite work for some reason. i hate how mmf utilizes floats. i dont even bother anymore.

 
n/a

Jon C-B

I create vaporware

Registered
  23/04/2008
Points
  237

I'm an alien!VIP MemberWii OwnerI donated an open source project Santa Hat
21st August, 2008 at 14:48:41 -

Borgi's way worked fine in my test app.

 
n/a

Cecilectomy

noPE

Registered
  19/03/2005
Points
  305

Has Donated, Thank You!VIP MemberWeekly Picture Me This Winner!Cardboard BoxGhostbuster!Pokemon Ball!ComputerBox RedSanta HatSnowman
I am an April Fool
21st August, 2008 at 15:06:58 -

i know it works. i wouldve done that but mmf is stupid sometimes and im discouraged to use methods that rely on floated values to be rounded to the nearest integer. i wasnt saying he was wrong

 
n/a
   

Post Reply



 



Advertisement

Worth A Click