
This video tutorial shows you how to make a laser beam in gamemaker studio the advanced way. After that you can recreate a laser beam, do hit spark and hit impact effect. Basically a beefy dragonball style kamehame. 🙂
Plus a simple way to implement a collision.
Tileset by Matriax CC0
if you like his inca temple, consider supporting him!
Egg/Monster by buch CC3 sa by
michelebucelli.github.io/monsterpong
▶ Gamemaker Studio:
▶ Trial limitations:
♥ My free game Clunky souls:
♥ My assets:
Get some assets at itch.io
♥ Support me and get fresh game art and game maker projects every month:
Follow me on:
Nguồn: https://ijetmr.org/
Xem thêm bài viết khác: https://ijetmr.org/game/
Xem thêm Bài Viết:
- Nổ hũ club đón đầu giàu sang – Sân chơi game trực tuyến đẳng cấp
- Bật mí cách đọc vị xóc đĩa online chuẩn xác và chi tiết nhất
- Top 50+ Best Food Hat Custom Designs In Animal Crossing New Horizons – Design ID Code
- Ouija Board in Suicide Forest…| Aokigahara, Japan (scary)
- ECO | EP 6 | Quarry and Mortared Stone | Multiplayer ECO (S1)
so i build the laser and it works great, but when i have multible lazers i run into some massive lagspikes
For some reason the line goes briefly outside the laser for me
Noob Question: How would I make the laser beam continue until it hits a wall/solid object, instead of having it stop at mouse_x/mouse_y coordinates? Sorry if my question does not make sense.
For example: A rotating enemy turret that shoots a laser that is only stopped/blocked by a wall/solid object.
Useful as always. Nobody else covers these advanced topics as well. I think I speak for us all when I say we appreciate your efforts.
Why is there a for loop in draw for the sprite?, it's drawing 100's of times, incredibly inefficient, sprite only needs to be drawn once, no loop.
In forum Advanced programming section people found out that you can optimize for loops by having VAR you are checking in a loop (for example i < length) and optimize further in cases you already know loop count then use repeat instead.
Hi man !
Greats videos !
+1 sub!
Just need some help after 27:00, how can I make a lazer that kills only one ennemy even if there is many ennemies on the same line ?
Here is what i tried :
var hits = collision_line(x, y, xEnd, yEnd, obj_asteroid, 0, 0)
if (hits > 0)
{
instance_destroy(obj_asteroid);
}
the problem is : i'm killing all the asteroid. I knew it but idk how to make that it just destroy the asteroid which is hit by my lazer.
I would prefer decrease the x_scale/y_scale of the asteroid but let's first see if I can destroy them.
Hey man, how do you make it go in the same line as the character instead of following the direction of the mouse?
direction = point_direction(o_Player.x, o_Player.y, mouse_x, mouse_y ); -> can the angle be the enemy in front of you? or just throwing in front of you? can you do that?
Thanks !
hi man! thnx for video.
Buddy, could you make a video in the development of this video clip, where there will be an enemy who shoots a laser, as he needs time to aim , or that the laser followed the player, something like that?
You explained about light effects with shaders, are you planning about doing a tutorial about that?
you deserve more sub
nice!