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

Thread: project files for topdown, common parsing function and format

  1. #11

    Re: project files for topdown, common parsing function and format

    Sure Kent, I will try to come up with something over the next days.

  2. #12
    thinBasic MVPs kryton9's Avatar
    Join Date
    Nov 2006
    Location
    Naples, Florida & Duluth, Georgia
    Age
    67
    Posts
    3,869
    Rep Power
    404

    Re: project files for topdown, common parsing function and format

    Thanks Mike.
    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

  3. #13
    thinBasic MVPs kryton9's Avatar
    Join Date
    Nov 2006
    Location
    Naples, Florida & Duluth, Georgia
    Age
    67
    Posts
    3,869
    Rep Power
    404

    Re: project files for topdown, common parsing function and format

    OH MY, oh my... I might have found the perfect solution for support files. It does support files the way Petr originally wanted, is totally flexible and as simple as can be. I came upon it in working on Remmer tonight. I decided to add one more feature to this version and came upon this really cool class for creating ini files. It is sooooo coool.

    If you guys are interested, it would be easy enough to make it a module for thinBasic. Look it over, tell me what you think.
    Go to your Turbo Delphi Help, set your filter for Delphi and do a seach on this:
    tIniFile

    Look at the "Using TIniFile and TMemIniFile" section. As you can see they have 2 very powerful methods.

    Here is a page with a great explanation and working sample:
    http://delphi.about.com/od/objectpas.../aa120401a.htm

    This is the best of all worlds if you ask me. Amazing!!
    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. #14
    Super Moderator Petr Schreiber's Avatar
    Join Date
    Aug 2005
    Location
    Brno - Czech Republic
    Posts
    7,128
    Rep Power
    732

    Re: project files for topdown, common parsing function and format

    kryton,

    we know Eros is not from Earth, but did you know he is also able to travel in time ?
    This is why "INI" module already exists in thinBASIC although you requested it now

    INI_GetKey
    INI_SetKey
    INI_GetSectionsList
    INI_GetSectionKeysList

    INI files are quite interesting, and lot of people is used to ... use them . Maybe it could really be the solution!


    Bye,
    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

  5. #15
    thinBasic MVPs kryton9's Avatar
    Join Date
    Nov 2006
    Location
    Naples, Florida & Duluth, Georgia
    Age
    67
    Posts
    3,869
    Rep Power
    404

    Re: project files for topdown, common parsing function and format

    That is amazing Petr, well there we go, that is the solution I think.

    Eros we need videos tutorials of you showing us all this unknown power in this wondeful langage of yours!!

    I am glad Petr knew about this, as other features he points out that I don't know about.

    Thanks again Petr for knowing about that!!
    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

  6. #16
    thinBasic author ErosOlmi's Avatar
    Join Date
    Sep 2004
    Location
    Milan - Italy
    Age
    57
    Posts
    8,777
    Rep Power
    10

    Re: project files for topdown, common parsing function and format

    Ken,

    I do my best to keep an help file updated. Many times reading help file in not first option for many people (me included) because it takes a lot of time most of which dedicated to understand how help is organized (every help file has its own organization style). But, believe me, it takes more time to write help file than developing new functionalities.

    Regarding INI file, thinBasic has a specific INI module that is quite fast in execution so even big INI files can be handled quite easily and quickly. So far we have developed the following functions but more can be added if needed:

    INI_GetKey
    INI_SetKey
    INI_GetSectionsList
    INI_GetSectionKeysList

    We like INI files for storing application parameters. XML files are also good but I personally prefer INI because they are easy to handle and to understand if key names are well written.

    Let me know.
    Eros
    www.thinbasic.com | www.thinbasic.com/community/ | help.thinbasic.com
    Windows 10 Pro for Workstations 64bit - 32 GB - Intel(R) Xeon(R) W-10855M CPU @ 2.80GHz - NVIDIA Quadro RTX 3000

  7. #17
    thinBasic MVPs kryton9's Avatar
    Join Date
    Nov 2006
    Location
    Naples, Florida & Duluth, Georgia
    Age
    67
    Posts
    3,869
    Rep Power
    404

    Re: project files for topdown, common parsing function and format

    Thanks Eros, this is going to be great to use!!
    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

  8. #18
    thinBasic MVPs kryton9's Avatar
    Join Date
    Nov 2006
    Location
    Naples, Florida & Duluth, Georgia
    Age
    67
    Posts
    3,869
    Rep Power
    404

    Re: project files for topdown, common parsing function and format

    I guess with the ini file. We can just add sections to it to allow new features to come into the program, game etc.

    I am thinking that each project(scene) will have its own ini file. A level might have more than one scene, probably numerous scenes.
    So perhaps we could do something like this?

    Game Ini
    the sections contain the Level Ini's used.
    the level ini's have the scene ini's used to make the levels
    the scene ini's have everything that makes that scene

    I don't know where the triggers for the game would go? I am sure I am missing some other things, but wanted to get the ball rolling on this thought thread too
    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

  9. #19

    Re: project files for topdown, common parsing function and format

    Boy you are active. But that is good, that motivates me to get off my ass and be productive for TopDown!

  10. #20
    thinBasic MVPs kryton9's Avatar
    Join Date
    Nov 2006
    Location
    Naples, Florida & Duluth, Georgia
    Age
    67
    Posts
    3,869
    Rep Power
    404

    Re: project files for topdown, common parsing function and format

    Mike, I get excited and have my up and down moments, the mind was clear so thinking of many things the last few days
    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

Page 2 of 2 FirstFirst 12

Similar Threads

  1. poll for a game with common work project
    By Lionheart008 in forum Polls
    Replies: 11
    Last Post: 24-04-2012, 09:49

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
  •