problem running game

Started by duanne_boy, Thu 04/10/2012 16:04:22

Previous topic - Next topic

duanne_boy

hi
ive just brought a new laptop and now moved my game over to it.
but when i try and run it i now get a error message saying.

there was a problem initializing graphics mode 1024x768 (32-bit)
problem failed to create direct3d device 0x8876088c

its a brand new computer running windows 7
so ive no idea whats wrong.

p.s it will work in 800x600

Crimson Wizard

What is your laptop's display resolution?

Usually this error means you cannot run the game in fullscreen with that resolution. Try running in window.

duanne_boy

#2
its runing at 1366x768
but ive tryed all res and still no joy.
i set it to 800x600 under ags and it runs.
on my computer befor i had the same problem
if i ran my computer in 1024x768
it did not work so i changed it to 1280x768 and it worked
but on here its doing nothing.
im trying to run in a window also.

it will run in full screen without debug mode..

duanne_boy

dose anyone have any ideas on this cus im going to have to redo everything again other wise :(.
i can run 1024x786 without debugger.
just curious if i carry on and dont use the debugger.
do you think this could be a problem in the long run.

as anyone had a simler problems?
im thinking it could be a glitch with the ags program.


Crimson Wizard

#4
Based on your previous post I thought you found a solution to your situation. That's why I haven't replied.

AGS won't be always able to run in fullscreen on all systems. It is not a glitch, it is natural graphics driver behavior.

Can you run in windowed mode during debug?

Also, what is your game's color mode (16-bit, 32-bit)?
What renderer do you use to run the game (DirectX 5, Direct3D 9)?

duanne_boy

i making a hd game so i want to run it at max res.
ive it set to 32 bit 1024x768 and d3d.

it not run in debug window. only in full screen with out debugger.

Crimson Wizard

#6
I re-read previous posts and I now see I could misread something and misunderstand the problem.

I never paid much attention to this (= didn't care) before but I checked right now and I see that AGS Editor runs debug only in window.
Since your laptop has max 768 resolution height and your game is 1024x768, that would mean that it probably won't be running game in window (quite opposite to what I said earlier about fullscreen), but it will run it fullscreen.

There may be something that prevents running game in fullscreen under debug, and to be honest I do not know what could be the reason. Maybe someone else knows?


E: To think of it the reason behind this is that it may be problematic to run game fullscreen under debugger, switching between editor and game windows etc. Running debug fullscreen is forbidden in AGS, which means you won't be able to run 1024x768 game with debugger on your laptop.

How bad that may be? Depends on how do you want to test your game process. Debugger does not display game variable values anyway, it only allows to do step by step execution to see how your game processes script. So, probably, it is not that critical to develop without one.

SMF spam blocked by CleanTalk