Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //obj_controller step
- if view_current == 0
- {
- x = mouse_x;
- y = mouse_y;
- if keyboard_check( vk_left )
- {
- view_xview -= 10;
- }
- if keyboard_check( vk_right )
- {
- view_xview += 10;
- }
- if keyboard_check( vk_up )
- {
- view_yview -= 10;
- }
- if keyboard_check( vk_down )
- {
- view_yview += 10;
- }
- }
- //view[0]
- view_wview[ 0 ] = 2000;
- view_hview[ 0 ] = 2000;
- view_object[ 0 ] = obj_controller;
- view_hspeed[ 0 ] = 8;
- view_vspeed[ 0 ] = 8;
Advertisement
Add Comment
Please, Sign In to add comment