Page 1 of 2 12 LastLast
Results 1 to 10 of 45

Thread: ZenGL

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    The mouse coords initialize to where the mouse was when the game was launched, but never update after.
    Did you watch this demo - "02 - Input"? There are few lines of code in function Timer(at end of it) that very important:
    Code:
      // EN: Necessarily clear all the states.
      key_ClearState();
      mouse_ClearState();
      joy_ClearState();
    Last edited by Andru; 12-11-2010 at 07:14 PM.

  2. #2
    I guess I had misunderstood its function based on the source. I thought it only cleared button states, at any rate it works nicely with mouse_clearState.

  3. #3
    Quote Originally Posted by dazappa
    I thought it only cleared button states
    Under Windows it also clearing yet another state, because WinAPI GetCursorPos is slow function, and ZenGL call it only one time per iteration.

  4. #4
    New font generator have just released Here the source code of it. Just create directory "tools" in ZenGL directory and unpack archive there. After you can compile it with Lazarus 0.9.29. Little bit later I will provide GNU/Linux and Windows binary archives, because now I want to sleep
    Last edited by Andru; 14-11-2010 at 10:31 AM.

  5. #5
    Fantastic Project. What about shader?

    Thanks
    Sesilla

  6. #6
    this framework looks elegant , thanks for sharing
    but i was hoping that the bin directory is full of exe

  7. #7
    virtual
    Ok, next release will be with binaries for Windows(and maybe for other OS'es) in separate package. And this minor release will be soon, because I have already found and fixed some errors in svn(text rendering using font with more than one page and "problem" with tiles2d_Draw)

  8. #8
    Any chance of seeing it for ios? And shader?

    Thanks
    Sesilla

  9. #9
    Now ZenGL can use third party particles - Magic Particles And show something like this:

  10. #10
    PGD Staff code_glitch's Avatar
    Join Date
    Oct 2009
    Location
    UK (England, the bigger bit)
    Posts
    933
    Blog Entries
    45
    Thank you so much for the font creator. I'm just curious: but could I use some of your audio and font code in Prometheus? (along with the editor?).

    Just a thought, since I can see this speeding up development and making it easier to use. Perhaps even a chance for easy porting from Prometheus to ZenGl if projects get serious even...

    cheers,
    code_glitch
    I once tried to change the world. But they wouldn't give me the source code. Damned evil cunning.

Page 1 of 2 12 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

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