Page 4 of 4 FirstFirst ... 234
Results 31 to 36 of 36

Thread: Code: Gui module or include file

  1. #31
    thinBasic MVPs Michael Hartlef's Avatar
    Join Date
    Sep 2006
    Location
    Germany
    Age
    58
    Posts
    3,299
    Rep Power
    348

    Re: Code: Gui module or include file

    When they are finished and Petr would like it, I would be happy if he builds them into it. That would mean more speed anyway.

  2. #32
    Super Moderator Petr Schreiber's Avatar
    Join Date
    Aug 2005
    Location
    Brno - Czech Republic
    Posts
    7,153
    Rep Power
    736

    Re: Code: Gui module or include file

    Hi,

    if Mike would allow it, I would be very happy.
    It is very easy to use, looks good. We will see which possible problems we will encounter with using it in our project ( if any problems ) and then would add it to TBGL arsenal, giving the credit to Mike of course. Recoding it to PB is detail once we have syntax for commands done and approved.


    Petr
    Learn 3D graphics with ThinBASIC, learn TBGL!
    Windows 10 64bit - Intel Core i5-3350P @ 3.1GHz - 16 GB RAM - NVIDIA GeForce GTX 1050 Ti 4GB

  3. #33
    thinBasic MVPs kryton9's Avatar
    Join Date
    Nov 2006
    Location
    Naples, Florida & Duluth, Georgia
    Age
    68
    Posts
    3,865
    Rep Power
    405

    Re: Code: Gui module or include file

    I got it to work finally after getting the thincore.dll from the linked post.

    That looks really nice and worth a future into tbgl
    Acer Notebook: Win 10 Home 64 Bit, Core i7-4702MQ @ 2.2Ghz, 12 GB RAM, nVidia GTX 760M and Intel HD 4600
    Raspberry Pi 3: Raspbian OS use for Home Samba Server and Test HTTP Server

  4. #34
    thinBasic MVPs Michael Hartlef's Avatar
    Join Date
    Sep 2006
    Location
    Germany
    Age
    58
    Posts
    3,299
    Rep Power
    348

    Re: Code: Gui module or include file

    Right now I'm working on a bitmap font implementation. For something like a textbox I need to know how wide a word is and if I have to wrap a sentense into the next line so I have to calculation this before display. I think I should be done or at least close to it by the end of the month.

  5. #35
    thinBasic MVPs Michael Hartlef's Avatar
    Join Date
    Sep 2006
    Location
    Germany
    Age
    58
    Posts
    3,299
    Rep Power
    348

    Re: Code: Gui module or include file

    Hi folks,

    I decided to stop working on this for the game as I read that Jason/Kent have different ideas about using perspective and their method could be used for a 3D gui implementation. At least that was what I understood.

    No need to waste time on something that is not compatible or not needed.

    Michael

  6. #36
    Member
    Join Date
    Sep 2008
    Age
    48
    Posts
    326
    Rep Power
    49

    Re: Code: Gui module or include file

    The field-of-view thing was specific to the game... (45 degrees is not a race-game field of view. Gives tunnel-vision.)

    I only mentioned it in the sky-box, due to the unity of player-view, and the skybox... But... now you have me thinking.

    This (your code), could be used to setup 3D objects as a full 3D interface. (Without having to code all the boxes and lines and mappings.)

    Even as-is... could be used to create the "BMP" imposed onto a 3D in-game GUI. AKA, the %sINFO, and use elements from the game as part of the display... the %sCRAFT and %sACC and %sTRACK...

    Those rendered BMP's would be imposed on elements you create as a "VIEW-SCENE"... passing the %sTRACK rendered BMP to you... and this displays it on one of the flat surfaces. (Not sure if I am explaining that right.)

    Though... the comments about a full 3D display sounds cool too. Boxes for buttons, 3D shadow-box hologram wire renderings of the 3D scenes %sCRAFT, %sTRACK... etc... Ok.. I'll stop... Looking at code again.

Page 4 of 4 FirstFirst ... 234

Similar Threads

  1. Code: Web Hiscore module or include file
    By Michael Hartlef in forum Code
    Replies: 9
    Last Post: 10-10-2008, 23:06

Members who have read this thread: 0

There are no members to list at the moment.

Posting Permissions

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