Fengist's Forum Posts

  • And I'm having an issue with JS date's which make no sense.

    -> SkillFinished: Set text to Browser.ExecJS("Date("&UDATE&")")

    Doesn't matter what I set UDATE to, it spits out the local date time in HUGE string format.

    You are asking questions about an aspect of gaming that is a science unto itself. Here's a place to get started:

    https://medium.com/@narengowda/how-does-any-mmo-games-backend-work-df19b44f73a7

    To answer your question about how much hardware do you need: To sum it up, there's an old saying amongst those who hod-rod cars and such, there's no substitute for cubic inches (I guess liter's in today's world). The bigger the engine, the faster you can go. Same goes for game servers. There's no substitute for hardware and bandwidth.

    Running a game server on a shared host with 1gb ram and a platter style hard drive is NOT going to come close to a dedicated server with gobs of ram, an M.2 drive and massive bandwidth.

    Now that being said, there was an old multi-player game from the late 80's that easily handled 16 players on a server with bullets, lasers, and gobs of other events, all on 386 machines over dial-up using just one server to host the game.

    en.wikipedia.org/wiki/Netrek

    Have you changed versions of construct since you saved it? If you went back in versions and tried to load it, I have seen it give that error.

  • Legally, not much. Took a quick look and nowhere did I see where he'd put any sort of license on his works. Which means, by default, they are copyrighted.

    I also took a look on his Github and he has been pretty active on there. You might try to contact him and ask him what the license is on his works.

    github.com/rexrainbow

  • I agree. If I have the app installed and it asks to upgrade, it should upgrade the app and not just load the editor.construct.net/whateverbeta. Either way, now that beta & stable are sync'd and stable has the new functions, I've switched back to stable just to keep from getting asked to upgrade every time I run the app.

  • Thanks Ashley Is there any way to get the script to fire when only a specific layout is visible?

  • Not a JS coder but.

    function anipgbar(){
     var p = document.getElementsByClassName("animated"); // class name
     var orig = parseInt(p[0].getAttribute('orig')); // holds the original value of the pg bar
     var cval = parseInt(p[0].getAttribute('value')); // current value of the pg bar
     if (cval > orig) {
     p[0].setAttribute('value', orig); // set the pg bar back to original value
     }
     else
     {
     p[0].setAttribute('value', orig+1); // add 1 to the pg bar value
     }
     };
    
    window.onload = function(){
    setInterval(anipgbar, 2000) // run the function every 2 seconds
    }

    Is there any reason that shouldn't work? It's purpose is to animate a progress bar by increasing and the decreasing it's value. I know the css for it is loading and I know this works on codepen.io but it doesn't work when I load it into C3, and, I checked, it is loading the .js file.

  • Ashley I've been following the bug report. I just noticed. If I run C3 from the desktop icon and I don't update to the latest beta, C3 does not get the bar. However, if I create a new project with just a button and a browser and request full screen when the button is clicked, the project preview gets the new bar in both full screen and non-full screen.

    If I do update to the latest beta, then C3 gets the new bar.

  • They are good to prototype and even deploy on small scale, but when it comes to serious stuff and upscale your project they fall apart.

    I am going to disagree here to a point. You are correct, C3 isn't going to be the engine behind the next great 10k player MMO. It was never designed to be. Every language and game engine out there has it's own strengths and weaknesses. I'd never, ever try to create a paltformer in C#. It would be a nightmare. But I wouldn't try to create a websocket's server in C3 either.

    Saying C3 can't handle serious stuff is all based on your definition of 'serious'. A JS/browser based client with thousands of players all at once on the same server? That's not unheard of. To me, that's pretty serious.

  • Writing code in several different languages and being familiar with IDE's since Turbo Pascal for DOS I can safely say, the answer to your question is dependant upon you. If you're certain the IDE has the ability to achieve your goals then the only things you lack are knowledge and motivation. So, the first question you have to ask is can this IDE do what I want? The second question is, do I have the motivation and determination to learn it? If you can answer yes to both of those, then any IDE is worth it.

    Since this is your 3rd IDE you need to stop and ask which of those two questions answered "no" when working with the other two and why. Then decide if Construct can answer that question with a "yes".

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Okay and I see now that I shouldn't expect this fixed any time soon. I just read over the related bug report and another bug related to it. Depressing. 2+ years and those bugs still exist? So, this whole open source thing where volunteers fix what they wanna fix, who actually came up with this business model? I know I've got some ammunition lying around here somewhere.

  • I just tried it and it does look like a bug, so I filed it.

    Good, so I'm not losing my mind. Thanks Ashley. I was looking for related bugs in chromium but saw nothing. You explained it a lot better than I could have.

  • Ok, done some testing and that bar has to do specifically with the C3 app. If I install the app (I've tried uninstalling and reinstalling 142.2, 146, 147, 147.2), create a new project and run it, the project gets that bar. If I go to editor.construct.net, update to 147.2, create a project and run it, I get the old bar.

    Can anyone else duplicate that or is it just me?

    Annnddd...

    chromereleases.googleblog.com/2019/04/stable-channel-update-for-desktop_30.html

    This is the latest stable release of Google which came out a few days ago and I'm guessing, got updated on this machine overnite. The other machine I work on, I was using it this morning with the C3 app and didn't have this issue on it.

  • Nope, that didn't fix it.

    Now, when I start 147.2 from the desktop the C3 editor does not have the bar. When I run my project, it does have the bar.

    If I run C3 from: editor.construct.net/r1472

    I get the old bar both on the editor and the project.

  • You can use the:

    construct.net/en/make-games/addons/190/html-element

    plugin and format the text as HTML.