Jump to content

Announcing our new website

To find out the latest about our new website, visit Game Dev Unlimited

- - - - -

scroll to event?


  • You cannot reply to this topic
2 replies to this topic

#1 diagostimo

    Loyal Member

  • Member
  • 169 posts

Posted 29 January 2012 - 03:32 AM

hi, i was just wondering if it would be possible to set an event to scroll the camera to lock on another event, here is the event i want to do it with:
Attached File  pulleyevent.png   49.24K   7 downloads
so as you can see the switch allows you to control a pulley to move left or right, but i need the camera to lock onto the pulley at the start of the sequence, as the pulley can move out of the see-able area from the switch, and the the camera to center back onto the player at the end of the sequence.

Edited by diagostimo, 29 January 2012 - 03:33 AM.


#2 Moonpearl

    Extreme Member

  • Member
  • 200 posts

Posted 29 January 2012 - 01:27 PM

You can't lock the camera onto an event as such, but what you can do is to give the event a Scroll Map command along with the Set Move Route command, set to move one step in the same direction, and using the same speed as the moving event's.

#3 diagostimo

    Loyal Member

  • Member
  • 169 posts

Posted 29 January 2012 - 09:12 PM

ye i have been using the scroll map comand along with variables to determine the pulleys position, at the moment i have a mess of variables set up, it works to a certain extent but the camera is not acurate and sometimes overblows it when returning to the player depending where i leave it, i have a demo here if you or anyone fancys having a better look at it:
http://www.mediafire...si1ib78cbdrv2ud
the switch i have been messing with is the top one from the spawn point

Edited by diagostimo, 29 January 2012 - 09:13 PM.






0 user(s) are reading this topic

members, guests, anonymous users