[XP] Camera Pan Control System 1

0 Members and 1 Guest are viewing this topic.

**
Rep:
Level 88
Romeo.
The latest Camera Pan Control System is version 3!
 
Requires
4 Common Events
3 Variables
2 Switches
 
Common Events
Activating Camera pan
Trigger: Parallel Process
Switch: 0001: Camera Common Event
Event Commands
- Conditional Branch: Script: Input.press?(Input::L)
-- Switch: [0002: Camera Pan] = ON
-- Else Handler
-- Switch: [0002: Camera Pan] = OFF
-- End
 
Camera Pan Activated
Trigger: Parallel Process
Switch: 0002: Camera Pan
- Conditional Branch: Script: Input.press?(Input::L)
-- Conditional Branch: Script: Input.press?(Input::UP)
--- Pan Screen: Up, 1, 4 (Direction, Tile space, Speed)
-- Conditional Branch: Script: Input.press?(Input::DOWN)
--- Pan Screen: Down, 1, 4 (Direction, Tile space, Speed)
-- Conditional Branch: Script: Input.press?(Input::LEFT)
--- Pan Screen: Left, 1, 4 (Direction, Tile space, Speed)
-- Conditional Branch: Script: Input.press?(Input::RIGHT)
--- Pan Screen: Right, 1, 4 (Direction, Tile space, Speed)
--- End
-- End
 
Updating player variables
Trigger: Parallel Process
Switch: 0001: Camera Common Event
Event Commands
Variable: [0001: MAP ID] = MAP ID
Variable: [0002: Player X] = Player X Coords
Variable: [0003: Player Y] = Player Y Coords
 
 
Taking away player movement
Trigger: Parallel Process
Switch: 0002: Camera Pan
- Conditional Branch: Script: Input.press?(Input::L)
-- Move Event: Player (Check repeat)
: Wait 1 Frames
-- Else Handler
-- Move Event: Player (Don't check repeat)
: Wait 1 Frames
-- Teleport: By Variables: [0001][0002][0003], No fade
-- End
 
 
Screenshots

Player's original spot

Set in camera moving mode
Camera pans a little more
More camera panning
 
File to download (Optional for this system.)
« Last Edit: February 23, 2014, 04:18:04 PM by modern algebra »

*
Rep:
Level 97
2014 Best RPG Maker User - Engine2014 Most Unsung Member2013 Best RPG Maker User (Scripting)2012 Favorite Staff Member2012 Most Mature Member2012 Best RPG Maker User (Scripting)2012 Best MemberSecret Santa 2012 ParticipantProject of the Month winner for July 20092011 Best RPG Maker User (Scripting)2011 Best Veteran2011 Favourite Staff Member2011 Most Mature Member2011 Best Use of Avatar and Signature Space2010 Favourite Staff Member2010 Most Mature Member
That looks pretty nice. Very nice system, Punk.

EDIT:
Though I am curious as to why you use teleportation rather then just disabling player movement.
« Last Edit: November 06, 2007, 09:46:20 PM by modern algebra »

*
A Random Custom Title
Rep:
Level 96
wah
Lol. Looks nice. What's with the mapping, though? :P

**
Rep:
Level 88
Romeo.
Whoopsies. That was the old camera pan. The new one disables player movement and pans right back to the player. *gets CPCS3*