Jibble

Author Topic: Error When Game Is Run  (Read 636 times)

Lord Ed

  • A guy with an urge to produce a game.
    • I can help with story design
Error When Game Is Run
« on: 13 Jan 2019, 20:55 »
Hello, I've recently had an error when I tried running my game today. I keep getting this screen whenever I try to run my game: https://i.imgur.com/u6SizqN.png
I'm sure somebody can help me, I'm kind of lost. :undecided:

Re: Error When Game Is Run
« Reply #1 on: 13 Jan 2019, 21:41 »
Did this happen just all out of the sudden, or you were adding some content to your game when this happened?
Could you remember the last thing you did (like adding objects to the room or writing script)?

Will it work if you start in another room?

Lord Ed

  • A guy with an urge to produce a game.
    • I can help with story design
Re: Error When Game Is Run
« Reply #2 on: 14 Jan 2019, 00:05 »
I was adding a new room background and then I ran the game and this happened. I have no scripts written, just a custom sprite and background. I also have only one room and one main starting character.

Re: Error When Game Is Run
« Reply #3 on: 14 Jan 2019, 01:09 »
I was adding a new room background and then I ran the game and this happened. I have no scripts written, just a custom sprite and background. I also have only one room and one main starting character.

The error is strange, I can't imagine how this may occur in practice.
Since this is just a new game you've started, could you send me the game project files? That would be fastest way to diagnose the problem.

Re: Error When Game Is Run
« Reply #4 on: 17 Jan 2019, 13:10 »
I'm curious, what did you save the image as that you imported as your background?

For instance, PNG.

Re: Error When Game Is Run
« Reply #5 on: 17 Jan 2019, 15:52 »
I'm curious, what did you save the image as that you imported as your background?

AGS brings everything to same format (BMP) during the import. If this was related to format then imho the error would occur in the editor rather than the game itself.

PS. we talked in PM about Lord Ed sending me a game source, and I am currently waiting...


UPD: actually Manic Matt reminded me I never asked what color depth your game and room backgrounds have. Usually having mismatching room backgrounds may cause some issues (not sure if this particular error though).
« Last Edit: 17 Jan 2019, 16:14 by Crimson Wizard »

Re: Error When Game Is Run
« Reply #6 on: 04 Feb 2019, 10:58 »
I want to help but I dont know how. If u still have the problem with the room, i have a suggestion. Try to delete the last room that u imported but from the folder of ur game (roomx.asc and roomx.crm) then open AGS and try to import the room again, or try to run ur game after the deleting.
« Last Edit: 05 Feb 2019, 14:20 by Amir »
Truly, truly, i say to you, blessed are those who play adventure games, for theirs is the kingdom of heaven.