Telyko's Forum Posts

  • You need to check out interoperability between Ejecta and iOs / Android I guess, in terms of what the app can have access to on a phone. I'm pretty sure the things you mentioned are quite locked up on iOs tho.

  • Ashley

    I'm picking this up on the go, and I'm a bit concerned: "small memory leak for every 'Text' object in the project ".

    Is this only on Preview or for every project since r149 even once exported??

  • Thank you for your support! We still need votes!

    Greenlight: http://steamcommunity.com/sharedfiles/filedetails/?id=341770196

    Also, here's a new gameplay video:

  • Hi there. In order to do that, just add the Node-Webkit object to your project if it isn't already done, then create an event that says:

    On Button clicked: Run file at path %expression%

    You will have to replace %expression% by a working file path.

    You can find exemples of file paths variables by entering "NodeWebkit." in the path. The dot "." is important because it will auto-suggest different variables you can use, just remove the quotes.

  • Oh my bad, I read your post a bit too fast. I'll delete it!

  • I see more and more people having issues with Node-Webkit.

    Roger Wang is its dev and he is quite aware of the issues, he has received lots of feedback and is actively working on it almost everyday as you can see in the latest live builds page here https://github.com/rogerwang/node-webkit / http://dl.node-webkit.org/live-build/

    I say he's actively working on it because I have been in contact with him very recently regarding performances, along with some other C2 users, and I also noticed a few days ago the appearance of a file that wasn't in older versions of NW: d3dcompiler_46.dll

    I'm no expert with DLLS but I know this file is related to DirectX, graphics acceleration and it's one of the latest version of it since the current file most used is d3dcompiler_43.dll (If you check your System32 folder you're likely to find lots of (older) versions of it).

    Ashley mentionned once that it cannot just be bundled like that for legal reasons and must be distributed throught the official dxwebsetup (directX) installer, but this means Roger is working on the optimization of how graphics are handled through Node-Webkit.

    So let's have faith and be a little patient.

  • Indeed, I'd set a variable called ATTACKButtonState=0 or 1

    Then If ATTACKButtonState = 0 set Button Invisible (trigger once)

  • Hi, I would suggest using a value for each of the following: Hours (number) - Minutes (number)- Seconds (number) - Week days (number).

    You can do, On Layout Start:

    Set WeekDay = 1

    Set Hours = 0

    Set Minutes = 0

    Set Seconds = 0

    On every 0.25 seconds:

    If Weekday = 1 Set Daytext to: "Monday" &"-" &Hours &":" &Minutes &":" &Seconds

    If Weekday = 2 Set Daytext to: "Tuesday" &"-" &Hours &":" &Minutes &":" &Seconds

    If Weekday = 3 Set Daytext to: "Wednesday" &"-" &Hours &":" &Minutes &":" &Seconds

    Etc...

    On every 1 second:

    Add +1 to Seconds

    If Seconds greater or equal to 60 then add 1 to minutes AND set Seconds to 0

    If MInutes greater or equal to 60 then add 1 to hours and set minutes to 0

    If hours greater or equal to 24 then add 1 to weekdays and set hours to 0

    If weekdays greater or equal to 7 set 0 to every value

    I just wrote this on-the-fly and might be missing some things but you have the general idea. There is perhaps an easier way to do this but this is what just came up to my mind. Hope it sets you on the right track.

    However, make sure you can check the transitions between days are smooth.

    You should also consider saving these values to text files in the user's documents in order to be able to retrieve them when you close/re-launch the game (Node-Webkit object). If you do so, consider discarding what I wrote at the beginning (On Layout Start: Set WeekDay = 1) but replace it with

    On Layout start : if file exists set your values to each existing file

    if doesn't exist then create the file. (use the "i" keyboard shortcut to invert a condition)

  • No problem! Good to hear you found an answer.

  • Hi Kossglobal.

    Here are the few things I'd recommend:

    • Avast has an on-the-run analysis feature which scans running programs, perhaps it's scanning Construct 2 continuously and causes the "lag"
    • While running Construct 2, hit Ctrl+Shift+Escape then give a look at the performances and if the status of the green bars, then look at the processes, their CPU and memory consumption. See if anything seems weird in there. By the way, on a "healthy" and well maintained system, you shouldn't have more than 25-30 lines in there. If you have much more, you might also want to check out your startup programs with a tool such as Ccleaner of Spybot.
    • Uninstall / Reinstall Construct 2.
  • I sure will!

    Optimization is a tricky think, which is why one should always test on all kinds of different specs all the way through development to ensure optimal performances.

  • Thank you! The performances are great on 80%-90% of configurations running at 60fps, but there are a few times where, for an unexplained reason Node-Webkit does terrible on some even powerful PCs. I've gathered with a group of other devs who are also affected by the issue and hopefully a solution should be found soon.

  • Hello everyone! My name is Mike, and I'm very glad to show you what I have been working on with Construct 2 for the last 11 months!

    Here's the trailer I made for the Steam Greenlight release:

    The website: http://irondropstudios.com/

    And a few pictures:

    Also, just for you, a view of one of the Layouts which looks quite messy, but as I've always said when I was a kid "IT'S ORGANIZED MESS!"

    The events sheet contains 10501 events.

    It is already available on Humble through the website and needs some love on Greenlight!

  • I see two ways. The first one would require finding/downloading a plugin for After Effects to do the render and export directly to the webM format.

    The second solution would be to export your project as a normal .avi file and then use a software to convert it from .avi to webM. You can also find site which will do the conversion online for you and allow you to download your webM converted file.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Colludium, you think it's not the same driver that is used wether the active display is on the laptop screen or on an external screen??

    It sounds weird indeed.

    Yes, there is a change in the resolution between the laptop (1600x900) and the external screen (I actually tried two different monitors with both different native resolutions, one at 1680 x 1050 and the other at 1920 x 1080).

    And, the performance difference between laptop screen/external screen is just night and day, I can't understand why.