Game Maker Studio: How to Create a Seesaw Platform?

Channel:
Subscribers:
268
Published on ● Video Link: https://www.youtube.com/watch?v=mgZpCzHRJe0



Duration: 12:22
151 views
0


GMX File: https://bit.ly/3gDO99k

Degree Wheel: https://bit.ly/35AHoyH

Next Week: How to Create a Blink In and Blink Out Platform?

Note: The Seesaw is in three parts, you have hitarealeftside, hitarearightside, and obj_straight platform. If you want to make copies of the Seesaw, and put them throughout the game. The easiest way, is to copy and paste the three parts. Be sure your Snap X and Snap Y are set to 1, so you're objects do not jump around, then Click with your mouse on the first object while holding down with the Shift Key, and clicking on the other objects of the Seesaw. Once all three parts are selected, you can press Ctrl C to Copy the parts, then Ctrl V to Paste the parts. Then drag parts with mouse cursor some place else in the room.

Note: You can also change the Color Blend of other Seesaw object, simply just click on the object you want to change the Color Blend on, then under the objects tab, go to Colour and choose a Color. This will only change Color blend of just one of your Seesaw's, even tho you are using the same object.Note: hitarealeftside, and hitarearightside you can scale images in Game Maker Studio

Note: hitarealeftside, and hitarearightside you can scale images with GMS. Click on object and drag a corner square and drag image to make smaller or larger.


obj_angle_right, Solid


Events:


Create


Actions:


image_angle=330 ////Changes the straight platform to an angle.


Set Alarm 0 to 20


Events:


Alarm 0


Actions:


image_angle=0 ///Changes the angle back to straight platform.




obj_angle_left, Solid

Events:

Create

Actions:

image_angle=210 ////Changes the straight platform to an angle.

Set Alarm 0 to 20

Events:

Alarm 0

Actions:

image_angle=0 ///Changes the angle back to straight platform.




hitarealeftside, and hitarearightside, Depth -1 and Not Visible







Tags:
game
maker
studio
windows
pc
computer
device
android
hit
area
block
platform
player
collision
move
jump
fall
angle
image
speed
right
left
straight
free
fix
teach
learn
show
find
step
set
direction
change
instance
motion
alarm
execute
code
snap
mouse
keyboard
vk
color
blend
select
copy
paste
drag
solid
object
obj
create
scale