Game Maker Studio: How to Create a Animated Torch with Light Follow?

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



Duration: 18:03
179 views
0


Visit my Game Jolt site: https://bit.ly/3i6iSdF

Paypal Donate: https://bit.ly/30e8VDZ

GMS File:
Orange and Blue Flame: https://bit.ly/2YOdgwY
Orange Flame: https://bit.ly/3b9v2j8

Without Surface Light: Should work with Windows and Android
Orange Flame: https://bit.ly/3h1Gs9O
Orange and Blue Flame: https://bit.ly/2QTD0DR

Code File: https://bit.ly/3bcszEH

Note: The object Control is not needed. I deleted Control object and the flame still animated. The code thats in the Control object, is also placed in the obj_torch_bottom, thats why the torch is in the room.

obj_torch_bottom

Events:

Create

Actions:

if room != room0 ////be sure to change your room to room0, so you can get rid of the second room without an error. Second room not needed.
{

}

{
flame = instance_create(x,y,Flame) //Create the flame
flame.direction = image_angle+90 //set it's direction up.
}


Events:

Alarm 0 and Alarm 1

Actions

if room != room0 ////be sure to change your room to room0, so you can get rid of the second room without an error. Second room not needed.
{

}

{
flame = instance_create(x,y,Flame) //Create the flame
flame.direction = image_angle+90 //set it's direction up.
}




Other Videos By MC Designs


2020-10-03Game Maker Studio: How to Create a Fade In & Fade Out, using Code?
2020-09-25Game Maker Studio: How to Create a Flame & Smoke Effect?
2020-09-20Game Maker 8.1: How to Create Key Hover, & Door Opening from the Bottom to the Top?
2020-09-19Game Maker Studio: How to Create a Custom Load Message?
2020-09-19Game Maker 8.1: How to Make Card Key go, from Top to Bottom?
2020-09-12Game Maker Studio: How to Create Orb Hover?
2020-09-12Game Maker Studio: How to Create a Different Spin, using Code?
2020-09-06Game Maker Studio: How to Spawn Stars in Space?
2020-09-06Game Maker Studio: How to Click on a Button for Full Screen?
2020-09-05Game Maker 8.1: How to Cycle you're Weapons & Fixing Glitches?
2020-08-30Game Maker Studio: How to Create a Animated Torch with Light Follow?
2020-08-22Game Maker 8.1: How to Create a Name Bar & Blood Splatter Effect?
2020-08-16Game Maker Studio: How to Collect, Cycle, & Use you're Items?
2020-08-15Game Maker Studio: How to Create a Blood Splatter Effect?
2020-08-08Game Maker Studio: How to Create Swing Axes, using Smooth Image Angle Rotation?
2020-08-07Game Maker Studio: How to Create 8 Direction Movement & Enemy Follow?
2020-08-01Game Maker Studio: How to Create a Smooth Image Angle Rotation?
2020-07-25Game Maker Studio: How to Create a Light Follow?
2020-07-18Game Maker Studio: How to Create a Custom Message Box?
2020-07-11Game Maker 8.1: (Part2) How to Use True 3D Objects in you're game?
2020-07-03Game Maker 8.1: (Part1) How to Use True 3D Objects in you're game?



Tags:
game
maker
make
learn
how
light
follow
torch
flame
fire
windows
create
area
glow
animate
animation
wall
surface
lighting
dark
darkness
slow
small
moving
move
hall
depth
image
alpha
destroy
speed
max
flicker
effect
random
blend
mode
sprite
bottom
object
draw
bm
normal
reset
target
instance
angle
direction
change
alarm
timer
if