ilyko96's Forum Posts

  • Thanks a lot 4 this awesome plugin!

    The only thing happend with me is that C2 crashed, when I was trying to edit [Char width JSON] property.. It said that it can't get the 'length property of undefined' (as far as I remember I failed a 'paste' operation of JSON-array of new font created via GYFM2, and the new c2array had inserted into the previous one, not instead of it). After that C2 closed and I lost all my new editings. May be it is a good idea to add some sort of 'if' checking in the body of plugin to exclude this situation..

  • Sprite plugin in C2 has an action 'Load image from URL' where I can specify a URL of the image I want AnimationFrame should be loaded from. A corresponding event 'On image URL loaded' fires when the texture was successfully loaded from the web.

    There are a lot of issues connected with this action when server blocks image loading due to 'Cross-Origin Resource Sharing policy'. In this case an error-message appears in the log-tab of browser and .. and there is no feedback of this action in C2 to somehow handle this problem (for example show any error-message or smth).

    The more interesting thing happen when I try to load image texture from the server, which returns data with 'Content-type: text/html' headers.. to be precise, nothing happens (no error/warning messages in logs, no effect on animation frame).

    It is demo-capx, showing the problem: https://drive.google.com/file/d/0B974PiQuai6vZWNiUVo1dWFSSmc/view?usp=sharing

    My question is the following: How can I detect an error occured while loading image texture from URL? Is it possible to realize in the 'stock version' of C2 in the next updates? If yes, it will be very nice to establish kind of 'connection' via animation_frame_index to understand which frame this 'error' or 'success' related to. (smth similar to 'tag system' realized in the AJAX plugin)

  • We are currently building a series of interactive apps for pre-school children about actions and emotions. Also, there is a project (HOG) for mobile phones (iOS) where we use a lot of sprites and animation. There are some problems that we hope you can help us to solve:

    The main problem is in animation and the game productivity.

    1. First of all, we use sprite animation. Our app worked correctly only with the latest models of devices (iphone 5s/c, ipad 3 and higher etc) but with other devices it crashed .

    2. We optimised the app and changed sprite animation to bone animation by Spriter ( ).However, there are lots of problems with compilation builds on mobile phone (by Cocoon JS, Intel XDK). The app works correctly on PC but after compilation build by Cocoon JS, and Intel XDK all animation sprites disappeared.

    Has anyone else experienced similar problems?

    Maybe you know how we can use Spriter plugin correctly? The last question is about bone animation in Construct2: when are you planning to launch a version with bone movement? And if you have beta version can we use it in our project?

    Thank you. We're looking forward to your reply.

  • Ok. If you are interested in this yet I will translate the comments for u)

  • Hello Scirra! There is a nice list of changes in the last release, but I was really surprised when I haven't found a System expression to reverse atring (from Scirra Construct 2 for example into 2 tcurtsnoC arricS). Of course, I've written for loop to reverse string manually, but I think it would be more convenient to reverse it by expression.

    Another thing, is a NodeWebkit action "Minimize to tray". As I found in the Internet it's possible with NodeWebkit, but writing a special plugin for this action sounds not very good. Hope, if it's really possible you'll add this little function into C2 <img src="smileys/smiley4.gif" border="0" align="middle" />

  • Hello to all!

    Everyone, who was working on C2 or CC, think at once about what time he spend on creating this game. If you are working on project every evening for example during the week it doesnt mean that u made the game in a week. U spend some time, which was separated by this week.

    So, I want to offer to add some sort of timer, which will count what time did u spend on this project. This idea can sound a bit absurd: "what I need this time for?", but I think its not very difficult for Scirra and there is some sense in it.

    As an idea for realizing I can offer to compare time on project start and on project end and write it in the project-properties file.

    Guys, can u write if u're thinking sometime about what the real time u spend on the project? <img src="smileys/smiley5.gif" border="0" align="middle" />

  • Thank u)

  • Link to .capx file (required!):

    https://dl.dropboxusercontent.com/u/20574093/Browser_obj_err.capx

    Steps to reproduce:

    1. Open C2 and start "New empty project"

    2. Add Browser object

    3. On "start of layout" event add action: "Browser alert" with the following content:

    "Hello & World!"

    4.1 Export to Node-Webkit and run

    4.2 or Change preview browser to "Node-Webkit" and run preview

    Observed result:

    An alert with the result:

    Hello World!

    Expected result:

    An alert with the result:

    Hello & World!

    Browsers affected:

    Chrome: no

    Firefox: no

    Internet Explorer: no

    Node-Webkit: yes

    Operating system & service pack:

    Win-8 x64

    Construct 2 version:

    r139 (64 bit)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • [Upd] So, is it possible? <img src="smileys/smiley5.gif" border="0" align="middle" />

  • Broken link!

  • Hello. I've already written to add "copy" and "move file" actions to nodewebkit object. And I just want to know, if it's possible to add action "execute file" to this object (for example open .xls with MS Excel or just execute .exe file)? <img src="smileys/smiley1.gif" border="0" align="middle" />

    I can explain, why I need this simple actions. I'm working now with project, which help not to rewrite content in the same file when it used at 2 different computers at the same time. I mean, there are 2 dropbox accounts and folder shared at these 2 different computers. And my programm (created on C2) have to show the list of files placed in shared folder. And when one file (for example .xls) executed at the first computer, my programm detect it and hide this file in the list at the second computer. For more convenience I want to add executing file if the name of the file double-clicked, but in C2 there are no action to execute file. <img src="smileys/smiley19.gif" border="0" align="middle" />

    So then I can see only one way to realize this feature. This way is to compile project on CC and to add at runtime file with content, for example:

    [Group]

    link = C:\file.xls

    and execute file that I need (with CC application) when it detect this INI file in the shared folder... <img src="smileys/smiley3.gif" border="0" align="middle" />

    Hope, u're understand me <img src="smileys/smiley4.gif" border="0" align="middle" /> <img src="smileys/smiley4.gif" border="0" align="middle" /> <img src="smileys/smiley4.gif" border="0" align="middle" /> Thanks before)

  • A few days ago I wondered an idea to make game Mine Sweeper as it goes in Windows games. And there is what I did:

    http://www.scirra.com/arcade/puzzle/6161/minesweeper

    The only difficult was to write an algorithm to clear all empty items when one of it is clicked. What is more, I tried to make a script which could be used to the maps with different size. And here u can see my .capx:

    https://dl.dropboxusercontent.com/u/20574093/scirra/Mine7.capx

    (beta release r136)

  • And 1 more thing I want to add))) There will be very nice if u'll do the action "execute file" as it was realized in CC))) Thanks before)

  • Ashley, thank you very much 4 your support!))

  • That's I'm talking about. As I can see there are no action to copy or to move file. Just "append to file", "create folder", "delete file", "list files", "rename file" and "write file" and nothing else. U can see me screenshot of actions: https://dl.dropboxusercontent.com/u/20574093/nodewebkit.png