RafaelMatos's Recent Forum Activity

  • This code is running fine, but not in debug mode. The event at line 213 is entering infinitely, but I'm not colliding with any of these objects, while 214 is not entering a single time. I have no clue what is causing this because it wasn't doing that yesterday and I didn't change anything regarding to that routine. Also, even If changed something that affects this routine, why It only happens in debug mode? I'm really confused about this.

    edit: I was using the line 213 directly, but I separated them and created this function just to test and show more clearly what is happening

    Tagged:

  • Really cool animation. I wished I could create fluid anim like that

  • experimenting with a side project that I'm forcing myself to only work on during the weekends.

    Nice. Are the animations done by events or hand drawn? Also, this project of yours will be multiplayer? If so, are you using the built-in plugin?

  • Ashley It happens sometimes when you open two projects and copy a function to another project. Sometimes It works and sometimes treats it like It was the same project so It increments the function's name, generating invalid function calls. I'll send to you by email then.

    It happens in beta release too. I've tested with the other project which doesn't load but I still can open it. Both projects got this problem because I started to copy functions to them. I'm quiet certain that the problem has to do with it.

    edit: I just sent you the email

  • Ashley I'm seriously angry because I've spent 1 week trying to find a bug in my project which resulted in black screen. In debug mode it was all loaded, but nothing was showing.

    After 1 week I've gave up and tried another project, the same happened. Now that I had a clue about what was causing all of this, my project now fail to load every time.

    So, I find out we have a really serious problem about the new built in function when you start to copy functions from one project to another. It results in invalid functions calls and somehow is blocking the entire game to load, but this time I can't even start my project.

    I genuinely expect a quick solution to my problem. It's an absurd. I've so little time to work on my projects and now, in the middle of the weekend, I can't do sh**t because a project breaking problem like that is in the stable release.

    And before start with ceticism and say I'm using loops wrong or whatever, I can provide the project for a quick solution, just tell me how, please.

    Tagged:

  • I tried. Nothing changes.

  • I'm trying to use nwjs for the first time in C3 but nothing seams to work. Write files, retrieve user's folder, show folder dialog... nothing works. Should I do something else before using nwjs plugin?

    It only works now after exporting?

    Tagged:

  • Asmodean Now it works but replacing the:

    -> System: Set myUnixtime to Browser.ExecJS("Date.parse("&DateV&")")

    with

    -> System: Set myUnixTime to Browser.ExecJS("new Date('" & DateV & "').getTime()")

    Thanks for your time. ^^

  • Elliott But this way I'm getting the current date, I need to get the date informed by the user, which doesn't mean It'll be the current day.

  • Hey Asmodean Thanks for answer. I was trying to get a readable date informed by the user, convert it to unixtime, add 21 days by adding (21*86400) to unixtime format and then convert it again to a readable date.

    How could it be done?

    I tried

    -> Browser: Execute javascript "this.date = new Date("&unixtime&"); + (21*86400)"

    But It doesn't work.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • That's what I have right now. The year is correct, but the month isn't. If the date is like may 1º it gets 3. months.

    ->DataV = 2019.05.01

    -> System: Set unixDataV to Browser.ExecJS("new Date('" & DataV & "').getTime() / 1000")

    -> System: Set unixDataCD to Browser.ExecJS("new Date('" & DataV & "').getTime() / 1000") + (21×86400)

    -> Text: Set text to 1970 + floor(unixDataCD÷ano_insec)&"/"&floor((unixDataCD%ano_insec)÷mes_insec)&"/"&floor((unixDataCD%ano_insec)%mes_insec)÷dia_insec

    Thanks.

    Tagged:

  • There are no export troublesome in construct 3. The engine is not perfect but none of them are and there are no engine with the same ease of use Construct has. So go ahead, you won't regret it.

RafaelMatos's avatar

RafaelMatos

Member since 8 Mar, 2014

Twitter
RafaelMatos has 1 followers

Connect with RafaelMatos

Trophy Case

  • 10-Year Club
  • Entrepreneur Sold something in the asset store
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Regular Visitor Visited Construct.net 7 days in a row
  • Steady Visitor Visited Construct.net 30 days in a row
  • Enduring Visitor Visited Construct.net 90 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

18/44
How to earn trophies