Jump to content

ZioRed

Members
  • Posts

    1,133
  • Joined

  • Last visited

Blog Entries posted by ZioRed

  1. ZioRed
    Internet Explorer 9 beta has recently been released and one of the new features is the chance to enabling a website as "app" wich will has its own space on your system and will be opened in its own window, just dragging its "favicon" from the address bar of IE to your Windows taskbar (from here it will be a "pinned site".
     
    Once "pinned", the link on the taskbar can handle a collection of custom links which will be listed inside the context menu clicking on the link with the right mouse button:
     

     
    To create a link in the context menu you need write the following meta tag:

    <meta name="msapplication-task" content="name=%MENU ITEM TEXT%;action-uri=%URL TO LINK%;icon-uri=%ICO FILE%"/>
     
    An example meta tag is one of those from Facebook:

    <meta name="msapplication-task" content="name=News;action-uri=/home.php?sk=nf;icon-uri=/images/icons/app/news.ico"/>
     
    You can add more meta tags with the following "name" attribute:
     

    application-name: The name of the shortcut. If missing, the document title is used instead.
    msapplication-tooltip: Optional text that is displayed as a tooltip when the mouse pointer hovers over the pinned site shortcut icon in the Windows Start menu.
    msapplication-starturl: The root URL of the application. If missing, the address of the current page is used instead. Only HTTP, HTTPS, or FTP protocols are allowed.
    msapplication-navbutton-color: The color of the Back and Forward buttons in the pinned site browser window. Any named color, or hex color value as defined by Cascading Style Sheets (CSS), Level 3 (CSS3), is valid. For more information, see Color Table. If this meta element is absent, the color is based on the shortcut icon.
    msapplication-window: The initial size of the pinned site browser window. Content sub-elements provide size as number N, separated by a semicolon. width=N (minimum 800) height=N (minimum 600)
    msapplication-task: Up to five tasks can be predefined. Tasks appear as options on the shortcut menu of the pinned site shortcut when it pinned to the Start menu or taskbar, or when the application is running. Content sub-elements provide task details. Separate values by using semicolons. name=STR; action-uri=URI; icon-uri=URI

  2. ZioRed
    In every type of program or game, the most annoying step for me is the installation setup. If you don't really need particular setup layout or functionality, then Inno Setup can be what you are looking for saving your time (and money, since it is free!). Here I go to explain how you can build the setup application for your game in few easy steps.
     
    From the Inno Setup IDE begin to create a new script with wizard and compile the fields as you need:

     
    The next step is to choose the default installation folder and name:

     
    Next choose the files needed (those listed in this screenshot should be all, it suppose that you have start.luac in the root of your game folder so that the link may be only to engine.exe and you don't need parameter to start it and you have all the models, sounds, maps, textures and others in the Media folder):

     
    Finally choose the start menu folder name and some options (I just suggest to check the option CREATE UNINSTALL ICON):

     
    The last windows of the wizards are self-explained by themselves and don't need more info, just in the step COMPILER SETTINGS select the output folder in which the compiler create your setup.
     
    That's all, just accept to compile the script when asked at the end of the wizard and you will have (and run directly after build) your setup in the output folder you chose.
     
    This example has been done in answer to a question from a LUA user of the community, but of course it is valid for every languages, just you will not need to add the .LUAC file and Engine.exe in your list.
×
×
  • Create New...