glerikud's Forum Posts

  • Kids these days lose focus so quickly that by the time you were halfway through coding up something simple in a traditional language you would have lost about half of them at least.

    Yes, this is true. A few years ago it was that an average student can focus for about 20 minutes before they need to take a break (the teacher would tell a short story, ask them something interesting, etc..). Nowadays that focusing time is much less. The kids grow up with their attention divided so they will divide their attention in class too and can focus for shorter periods.

  • From the manual:

    Set cursor from sprite

    Set the cursor image from a Sprite object. This is preferable to setting a sprite to the mouse co-ordinates, because the input lag is significantly lower. Various limitations apply: the sprite image is used as it appears in the image editor, not taking in to account size or rotation in the layout; the image cannot be too large (64x64 is usually the limit); and support varies depending on browser and OS.

    https://www.scirra.com/manual/114/mouse

    Also, here's Ashley's answer for this in a different topic:

    quot-set-cursor-from-sprite-quot-doesn-039-t-work_p606372?#p606372

  • saiyadjin Personally, I'm really interested in your results. So if you can do some performance tests after your fixes, please post it here. I'll check this topic very often. I think it's great that you do these experiments/fixes in your free time. It might be important what you discovered, it might not, but I think it's worth finding out.

  • I don't know how the anchor behavior works regarding this matter, but I think it sets the positions only if the game was resized and not every tick.

  • Bubble Game - 60FPS, 4.3mb image memory, 15-20% CPU

    Jumble Art - 60FPS, 9.4mb image memory, 14-15% CPU

    Both tested in Firefox with debug mode on a laptop with 8GB DDR3 RAM and an Intel i3-3110m CPU.

    So your games run fine, but the C2 editor does take up 1.3gb memory when opened Jumble Art (and around 200mb when opened Bubble Game). It might be a bug that causes this, so I suggest you file a bug report and see what the Scirra Team has to say about this.

  • I measure significant performance difference between 10.5 and the new version.

    Btw. i've found a workaround for my toolbar problem: Exported project as Html5, and packed with Nodebob.

    I'm glad you found a workaround. If you do have big performance problems with the new version, it might worth a report.

  • actually in the UK primary school curriculum (5-12 year old) there is a requirement that all students must be taught a "real-world" programming language. I think it's harsh but I can see the point in that it is more valuable if they succeed.

    R

    Yes, if they do. But experiences from all over the world state that students who go to college can't program well enough or can't program at all. So a lot of the universities have to start again from the beginning. Also, I think students that young will find those languages too hard.

  • Made several tests. It works for me as well. Sorry for misunderstandings I was simply using the wrong lirbrary.

    What library did you choose to make it work? The one shinkan posted?

  • I haven't experimented with the multiplayer features enough to tell you for sure, but I believe it can handle such projects.

  • Intel XDK should provide the necessary performance for an app. Also don't forget that a game is one of the most complex software you can build. So, if C2 can handle a game, it can surely handle an app. Since the engine is lightweight, it won't have an overhead because of the engine.

    New tutorials are always welcome. Send me a link if you do make it

  • C2 v227, NW10.5

    A lot of bugs have been fixed, also several performance improvements can be found in the newer NW.js versions. There's no need to stick with the old 10.5 version any more. Try updating your NW.js, it will probably fix your problem. https://www.scirra.com/nwjs

  • How do you get the plugin?

    You open a link and just under the title, you click on "Plugin".

  • Thanks for the link. I'll do some testing as soon as I have some time

  • glerikud I wrote tutorial about secure PHP connections as you asked. Please take a look here as I want to keep everyting on one place now to avoid some mess:

    Great, thanks. It's a very informative tutorial. I have only one question: Where does your CBHash.SHA1(...) comes from? Is it a plugin?

    I found one misspelling:

    How to hack AJAX request?: coross-domain

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • If this can be fixed with a workaround from our side, then it might be a good idea to file a bug report to Scirra.