Making a Crash Dialog in GameMaker | Custom Error Handling

  Рет қаралды 3,935

GameMakerStation - Matharoo

GameMakerStation - Matharoo

Күн бұрын

Пікірлер
@GameMakerStation
@GameMakerStation 4 жыл бұрын
Hope you enjoyed the video, I thought this was a great new addition to GMS and that you should know about it! 💖
@thetruegoldenknight
@thetruegoldenknight 3 жыл бұрын
How do you make a custom image for a crash panel? Like instead of just plain text (a.k.a. "string"), I have a cute drawing I want people to see whenever the game crashes.
@jiaskacoding3646
@jiaskacoding3646 4 жыл бұрын
I've never had so much fun seeing an error message before.
@charKT-7461
@charKT-7461 4 жыл бұрын
1:50 imagine the easter eggs and references you could hide in the crash log. Kinda like what Minecraft does.
@carlitos5336
@carlitos5336 4 жыл бұрын
Woww that's true
@p3hwn1e
@p3hwn1e 4 жыл бұрын
Thank you for your continued great content. This channel is such a great addition to the community.
@RayFlowerGames
@RayFlowerGames Жыл бұрын
Thanks for recommending Sentry, it appears very powerful so far! Don't think I would have found it otherwise.
@Kat-01
@Kat-01 Жыл бұрын
would there be any way to do something similar to Sonic 3D Blast in how when the game crashes instead of crashing it just goes into a level select. so in GameMaker this would be go into another room without closing the game
@Mk2kRaven
@Mk2kRaven 4 жыл бұрын
To anyone reading this that is planning to use sentry.io, you *have* to use the function show_message(); or else no data will be sent to your sentry.io account. This was a headache for me since I had no idea this was needed for it to work, lol.
3 жыл бұрын
Thanks, this was giving me headaches too but, show_message() is depricated on mobile, is there any alternatives?
@shylvia2098
@shylvia2098 4 жыл бұрын
your tutorials is very easy to understand. ^^ , i'd like to request. could you make tutorial about path finding ?
@GameMakerStation
@GameMakerStation 4 жыл бұрын
AI pathfinding will be included in my next RPG course, releasing 2021.
@shylvia2098
@shylvia2098 4 жыл бұрын
@@GameMakerStation okay thanks. :D
@michaelatlas8998
@michaelatlas8998 3 жыл бұрын
Hi, love the great content! Just a question; is it possible to have a custom error message using the method shown in this video, as well as GM's regular error handling method? I have a script which contains sensitive data that I don't want GM to throw out when it causes a crash. But at the same time, I want a detailed error message for any other areas where crashes occur. If I use the exception_unhandled_handler function, GM stops producing the full, detailed error report that it normally does when this function is not used. Any recommendation for how to approach this?
@GameMakerStation
@GameMakerStation 3 жыл бұрын
You can reset the exception handler at any time by passing in "undefined" into the function (without the quotes). If you want errors on specific code blocks only, you can use try..catch.
@MetaYoutou
@MetaYoutou 4 жыл бұрын
Was just thinking about making something like this, and immediately saw your video. That's convenient, thank you.
@fb-productions-stream4828
@fb-productions-stream4828 4 жыл бұрын
ABOUT TIME!
@Mk2kRaven
@Mk2kRaven 4 жыл бұрын
For GMSentry, is there anything special we need to change or do for it to work? 1. I made an account on sentry.io. 2. I downloaded and imported GMSentry. 3. I put sentry_init in my init() function on game start, with the DNS of my project on sentry.io. 4. I added this code to a script: exception_unhandled_handler( function (exception) { sentry_capture_exception(exception.longMessage); }); 5. I changed function to func in one of the scripts, because GMSentry hasn't been updated with GM 2.3 in mind. (It was using function as a variable and not an actual function in 2.3) but, my sentry.io account doesn't receive any crash reports. I am still messing around with it. I wonder what's wrong. I am following this article: medium.com/@meseta/releasing-gamemaker-games-automating-bug-reports-like-a-pro-part-1-b2f388215e0e Edit: Yeah.. it doesn't work. I did everything of what the article part 1 told me to do, and my sentry.io account doesn't receive anything.
@GameMakerStation
@GameMakerStation 4 жыл бұрын
Hey, please join the Discord server linked in the description, there you can find GMSentry's dev (@meseta), you can ping him for help.
@Mk2kRaven
@Mk2kRaven 4 жыл бұрын
@@GameMakerStation Oh, I didn't know he was in the Discord and I also didn't know he was still active in the GMC. Thank you Matharoo! I will message him soon. :)
@Mk2kRaven
@Mk2kRaven 4 жыл бұрын
​@@GameMakerStation I pinged meseta for help and he didn't know. He said to come ask you since you have it working, lol. Ah well, I don't think I will be able to get it to work even though I am following the GMSentry tutorial 100% accurately, lol.
@GameMakerStation
@GameMakerStation 4 жыл бұрын
@@Mk2kRaven I've messaged you on Discord.
@MxCrompli
@MxCrompli 4 жыл бұрын
@@Mk2kRaven Did you find any fix? Having the same exact issue
@dimusikus
@dimusikus 2 жыл бұрын
GMSentry любопытное расширение.
GameMaker Data Structures in 100 Seconds
2:03
GameMakerStation - Matharoo
Рет қаралды 4,6 М.
How to FIX BUGS! - GameMaker Debugger
10:06
GameMakerStation - Matharoo
Рет қаралды 6 М.
Enceinte et en Bazard: Les Chroniques du Nettoyage ! 🚽✨
00:21
Two More French
Рет қаралды 42 МЛН
Try this prank with your friends 😂 @karina-kola
00:18
Andrey Grechka
Рет қаралды 9 МЛН
The Best Band 😅 #toshleh #viralshort
00:11
Toshleh
Рет қаралды 22 МЛН
How do I: Unlock doors with keys
11:39
GameMaker Casts
Рет қаралды 3,9 М.
Events in GameMaker -- How to Program? Pt. 3
7:23
GameMakerStation - Matharoo
Рет қаралды 6 М.
Ball Game Teaser - Poutown Downtown
3:12
Gorp Software Incorporated
Рет қаралды 4 М.
Getting ready for coding in python
3:03
MARK SIMIYU
Рет қаралды 23
GameMaker Studio 2: Let's Create a Moving Platform
16:13
GameMaker Casts
Рет қаралды 12 М.
libtorch setup with visual studio 2022
7:49
__sAi__
Рет қаралды 60
Using Variables in GML | GameMaker Pt. 5 (Types and Scopes)
23:07
GameMakerStation - Matharoo
Рет қаралды 5 М.
Enceinte et en Bazard: Les Chroniques du Nettoyage ! 🚽✨
00:21
Two More French
Рет қаралды 42 МЛН