labithiotis's Forum Posts

  • In other words use this (remove *'s):

    http://static1.scirra.net/arcade/games/3543/card-tall.png[/img]

    To get this:

         

  • Considered looking at http://clay.io has API to handle items ?

  • When I wanted to centre a element to screen I set it's position to X: (WindowWidth/2) - (Self.Width/2) and Y: (WindowHeight/2) - (Self.Height/2) and you can attach it to a layer that has zero scaling set, it will be the same size across all displays.

    I use Self.Wdith/2 because my origin for the element is in the centre, but if you moved it to top left for example you don't need that.

  • I know it's not the same but you can click the little arrow next to undo/redo on the quick toolbar at the top and it list the actions.

    Would had that it scrolls to it and highlights it.

  • Well webstorage then, its simple enough to use. If the users clears they're data though its all lost (i.e. Browser Delete Cache).

  • This is something I am currently trying to do too. So far I am having success with using Clay.io to store data remotely, and then using that data to store locally at the same time via webstorage, so a player can play offline and all working in CocoonJS. It's still early days but I am pushing all my data into an array that I send to Clay.io as json.

    I would recommend CocoonJS just because it's better performance atm and Clay.io because it has an awesome plugin and features.

    One thing to note if you use Clay.io you need to manually include some files in the exported zip for CocoonJS Every Time (their case sensitive too) :

    ?webview (folder)

       ?api.js

       ?webview.html

    ?CocoonJS.js

    ?CocoonJS_App.js

    ?CocoonJS_App_ForCocoonJS.js

    ?CocoonJS_App_ForWebView.js

    You can get those files from the clay plugin directory in C2 (once you've installed it of course).

  • Easiest way for me is to:

    Have font installed on machine and include the font (.TTF) in the Files folder in you project (right click files and import).

    Pick same font in the font settings and when you export make sure the file-name is the same including case as C2 exports everything as lower-case (you have to manually edit the export). This works for CocoonJS.

    For my font it was called Tw Cen MT with a style of Condensed Extra Bold. The final file-name is : Tw Cen MT Condensed Extra Bold.tff

  • You do not have permission to view this post

  • Hey, is this what you wanted : DiabloMovement.capx

    All I did was change the mouse events to touch events with touch object and then change the collision variables from mouse.x/y > touch.x/y

    I left the originals so you can see what I change. Also removed the other group as I wasn't doing anything.

  • For Pause I would recommend you use families rather than setting the whole layout's timescale to 0, otherwise any additionally actions like animating a pause menu popup would also be paused.

    You can just add all the elements you want to pause to same family and on pause set the family's timescale to 0. If you have a mix of elements i.e. Sprites, Text and 9Patch, you can just make more than one Family, and set them all at the same time.

  • The XML object isn't supported for CoCoonJS, so if you wanted to store the data locally and support Mobile via CocoonJS, JSON is your friend.

  • Comments for the win :) You can hit Shift+Enter to enter comments on a new line in same comment box too.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Have you tried using easeTween plugin, i use that to move all my sprites to tagets, and haven't add issues with positing when layout is scaled.

  • Using plugins on free version is fine, you sure your dropping a plugin in and not a behaviour, as I did that at first and it didn't show.

    I don't use the steam version, but could it be the data is actually loaded from somewhere else? (C:\ProgramData or C:\Users\******\AppData)

  • Hi All,

    Is anyone else interested in going to or setting up a Meetup. I would be looking around the central London area for myself but no reason someone couldn't set ones up further afield?

    Was wondering if we could gate crash some pre-existing Meetups:

    London HTML5 Game Developers

    London Indie Game Developers