Galv 1,387 Posted October 20, 2012 (edited) Cam Control - Version 1.3 Galv Introduction Designed to give a little added control over the screen position/camera.Features Three simple script calls to: - Lock the camera to x, y coordinates. - Make the camera follow an event - Set camera back to player The player can still move while the camera is locked to coordinates or another event and the camera will not follow until it is set back to the player. - Added automatic scrolling to the x,y location, player or event.Screenshot So these script postings look boring without a screenie... I had to add one even though it's quite pointless haha.How to Use Place script under Materials and above Main. Read script instructions for script calls.ScriptGet it here EDIT: A more advanced camera script of mine can be found hereFAQ None yet.Credit and Thanks - Galv Requested by ze1 and Draconis KenjishiyaAuthor's Notes I wasn't paying attention to this thread but KilloZapit wrote a snippet for centering camera on an event that looks better than what I can do:http://www.rpgmakervxace.net/topic/7569-change-center-of-screen-to-follow-event/Updates 2013-03-18 - Version 1.3 - Fixed a bug when following events a scrolling parallax stopped moving. 2013-03-05 - Version 1.2 - Now scrolls map to the event or target you set the camera to follow 2012-10-24 - Version 1.1 - updated alias naming for compatibility with my own scripts. (Yes, lol.) Edited October 10, 2015 by Galv 3 Share this post Link to post Share on other sites
Blues 0 Posted October 20, 2012 Wow, really good script. It can be very useful for scenes. Share this post Link to post Share on other sites
Caveras 40 Posted October 20, 2012 Oh, I can use that for my race event thanks man, good work! Share this post Link to post Share on other sites
ze1 6 Posted October 20, 2012 Thank you very much! =D This will be of much use to me! Share this post Link to post Share on other sites
Galv 1,387 Posted March 5, 2013 Upgraded this old script to be able to scroll the camera to events or positions on the map as well as keeping the ability to snap instantly to them if required. 1 Share this post Link to post Share on other sites
KayDgirl91 99 Posted August 26, 2013 This is an amazing script! Very well done! I'll definitely be using this in my game. Question. Would it be possible at all to make it so that if a switch is turned on, or if a condition in the script is set to true, if the player leaves the screen it can do something? For example, you know those old side scrolling games (like mario) and some of the levels the camera moved on its own and if you hit the end of the screen it would either push you, or you would die. Would it be possible to add something like that to this? Share this post Link to post Share on other sites
Galv 1,387 Posted August 26, 2013 It would be possible but It's not something I will add to this script. I suggest making a script request for that Share this post Link to post Share on other sites
+ Novem 344 Posted August 26, 2013 Very cool Galv, I'm sure I could come up with some use for this. I have too many scripts in my game, but people just keep putting out such cool stuff, xD Share this post Link to post Share on other sites
KayDgirl91 99 Posted August 26, 2013 Sounds good Galv, thanks! I think that I'll just make use of variables to do what I need it to. Again, great script! As usual. Share this post Link to post Share on other sites
AeghtyAteKees 11 Posted February 21, 2015 Hey, Galv, could I request a feature? Would it be possible to add locking of the x OR y coordinates? So the cam will appear to scroll as normal but not past, say, y = 32? I've been using this script forever now, and I've tried to find ways to make this specific idea work but I just can't. Helps? Thank you! Share this post Link to post Share on other sites
Galv 1,387 Posted February 21, 2015 Sorry, no time for requests. This is an old script, one day if I rewrite it I will see about including that. Share this post Link to post Share on other sites
Rinober 11 Posted March 18, 2015 (edited) Hey Galv, sorry for bothering, but I have a bug which occurs in this script. I like this script very much and it is quite important for my game. But when I move the camera to specific coordinates and then the camera moves back to the player, the screen sometimes starts to shake while moving back. I can live with that, but sometimes the game freezes (it's rare and quite random) after the camera set to the player while still shaking. Do you have an idea what's wrong here? Edited March 18, 2015 by JasonWeal Share this post Link to post Share on other sites
Galv 1,387 Posted March 18, 2015 The script only works with default screen size. That happens with larger screen sizes, I haven't fixed this yet. 1 Share this post Link to post Share on other sites
IMUNME 3 Posted October 6, 2015 Hello, I'm having a small issue with the script. I'm pretty sure it's no big deal but I can't figure out how to fix it. I'm using both the Cam Control script and Hime's 2 players switch script. When I switch the player while the cam control is activated the parralax background refreshs and loops back from the beginning of the loop sequence. This makes for a weird cutting effect in the background. Is there a way to bypass the parralax refresh or something? Thank you in advance! FM Share this post Link to post Share on other sites
Galv 1,387 Posted October 10, 2015 Sounds like the scripts are not compatible. Unfortunately I don't have time to investigate what would cause that. I have, however, added an improved camera script that you might want to try, but I cannot promise compatibility with this one, either. http://galvs-scripts.com/2015/10/09/cam-slide-control/ Share this post Link to post Share on other sites