Get Element Earth ▶
Support this channel ▶
Follow me on Facebook ▶
Follow me on Instagram ▶
Follow me on Twitter ▶
Follow me on Google+ ▶
▼ More ▼
General Game Maker Playlist ▶
Game Maker Networking ▶
This tutorial was suggested by a subscriber! Watch as I demonstrate how easy it is to create a neat little transparent minimap for your game!
▼ Useful Links and Resources ▼
GameMaker Studio Project File ▶
Happy Coding 😀
Nguồn: https://top100vn.com/
Xem thêm bài viết khác: https://top100vn.com/game
Fantastic tutorial, very clear and the map works really well.
With (obj_remoteplayer)?????? What
Awesome! Thanks! 🙂
gta 3 style mini-map circle make transparent
so my minimap is being drawn twice. One that is not transparent (like its just an object and seems static) and the other that is correct. I changed the x y also for my views because it didn't work the other way for me. ANy ideas?
"they are stupid as hell" lmao that's was good. My first laugh of the day 🙂
Great Tut
What if i want to make the minimap round and why if i have an helicopter that goes out of the room, that is seen in the minimap.
How you fix that?
what if on the map i want only the game room and the player
no other players/enemies
i'm in love with that enemy that went off the map 💖
If you have a game where instances can leave the room boundaries, this addition to SlasherXGAMES' DrawGUI event code, will stop the mini map from drawing outside of itself and onto your main game screen. (Just use the clamp function!)
with (some object)
{
var rx = clamp(x, 0, room_width) * other.minimap_percent;
var ry = clamp(y, 0, room_height) * other.minimap_percent;
draw_sprite_ext(spr_minimap_friendly, 0, other.x + rx, other.y + ry, other.minimap_percent, other.minimap_percent, 0, c_red, 0.7)
}
Any idea how you would make it so you can click on the minimap and make the view jump to that position?
What if levels are dynamically created?
Is it possible to translate this to 3D? When I try it doesn't show up, so I'm wondering how exactly you could, if you know that is.
@SlasherXGAMES ™ How do i make this minimap be used in 2 rooms? When i paste the object_minimapview into room 02, it says drawing non-existing sprite.
PLEASE PLEASEHELP! ASAP!
@SlasherXGAMES ™ Wonderful Tutorial. I had an error at first. However, after try and error. I figured out the necessary changes to make to my game. Thanks alot for this tutorial and it sure helped alot in my game minimap process! Kudos!
@SlasherXGAMES ™
Everything is the same as in Tutorial but it does not work. Pls help.
ERROR at line 10 pos 18: Unexpected symbol in expression.
10 var remoteX = x * other.minimapPercentage;
11 var remoteY = y * other.minimapPercentage;
I tried to implement this in my 3D first-person shooter game, but it doesn't work at all. I put it in the Draw GUI event instead of draw (this is how to draw it in the HUD for 3D), and the map doesn't draw at all when the game starts. Please help
How would I make the cut off of the mini map round?
I get this error:
FATAL ERROR in
action number 1
of Draw Event
for object obj_minimap:
Unable to find any instance for object index '1'
at gml_Object_obj_minimap_DrawGUI_1 (line 4) – heroX = obj_hero.x * minimapPercentage;
Great job
Hey!
I loved the tutorial it's great, I've just got stuck on this problem. The player on the minimap is off like 10 pixel horizontally, and I really don't know what the heck is wrong.
Looking forward to your answer!
hi slasherx, thank you for all the gamemaker studio tutorials, have you ever found a good video or forum post about customizing game controls in game (re-binding keys)? do you have to use an ini file to record the player key bindings? i have not found any youtube videos for this topic, i found a few forum posts for older versions of gamemaker and i found one asset for about $1 on the yoyo games market place. do you have any links or ideas on this topic?
mine is kindove off the screen a little. I really want to fix it! please somebody help!
awesome video, thank you
hello sir.. uhmm are u done with finding the object game?? im still waiting for u to upload it.. thank u sir..
Great tutorial. 🙂
woot finally. lol
this is so awsome i have wanted to know how to do this.