Ashley's Recent Forum Activity

  • Internally Construct uses pointer events rather than mouse events, and pointer events have a weird quirk where if you hold two mouse buttons, the first button is a pointerdown event, but the second button fires a pointermove event with different buttons. As Construct supports running in a web worker without direct access to input events, it posts pointer events from the DOM to the worker, and synthesises mouse events based on pointer events, but it has the same limitation. So yeah, I guess that's an awkward compatibility difference.

    I can think of two possible solutions to this:

    1. Use pointer events and watch for the button changes in a pointermove event. Construct adds a non-standard lastButtons property which helps identify new mouse button presses. (Using pointer events also makes it possible to support touch input with the same code.)
    2. Turn off worker mode and use the real browser events in the DOM (i.e. document.addEventListener() rather than runtime.addEventListener()).
  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • The Share plugin does not open a new web page window, so it won't be covered by the popup blocker. However some browsers have similar rules about some features only being allowed in a user input event like a touch or click. It looks like your project already does that though, so I don't know what else might block it. Perhaps if it's used repeatedly some browsers might block further shares on the assumption it's being mis-used?

  • Press F12 and check the browser console for any error messages.

    Device-specific issues tend to be graphics driver problems, so try also checking for any system software updates or driver updates.

  • Modern graphics hardware cannot efficiently handle "set pixel" type operations. Sending data from the CPU to the GPU is a pretty slow, and normally things like textures are all pre-loaded in advance and re-used across frames so as much as possible remains on the GPU without needing to send much data (other than draw calls). IIRC even video playback is often handled on-GPU so the resulting pixel data is decompressed on the GPU rather than sent to the GPU.

    Probably the most efficient you can achieve is to fill an ImageData in JavaScript and display it in a Drawing Canvas with the loadImagePixelData() method. The example WackyToaster linked to is a good demo of that.

  • You do not have permission to view this post

  • My advice would be: don't use jQuery. Construct used to use it but we removed it years ago. Modern web platform features are now comprehensive and cross-browser compatibility is far better, and so you can just use the platform directly without needing a library to manage it.

  • You can update bundled addons by right-clicking the project name in the Project Bar, selecting Tools -> View used addons, and right-clicking the bundled addon. If you have a newer version of the same addon installed, there should be an option to update it.

  • Yeah, I got thinking about it and realised the WebGL 1 restrictions weren't too bad and the spritesheeting engine could relatively easily be adapted to do single sheets, so there's an option in the latest beta. However I'd say it's still kind of experimental and there may need to be a few weeks to make sure that no unexpected issues come up.

  • It looks like I already responded to this in a comment on this suggestion - it should already work without CSS. (Construct loads the web fonts with JavaScript.)

  • The current implementation of global layers is done entirely in the editor. It basically is a shortcut to copy and paste the content of one layer over multiple other layers. This means at runtime the concept of global layers does not currently exist, and so in its current form it's not really possible to implement a runtime form of global layers.

  • A few of Construct's strong points in education off the top of my head:

    • The full version runs in the browser. No need to install/configure anything, and runs on Chromebooks, which are used widely in education.
    • Data privacy: Construct does not require user accounts, and we do not have our own cloud hosting for user projects, meaning you can trust you and your student's data remains private.
    • Mature feature set, such as a fully integrated built-in animation/image editor, timeline animations, hierarchies, sub-layers, advanced effects; a whole host of objects like mature data storage capabilities with Array, Binary Data, Clipboard, Cryptography, CSV, Dictionary, File System, JSON, storage, XML; multimedia features like audio effects, geolocation, speech recognition/synthesis, QR codes, and using camera inputs; more advanced features like Bluetooth, drawing canvas, internationalization, sharing; sophisticated networking capabilities with AJAX, WebSockets, Multiplayer... there's really just too much stuff to list, and it all increases the creative possibilities and kinds of things that can be covered in lessons. One of the problems we have is Construct has so many features, it's actually hard to convey them all!
    • Mature block-based system with event sheets, which covers programming concepts like loops, functions and even polymorphism with custom actions, helping teach more complex concepts without needing to move to coding
    • Integrate not just JavaScript but also (as of recently) TypeScript, as well as HTML and CSS, all industry-standard technologies you can get a job in, so what students learn can directly help them in their future careers
    • A clear, easy-to-use user interface that is quick to get to grips with
    • 350+ built-in example projects
    • Construct has a free edition too, which can suffice for small scale use
    • Probably lots more I forgot to mention

    Free tools have been around for years, like Godot and Unity, and people still choose Construct for its strengths, and I think that will continue for a long time to come!

  • If you run in to a problem please file an issue following all the guidelines, as otherwise it's usually impossible to help.

Ashley's avatar

Ashley

Early Adopter

Member since 21 May, 2007

Twitter
Ashley has 1,383,522 followers

Connect with Ashley

Trophy Case

  • Jupiter Mission Supports Gordon's mission to Jupiter
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • Forum Wizard Made 5,000 posts in the forums
  • Forum Unicorn Made 10,000 posts in the forums
  • Forum Mega Brain Made 20,000 posts in the forums
  • x107
    Coach One of your tutorials has over 1,000 readers
  • x61
    Educator One of your tutorials has over 10,000 readers
  • x2
    Teacher One of your tutorials has over 100,000 readers
  • Sensei One of your tutorials has over 1,000,000 readers
  • Regular Visitor Visited Construct.net 7 days in a row
  • Steady Visitor Visited Construct.net 30 days in a row
  • RTFM Read the fabulous manual
  • x35
    Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

32/44
How to earn trophies

Blogs