Game dosent work!

Blitz3D Forums/Blitz3D Beginners Area/Game dosent work!

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

I've seen this error too when I tried something written on my pc (resolution: 1280x1024), while the laptop's max resolution was 1440x900.

I suggest that you first make a loader-screen, some sort of window (like most examples that come with Blitz3D) where the user can select a compatible resolution for the user's graphics card.
When the user selects a valid resolution, save that setting to harddisk (as a textfile or binary file, you may choose) and have your graphics re-initialized with the settings in that written file before starting the real game.

Some professionally written games (AAA) do the same (X3:Reunion from Egosoft for example).

The first thing you can try, is setting your game to 640x480 or 800x600, these resolutions are present on almost any graphics card.
Or try windowed mode, then any resolution can work, as long as it isn't larger than the maximum supported resolution of the user's graphics card.