ArticleslgStudy

computer science

Construct (game engine)

Construct (game engine) is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Construct (game engine) rather than just read about it. In short: Construct is an HTML5-based 2D video game engine developed by Scirra Ltd. It is aimed primarily at non-programmers, allowing quick creation of games through visual programming.

Construct (game engine) — main illustration
Construct (game engine) — illustration

Key takeaways

  • Construct (game engine) belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Construct (game engine) to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Construct (game engine) from memory before moving on to harder problems.

Reference excerpt

Construct is an HTML5-based 2D video game engine developed by Scirra Ltd. It is aimed primarily at non-programmers, allowing quick creation of games through visual programming. First released as a GPL-licensed DirectX 9 game engine for Microsoft Windows with Python programming on October 27, 2007, it later became proprietary software with Construct 2, as well as switching its API technology from DirectX to NW.js and HTML5, while removing Python and adding JavaScript support and its plugin SDK in 2012, and eventually switched to a subscription-based web app model.

Features

Event system and behaviors The primary method of programming games and applications in Construct is through 'event sheets', which are similar to source files in programming languages. Each event sheet has a list of events, which contain conditional statements or triggers. Once these are met, actions or functions can be carried out. Event logic such as OR and AND, as well as sub-events (representing scope) allow for sophisticated systems to be programmed without learning a comparatively more difficult programming language. Groups can be used to enable and disable multiple events at once, and to organize events.

Object instance selection Unlike many traditional development environments, Construct eschews selecting specific instances of objects when adding events, in favor of filtering through all instances of an object type on screen. When adding events, the editor allows the user to specify conditions or checks that must be fulfilled by each object instance on the screen before the event will be added or run by it. Events can be chained together using sub-events, allowing for more complicated behaviors to be created.

JavaScript Construct 3 supports JavaScript as an optional scripting language which was announced in May 2019, citing the need to satisfy the advanced users' needs and popularity of existing workarounds.

Supported platforms The latest version of Construct supports many platforms to export to, such as web applications and playable advertisements, to dedicated programs and mobile apps. Previous versions of Construct also supported other online platforms and storefronts, but have since been removed due to low use or service changes to the platform.

Construct Classic Construct Classic can only export to .exe files, due to its reliance on DirectX.

Construct 2

HTML5 and storefronts Construct 2's primary export platforms are HTML5 based. It claims support across Google Chrome, Firefox, Internet Explorer 9+, Safari 6+ and Opera 15+ on desktop browsers, and support for Safari in iOS 6+, Chrome and Firefox for Android, Windows Phone 8+, BlackBerry 10+ and Tizen. Additionally, Construct 2 can export to several online marketplaces and platforms, including Facebook, the Chrome Web Store, the Firefox Marketplace, the Amazon Appstore, Construct Arcade (their own platform to host games made in Construct) and Kongregate.

Native platforms Construct has the ability to export to several platforms that provide offline and native application behavior: Windows, MacOS and both 32-bit and 64-bit Linux are supported by exporting to NW.js. Doing this will allow the user to incorporate several features that HTML5 applications do not normally support, such as file I/O. On October 23, 2012, Scirra announced full support for exporting to Windows 8 Metro applications, including the incorporation of in-app purchases, 'snap' view states, roaming data, sharing, live tiles, touch input and accelerometer and inclinometer input. Support for exporting to Windows 10 Universal apps was added on August 26, 2015. Construct handles native mobile support for iOS and Android by using Cordova.

Consoles On January 20, 2014, Scirra announced that Construct 2 would be receiving support for Nintendo's Wii U system. Later that year, a plug-in was released to make Construct-based games compatible with the Nintendo Web Framework. On April 13, 2016, Scirra announced that Construct 2's UWP support will allow publishing games to the Xbox One.

Construct 3

HTML5 Construct 3 currently supports web embeds through HTML5, uploading to Facebook Instant Games, Construct Arcade, as well as being formatted to interactive advertisements. It also originally had supported uploading to Kongregate, but it was removed on July 14, 2020, after Kongregate removed submitting new games to the platform.

Native platforms & consoles Construct 3 also supports exporting to Windows, MacOS and Linux through NW.js, Android and iOS through Cordova, and Windows Store through UWP. Construct 3's UWP support also allows exporting to Xbox One, and Xbox Series X and S through backwards compatibility.

Release history

Construct Classic

Construct Classic is the first major version of the Construct engine. Unlike its successors, it is a free and open source game engine using DirectX. Originally developed by a group of students, it was first released on October 27, 2007, as version 0.8. The most recent release is r2, released on February 5, 2012. This version largely defined the software's visual programming language and separately supported Python scripting. Construct Classic was discontinued on April 20, 2013, to allow the development team to focus more on Construct 2.

Construct 2

Construct 2 is the second major release of the Construct engine. Major changes include DirectX being replaced with NW.js, allowing projects to be exported to platforms other than Microsoft Windows, including HTML5, Mac OS and Linux. The licensing system also moved from GPLv2 to a proprietary license with a free version available for download. Construct 2 entered public beta on February 4, 2011, and was launched on August 22, 2011. During 2012, Python scripting was retired, citing complications with running Python in browsers and general complexity of maintaining a compatible scripting system. A JavaScript SDK for plugins was introduced as a replacement. On February 20, 2020, Scirra announced plans to discontinue Construct 2, with sales of new licenses retired on July 1, 2020. The software was fully discontinued on July 1, 2021.

… excerpt ends here. Continue reading the full article.

Illustrations

Construct (game engine) illustration
Construct (game engine) illustration

Worked examples

Example 1 — a first encounter with Construct (game engine)

Start with the simplest possible case. Write down what Construct (game engine) claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Construct (game engine) before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Construct (game engine) ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Construct (game engine)

In research
Construct (game engine) appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Construct (game engine) in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Construct (game engine) is common in secondary-school and first-year university syllabi. It links to neighbouring topics Graphics libraries, HTML5, IOS video game engines, so understanding it makes those chapters shorter.
In everyday life
Look for Construct (game engine) outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Construct (game engine)” →

How to study Construct (game engine) in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Construct (game engine) means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Construct (game engine) out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Construct (game engine) in simple terms?

Construct is an HTML5-based 2D video game engine developed by Scirra Ltd. It is aimed primarily at non-programmers, allowing quick creation of games through visual programming.

Why does Construct (game engine) matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Construct (game engine)?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Construct (game engine).

Tags

  • Graphics libraries
  • HTML5
  • IOS video game engines
  • Video game IDE
  • Video game development software for Linux
  • Video game engines

Keep exploring