Game Development Community

Images not appearing in game

by Sunny Atwal · in Torque Game Builder · 08/07/2007 (12:23 pm) · 6 replies

Hi,
I have been using Torque Game Builder 1.1.3 on Vista for about 4 months now and I love it. I ran into a problem where some of my images were not showing up on other peoples machines after building the game. I found this odd and tried rebuilding the game on XP using 1.5 and still got the same problem. When I run the game on my machine it runs great. Does anyone have any ideas as to why this is happening. I have included a description of my machine below.

O/S: Windows XP Prof SP2 & Windows Vista Ultimate
CPU: Intel p4 3.4 HT
Ram: 1.5GB DDRII
Video: ATI X1900GT PCI-E.

About the author

Recent Threads

  • Analyzing music

  • #1
    08/07/2007 (5:22 pm)
    If you have a look through some of the other discussion threads on this forum, you will find a few discussing this kind of problem.

    From memory, there are two issues that could be affecting your game.

    Firstly, the size of the sprites or backgrounds you are using. Generally, anything over a few hundred pixels wide or high is too big. I think people suggest using tile layers where possible, or just use smaller sprites. I also think that video cards in general handle images with dimensions in a power of 2 (2, 4, 8 16, 32, 64, 128, 256...) a lot better than numbers in between.

    Another thing actually relates to the computer that the person is using. I cannot remember what it was, but it had something to do with the video card. It had to support something in particular, but I suggest you check out other threads about this.

    Your computer seems quite sufficient, but you must check out the stats on the other computer you are trying to use.

    I haven't really helped a great deal I don't think, but I really suggest that you try searching the forums.
    #2
    08/08/2007 (12:02 am)
    There are a few hardware related things you nor GG can do about when it comes to Vista:

    ATI: Their OpenGL drivers are crap at best and useless in other cases. Users should try the DX version instead.

    Windowed OpenGL: With Vista Aero active, a serious issue and better to be avoided. So far only NVidia seems to have really succeeded in getting this running. The other fallback to Microsoft OpenGL or just trash 3d elements on their own.

    Best thing you can do on Vista is making the DX rendering default instead of the OpenGL one
    #3
    08/08/2007 (2:18 am)
    Marc, I think you missunderstood. His machine is running Vista, and the game runs fine, the other machine runs XP and has problems. But these are important issues for Vista users for sure.
    #4
    08/08/2007 (8:38 am)
    Hi,
    Just wanted to give an update. I combined some of my png files and amazingly enough all the images now show up in XP. I am still not entirely sure why his happened but I think i'll stick with XP for development.
    #5
    08/08/2007 (2:37 pm)
    Sunny, you don't have to switch to XP if you would prefer to work under Vista. This wasn't a problem with Vista, it was a problem with the other computer's ability to render images. As a developer, you are going to face a lot of these sort of issues and are going to need to test everything on multiple platforms before releasing anything anyway.

    Just do what you feel comfortable with.
    #6
    08/08/2007 (3:41 pm)
    Hi Phillip, thanks for the advice. After using vista for a while I wanted to move back to XP, this was just an excuse for me to do so. Once again, thanks for your help.