Welcome Guest ( Log In | Register )

[ Big| Medium| Small] -



Post new topic Reply to topic  [ 5 posts ] 
    corleonis
  Mon Apr 14, 2014 3:29 am
Cor Leonis
User avatar
Member

Party Mascot

Location: Scarborough, England
Hi, I'm after a quick tip for vx ace (I've just started using it yesterday as I usually run xp)

I'm using a rather large sprite for a side scrolling game that I'm working on as a side project.
however due to the sprites large nature, having the sprite positioned in the center of the screen means that I get a little too much floor and not enough of anything else.

what I am after is a tip on how to set the camera to still follow the player, but be offset so that the player is lower down on the screen.

I would just position the character towards the bottom of the map but there will be parts of this game where you descend so that wont work properly.

any help on this matter would be much appreciated.

thanks.

_________________
Image
Xxx-CorLeonis-xxX


Last edited by corleonis on Tue Apr 15, 2014 5:09 am, edited 1 time in total.

Top Top
Profile      
 

    Xilef
  Mon Apr 14, 2014 10:56 am
User avatar
Staff

Big Dumb Guy

Location: UK
The camera only corrects itself when you move up doesn't it?
There's a few things I can suggest, but the first one would be pan the camera upward every time the player moves upward


Top Top
Profile      
 

    corleonis
  Mon Apr 14, 2014 4:53 pm
Cor Leonis
User avatar
Member

Party Mascot

Location: Scarborough, England
yeah but the camera starts off too low, what I want is to permanently set the cameras Y axis to 96px higher than it usually would be so the player is always lower on the screen.

_________________
Image
Xxx-CorLeonis-xxX


Top Top
Profile      
 

    Amy
  Mon Apr 14, 2014 5:18 pm
User avatar
Staff

Big Dumb Guy
I don't have the editor in front of me, but the centre coordinates are just numbers in scripts, so do ctrl+shift+f in the script editor to bring up the global search, search for "center", and look for something there, tinker with the numbers and see what you get.


Top Top
Profile      
 

    corleonis
  Tue Apr 15, 2014 5:12 am
Cor Leonis
User avatar
Member

Party Mascot

Location: Scarborough, England
thanks very muchly, I found it in the end thanks to you telling me about ctrl+shift+f, you can see the result if you like on the screenshot thread, I'm sure you will see why I needed to adjust the camera and will probably appreciate the work I have done so far on this project.

once again, thanks for the help.

_________________
Image
Xxx-CorLeonis-xxX


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


Who is online

Users browsing this forum: No users and 19 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

cron
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