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

Thread: Problem of SDL_FLIP

  1. #11

    Problem of SDL_FLIP

    Sfont / SDLMonoFont / SDL_ttf

    :?

    wich one use ?
    From brazil (:

    Pascal pownz!

  2. #12
    Co-Founder / PGD Elder WILL's Avatar
    Join Date
    Apr 2003
    Location
    Canada
    Posts
    6,107
    Blog Entries
    25

    Problem of SDL_FLIP

    ...oooor... you could instead use your own font sheet and use bitmap fonts. More colorful!

    In fact you don't get to do too much of that with TTF fonts.

    I use this technique in some of my other games. The next part in my tutorial series will be using my FontsUnit.pas I use in all my games. (well, a simplier version anyway)

    I'll send you a copy of my canceled 'Subject 33' game's source so you can have a look at it. It's fairly simple in concept so you can se how you could start your own if you need more features.
    Jason McMillen
    Pascal Game Development
    Co-Founder





  3. #13

    Problem of SDL_FLIP

    Quote Originally Posted by WILL
    ...oooor... you could instead use your own font sheet and use bitmap fonts. More colorful!

    In fact you get to do much of that with TTF fonts.

    I use this technique in some of my other games. The next part in my tutorial series will be using my FontsUnit.pas I use in all my games. (well, a simplier version anyway)

    I'll send you a copy of my canceled 'Subject 33' game's source so you can have a look at it. It's fairly simple in concept so you can se how you could start your own if you need more features.
    Fonts on SDL is complicated, i read some demo codes.....
    thinking im go use TTF fonts but i can't run any demo =/
    i have to put de .ttf file on same dif as the exe ?
    From brazil (:

    Pascal pownz!

  4. #14

    Problem of SDL_FLIP

    http://lazyfoo.net/SDL_tutorials/index.php
    There are great tutorials about SDL. Samples in C++ but it is very very similar and I have no problems to write in Pascal.

  5. #15

    Problem of SDL_FLIP

    Quote Originally Posted by tsr
    http://lazyfoo.net/SDL_tutorials/index.php
    There are great tutorials about SDL. Samples in C++ but it is very very similar and I have no problems to write in Pascal.
    I found something interesting (pixel check colision check), vry useful site ;]

    tnx!
    From brazil (:

    Pascal pownz!

  6. #16
    Co-Founder / PGD Elder WILL's Avatar
    Join Date
    Apr 2003
    Location
    Canada
    Posts
    6,107
    Blog Entries
    25

    Problem of SDL_FLIP

    [size=9px]Check your 'Messages' arthurprs. I sent you a PM about my source. It used to flash when you had a new message to alert you, but that was lost a few updates ago. We'll be putting it back when we get the chance. [/size]
    Jason McMillen
    Pascal Game Development
    Co-Founder





  7. #17

    Problem of SDL_FLIP

    Quote Originally Posted by WILL
    [size=9px]Check your 'Messages' arthurprs. I sent you a PM about my source. It used to flash when you had a new message to alert you, but that was lost a few updates ago. We'll be putting it back when we get the chance. [/size]
    I have played and take a look at the code, simply awesome :shock:

    you just write a large n¬? of functions to make your life easyer, constant units, i have never programmed something in that organization



    *Just sorry my english ops:
    From brazil (:

    Pascal pownz!

  8. #18
    Co-Founder / PGD Elder WILL's Avatar
    Join Date
    Apr 2003
    Location
    Canada
    Posts
    6,107
    Blog Entries
    25

    Problem of SDL_FLIP

    Structure is everything. If it makes your coding easier in the long run, do it.
    Jason McMillen
    Pascal Game Development
    Co-Founder





Page 2 of 2 FirstFirst 12

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
  •