Results 1 to 1 of 1

Thread: Problem: Using sprites after a

  1. #1
    Join Date
    May 2007

    Default Problem: Using sprites after a

    Hello, I have had this strange problem and found out it actually boils down to this:

    I have a main menu class which uses a silver style gui, calling the method.

    After this class is done, I enter the main game loop. Here my problems come. When I load a sprite here and try to display it, it gets shown messed up like two frames packed in one and the second frame is all grey.

    When I just don't call or go into the game without running the main menu at all (ie as first step), the sprites get loaded and displayed correctly.

    Any ideas? Im using GL rendering on windows and so far everything else worked fine.

    Additional info: In fact it is enough to call once in order to mess up the sprite loading/displaying that follows any time after that.

    I also found out that destroying the CL_DisplayWindow object and creating a new one also solves the issue but that's not too userfriendly and a bit messy especially in fullscreen mode. Any ideas?
    Last edited by nokturn; 05-16-2007 at 07:24 PM. Reason: additional comment

Similar Threads

  1. Sprites and more...
    By Ledorax in forum Novashell Game Creation System
    Replies: 8
    Last Post: 09-28-2009, 04:47 PM
  2. Packages of sprites packaged with Novashell?
    By whisperstorm in forum Novashell Game Creation System
    Replies: 3
    Last Post: 02-16-2007, 06:04 AM
  3. Sprites
    By lixopmstp in forum Official ClanLib SDK Forums
    Replies: 4
    Last Post: 01-21-2007, 02:36 AM
  4. Sprites and Surfaces
    By ART_Adventures in forum Official ClanLib SDK Forums
    Replies: 1
    Last Post: 09-22-2006, 10:03 AM
  5. sprites
    By seyah3 in forum Dink Smallwood HD
    Replies: 0
    Last Post: 02-03-2006, 03:05 AM



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts