Brain Pieces
The actual brain parts you have to copy are written in this font.
Any brain with movements or\and rotations requires the following :
velocity_update(element) for movements.
spin_update(element) for rotations.
;HEADER
var xtemp=0
var spdx=0
var spdy=0
;MAIN
xtemp=mouse_y()
mouse_set(319,xtemp)
spdx=[100*[mouse_y()-239]]
rotation_x_set(element,spdx)
spdy=[-1*[75*[mouse_x()-319]]]
rotation_y_add(element,spdy)
userele target
;The element you want the camera to focus on.
position_x_set(element,position_x(target))
position_z_set(element,position_z(target))
;If 'position_z_set(element,position_z(target))' doesn't work, try putting a 'y' instead of the 'z'.
rotation_x_set(element,90)
;Initialisation section
var b=0
userint spd=0
;Element's speed.
;Main section
b=last_animation_frame(element)
animate(element,1,b,spd)