Results 1 to 9 of 9

Thread: Font Issues

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Quote Originally Posted by Traveler
    - documentation. I was able to figure things out using the demos and the zengl source, but some form of documentation would help a lot.
    I'm working on it, but not fast(because it's boring ) and only on Russian version, later I will try to translate it(and I will need someone help, because my English is far from "good" )

    Quote Originally Posted by Traveler
    - mouse support/trouble. If you forget to include the zengl mouse unit, but do use one of its functions, you get an access violation during runtime. It took me a long while to figure out where the error came from and would like to see better handling for this.
    Use ZenGL library and zglHeader.pas instead of advanced way with ZenGL units

    - same goes for image loading, I forgot to add the font image in my resource directory with an access violation as a result. I'm not sure anymore if this particular case is mentioned in the log, I know it does for the usual images, but I'd like to see a different error in this case.
    Ok, I will try to do something with it(for example do not draw the Text when "pages" of font are not loaded).

    Quote Originally Posted by Traveler
    - Is it possible to restrict fps while retaining smooth movement?
    The only way to do this is to turn on VSync(with scr_SetOptions or scr_SetVSync). Also for really smooth movement it's recommended to use SYS_UPDATE function with dt argument.

    Quote Originally Posted by dazappa
    scr_SetVSync( true );
    scr_SetOptions( 800, 600, REFRESH_DEFAULT, FALSE, FALSE );
    if you want to use scr_SetVSync then it must be executed after scr_SetOptions(last argument of it also change VSync ).

    About GUI. Old versions of ZenGL were with it. But that GUI subsystem was without skins and was very simple(only label, button, checkbox, radiobutton, listbox, combobox, groupbox, editbox and spinbutton, without windows). And it was procedural, like GTK under Linux Maybe when I will release ZenGL 0.2, I will continue work on it and include it in ZenGL 0.3.x branch.
    Last edited by Andru; 31-01-2011 at 04:18 PM.

  2. #2
    Although I don't know any Russian, I would be more than happy to try to make your translation or google's translation understandable once you release it.

    Aha! Delta time is what I would be interested in as well, somehow I managed to skip right on past demo 01 which shows the basic setup.

    Anyone interested?

    Lazarus is nice, but overkill for developing ZGL apps. I started working on a little ZGL IDE a while ago. Of course it has a long way to go before an alpha release (it barely functions!), but I think I'll GPL the source and post on these forums once I feel it's stable and usable enough.

  3. #3
    Quote Originally Posted by dazappa
    Lazarus is nice, but overkill for developing ZGL apps.
    The only reason why I use Lazarus is debugger.

    Quote Originally Posted by dazappa
    I started working on a little ZGL IDE a while ago.
    Very interesting

    Quote Originally Posted by dazappa
    Although I don't know any Russian, I would be more than happy to try to make your translation or google's translation understandable once you release it.
    I use only my own knowledges(googletranslate can be used only for translation of some words, because whole sentences have a terrible quality...), and I need some fixes for grammar So, if you found something wrong in comments for demos(or you have just better variant), you can write me about this(with correct variant, of course) and I will fix it

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
  •