User Tag List

Page 2 of 2 FirstFirst 1 2
Results 11 to 12 of 12

Thread: Screen Saver

  1. #11
    The Time-Loop Continues ZC Developer
    Gleeok's Avatar
    Join Date
    Apr 2007
    Posts
    4,814
    Mentioned
    259 Post(s)
    Tagged
    10 Thread(s)
    vBActivity - Stats
    Points
    12,931
    Level
    33
    vBActivity - Bars
    Lv. Percent
    23.24%
    Oh well, no big deal. I haven't got a crash from the latest revision yet. That's the important part. Moving to quarantined. [edit] or not.
    This post contains the official Gleeok seal of approval. Look for these and other posts in an area near you.

  2. #12
    Is this the end?
    ZC Developer
    Saffith's Avatar
    Join Date
    Jan 2001
    Age
    41
    Posts
    3,389
    Mentioned
    178 Post(s)
    Tagged
    6 Thread(s)
    vBActivity - Stats
    Points
    6,429
    Level
    24
    vBActivity - Bars
    Lv. Percent
    69.42%
    I wonder if the problems could have something to do with having buttons mapped to Ctrl, Alt, and Shift. Allegro doesn't treat those as keypresses on their own, but ZC has code that specifically checks for them.

    Scripts might also be a factor. I don't recall this ever coming up in 2.10, and that may well be why. The input variables interact directly with the internal control arrays. I've found that if I run this script:
    Code:
    global script UnpressA
    {
        void run()
        {
            while(true)
            {
                Link->InputA=false;
                Link->PressA=false;
                Waitframe();
            }
        }
    }
    If A is assigned to Alt, I can press it repeatedly or hold it and it won't stop the screensaver from starting. If it's another button, keypressed() still returns true, so input_idle() behaves as expected. I've seen some other weirdness, but I haven't been able to make it hang.

    I'll try having input_idle check key[] rather than ZC's regular controller functions. I'm not sure that'll fix it, but it can't hurt.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Armageddon Games is a game development group founded in 1997. We are extremely passionate about our work and our inspirations are mostly drawn from games of the 8-bit and 16-bit era.
Social