Custom Error Messages Example V1.0! created by YambamYambam2
Category: Other
Current rating
Added: 21 May 2009
Created by: YambamYambam2
Version: 1
Game description: This is a...Custom Error Messages Example V1.0! it shows you how to make errors with a skin and how to make your own error press shift in the example to show a error with your own text make sure you uncheck ... (more)
Reviews
-
Overall Score
-
Graphics
-
Sound
-
Gameplay
-
Story
-
Interface
This Game Has No Reviews.
More Games By This Creator
-
Worm Example...
By YambamYambam2
-
Worm Example...
By YambamYambam2
-
Animated Bac...
By YambamYambam2
-
The Mumblies...
By YambamYambam2
-
Worm Example...
By YambamYambam2
-
Switching Wi...
By YambamYambam2
-
The Worm Exa...
By YambamYambam2
-
Platform Eng...
By YambamYambam2
-
3d Menu Exam...
By YambamYambam2
-
Uorf2 Exampl...
By YambamYambam2
Page 1/5
















YambamYambam2 said over 3 years ago
if error_occurred
{
window_set_showborder(false)
draw_set_color(c_black)
draw_rectangle(0,0,639,479,false)
draw_set_color(c_green)
draw_line(637,1,1,477)
draw_line(1,1,637,477)
draw_set_color(c_lime)
draw_rectangle(1,1,637,477,true)
draw_set_halign(fa_center)
draw_set_valign(fa_middle)
draw_text(room_width/2,room_height/2,string(error_last)+"##Press any key to abort")
keyboard_wait()
game_end()
}
YambamYambam2 said over 3 years ago
that was not good i will comment it in the right way
YambamYambam2 said over 3 years ago
i just found out how simple it can be you just have to do this in the draw event of the contrpller of your game: if error_occurred
{
window_set_showborder(false)
draw_set_color(c_black)
draw_rectangle(0,0,639,479,false)
draw_set_color(c_green)
draw_line(637,1,1,477)
draw_line(1,1,637,477)
draw_set_color(c_lime)
draw_rectangle(1,1,637,477,true)
draw_set_halign(fa_center)
draw_set_valign(fa_middle)
draw_text(room_width/2,room_height/2,string(error_last)+"##Press any key to abort")
key
YambamYambam2 said over 3 years ago
sorry for that i didnt notice that function :(