iunkn's Recent Forum Activity

  • Update: I have updated the plugin with an option for resetting the stored local and roaming data for the app from the Settings charms - Preferences pane. Please refer the tutorial for more details.

  • Velojet

    Thanks <img src="smileys/smiley1.gif" border="0" align="middle" />

    I am still waiting for the official word on the new name <img src="smileys/smiley17.gif" border="0" align="middle" />

  • Update:

    The plugin is now capable of making use of Windows 8 roaming store. The new interfaces are again same as WebStorage plugin and now the data stored by your game roams to all the Windows 8 PCs owned by an user!

    Please refer the tutorial page for details.

  • Update:

    I have updated the plugin with support for live tiles and storing and retrieving app local data. Please refer   http://www.scirra.com/tutorials/347/metro-windows-8-plugin-for-construct-2 for more details.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Hi Ashley/Tom,

    I am working on a Metro/Windows8 plugin for Construct 2 and came across couple of issues and request you to suggest if there are changes that need to done on Construct 2 or plugin side:

    1) When exporting as Windows 8 metro app, I see that the generated .jsproj file does not pick up extra files from my plugin. I searched around and observed that C:\Program Files\Construct 2\exporters\html5\metro\project.jsproj is used as a template during exporting. For now as a workaround, I have edited this file to include my files as below. Could you please let me know how to leverage [[[contentincludes]]] to automatically pick up files from my plugin? (I see that it serves as some kind of macro and expands to different files in the generated .jsproj file.)

    <ItemGroup>

        <AppxManifest Include="package.appxmanifest">

          <SubType>Designer</SubType>

        </AppxManifest>

    [[

    [contentincludes]]]

        <Content Include="app-logo.png" />

        <Content Include="app-smalllogo.png" />

        <Content Include="app-storelogo.png" />

        <Content Include="Settings-GamePreferences.html" />

        <Content Include="Settings-About.html" />

        <Content Include="Settings-Help.html" />

        <Content Include="index.html" />

        <Content Include="splashscreen.png" />

    </ItemGroup>

    2) Is it possible for you to update the index.html file generated with adding the ui-dark.css?

        <link rel="stylesheet" href="//Microsoft.WinJS.1.0.RC/css/ui-dark.css" />

        <script src="//Microsoft.WinJS.1.0.RC/js/base.js"></script>

        <script src="//Microsoft.WinJS.1.0.RC/js/ui.js"></script>

    Without this, the Settings charm etc when invoked for the app do not have the correct style. Of course, the developer can add this line, but thought of reducing one more step :)

    Thank you!

  • Thanks for taking the time! I have fixed the link at c2metro.wordpress.com/download and fyi the sample can be downloaded here: sdrv.ms/NxDtnI

  • Hi everyone,

    I have written a plugin for integrating better with Windows 8. (Probably I should have posted in this forum instead of this tutorial, but I will leave it there)

    scirra.com/tutorials/347/metro-plugin-for-construct-2

    Please let me know what you would like to be added.

  • Thank you for acknowledging. Do we know why Chrome is expecting a double tap to grab the object?

  • Hello!

    The DragAndDrop behavior is having some trouble on touch machines with Windows 8 Release Preview. Some observations below:

    I have a simple repro in this project sdrv.ms/N6gsoy

    1. I have a ball sprite with DragDrop behavior set.

    2. With Mouse it works as expected - I am able to drag and move it.

    3. Touch with Chrome in Win8RP: I need to double tap the ball before "On DragDrop drag start" event fires.

    4. Touch with IE in Win8RP: I cannot drag the object at all.

    I am sorry I don't have access to any other operating system with touch screen. Please let me know if you need more info.

    Thank you!

  • That was a great tutorial. I had managed to do something close to what was described in the tutorial. But I am having trouble with making it work with Touch - as I have explained in the post above.

    (Btw, great graphics in Wizard Life!)

  • Hello!

    I am working on a Breakout style game where there is a paddle at the bottom and some bricks at the top and bounded by walls on 4 sides. The ball is set with a bullet behavior. I had set the paddle and bricks as Solid and the paddle with 8-Direction behavior with Direction set to Left&Right. Everything works fine as expected with keyboard. The paddle does not pass into the left right walls since they are Solids too.

    I am trying to code for touch -- I want the user to be able to grab and move the paddle left & right.

    I have used the following code in the event sheet:

    Touch -- Is touching Paddle -- Paddle Set X to Touch.X

    I encounter the following issues:

    1) I have turned on 'Use mouse input' for the Touch object. So when I click and drag the paddle, when the paddle object hits the wall, things go weird and paddle jumps up/down a bunch of pixels. What is the recommended behavior to get the 8-Direction Left & Right behavior with Touch?

    2) When playing around with Windows 8 Release Preview on a touch machine, I noticed that the touch is not working as expected on IE or Chrome. I am not able to grab the Paddle at all on Chrome and on IE once I grab it and move the Touch.X and Touch.Y become 0. Apart from the method mentioned above, I tried "On touched" Paddle and that does not help either. As soon as I touch/grab the paddle and move my finger, the game thinks that I have already released the touch - which I have not.

    Could you please help me what I could be doing wrong or are these known issues? I am on r95.

    Thank you!

iunkn's avatar

iunkn

Member since 26 Jun, 2012

None one is following iunkn yet!

Trophy Case

  • 12-Year Club
  • x3
    Coach One of your tutorials has over 1,000 readers
  • Email Verified

Progress

14/44
How to earn trophies