Telyko's Recent Forum Activity

  • ROGUS is inside Groupees' Build a Greenlight Bundle!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 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.

Telyko's avatar

Telyko

Member since 30 Mar, 2013

Twitter
Telyko has 1 followers

Connect with Telyko

Trophy Case

  • 12-Year Club
  • Jupiter Mission Supports Gordon's mission to Jupiter
  • Forum Contributor Made 100 posts in the forums
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • x3
    Quick Draw First 5 people to up-vote a new Construct 3 release
  • Lightning Draw First person to up-vote a new Construct 3 release
  • x3
    Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

20/44
How to earn trophies