Is there a reason why instance_deactivate_all()..
#1
Posted 12 June 2012 - 10:11 PM
using game maker studio, just a simple pause object.. and it is freaking out every time causing an error in the runner...
any help is appreciated!
-Monolisk
#2
Posted 12 June 2012 - 10:19 PM
any clues?
using game maker studio, just a simple pause object.. and it is freaking out every time causing an error in the runner...
any help is appreciated!
-Monolisk
A little more information is needed. What does the error say, what other code are you using.
#3
Posted 12 June 2012 - 10:32 PM
any clues?
using game maker studio, just a simple pause object.. and it is freaking out every time causing an error in the runner...
any help is appreciated!
-Monolisk
A little more information is needed. What does the error say, what other code are you using.
oh sry, Im just using this:
Create Event:
bg_pause = background_create_from_screen(x,y,view_wview,view_hview,false,false) instance_deactivate_all(true);
Draw Event:
draw_background(bg_pause,view_xview[0],view_yview[0])
also in an alarm i am using instance_activate_all()
its just a basic pause object.. the error is "Runner.exe has encountered a problem and needs to close. We are sorry for the inconvenience."
and thats pretty much it.. I think it might be an issue with GM:Studio but im not sure.
also I cant get into the bug reporting thing to save my life, I have tried multiple times but it says my password doesnt match and idk why, its the right password.
#4
Posted 13 June 2012 - 01:29 AM
Well, are you sure what causing the error is the second line, not first? Because there is the common mistake on using _from_screen functions. They take the window coordinates, that is, the top left corner which is currently visible on the window must be specified as (0, 0). If the region you specify is out of the window, it will lead into crash.oh sry, Im just using this:
Create Event:bg_pause = background_create_from_screen(x,y,view_wview,view_hview,false,false) instance_deactivate_all(true);
Try replacing:
bg_pause = background_create_from_screen(0, 0, view_wview, view_hview, ...
#5
Posted 13 June 2012 - 02:43 AM
#6
Posted 13 June 2012 - 04:41 AM
Nope I was wrong, it is the instance_deactivate_all() that is getting the runner error, but I was getting another error from draw_background_from_screen() but i took it completely out and im still getting the runner error :/
Edited by Monolisk, 13 June 2012 - 11:55 PM.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users











