Welcome Guest ( Log In | Register )

[ Big| Medium| Small] -



Post new topic Reply to topic  [ 4 posts ] 
    HiPoyion
  Sun Jan 20, 2013 2:09 am
S Q U E E Z Y T R I G G E R
User avatar
Sponsor

Generic Townsperson

Location: Brighton
Edit:
Okay, so my friend helped me make the NPC. I've even made an enemy that can be killed in 2 hits. I might make a tutorial later.
But I still need help with the zelda styled scrolling.
I'm sure you know the one I'm talking about, right?

_________________
Image


Top Top
Profile      
 

    coyotecraft
  Sun Jan 20, 2013 7:44 am
User avatar
Sponsor

Big Dumb Guy
I can think of a couple ways.
The easiest is invert "when ____ on screen" scroll to position. So if the Player or sprite is not on the screen, It'll scroll to a new position on the layout.
But you probably want each room or area to be a different layout. I don't think you can "scroll" from one layout to another. But you can fake it. Use dummy graphics of the surrounding areas on that layout. So when the player gets to edge of a map you slide the dummy graphics to the center of the screen, then go to the new layout. Make sense?


Top Top
Profile      
 

    onzephyr
  Sun Jan 20, 2013 9:14 am
User avatar
Awesome Bro

I used a map scroll style similar to Zelda's for my drunken wizard game.

Here is an example file of how I did it.
Zelda_map_movement.capx

like Coyotecraft said there are lots of ways to do it. I chose this way because it allowed me to simply position rooms were I wanted them and not have to think about the camera.

_________________
Image


Top Top
Profile      
 

    HiPoyion
  Sun Jan 20, 2013 9:26 pm
S Q U E E Z Y T R I G G E R
User avatar
Sponsor

Generic Townsperson

Location: Brighton
coyotecraft wrote:
I can think of a couple ways.
The easiest is invert "when ____ on screen" scroll to position. So if the Player or sprite is not on the screen, It'll scroll to a new position on the layout.
But you probably want each room or area to be a different layout. I don't think you can "scroll" from one layout to another. But you can fake it. Use dummy graphics of the surrounding areas on that layout. So when the player gets to edge of a map you slide the dummy graphics to the center of the screen, then go to the new layout. Make sense?

Hmm, this is the way I was planning on doing it, but it didn't like my computer. Sometimes it would just not work...
I know it might just be my computer, but if I can't get it working on my own computer then I need to try a different method...
onzephyr wrote:
I used a map scroll style similar to Zelda's for my drunken wizard game.

Here is an example file of how I did it.
Zelda_map_movement.capx
like Coyotecraft said there are lots of ways to do it. I chose this way because it allowed me to simply position rooms were I wanted them and not have to think about the camera.

I like the way this is done... I might try and attempt to do it this way.

_________________
Image


Top Top
Profile      
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 


Who is online

Users browsing this forum: No users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

We are an independent, not-for-profit game making community.
Homepage
Board Index
About Us
Downloadable Games
Free Browser Games
Games in Development
RPG Maker Support
Game Maker Support
Construct 2 Support
HBGames the eZine
Advanced RPG Maker
Site Announcements
Powered by phpBB © phpBB Group