📜 ⬆️ ⬇️

Development of 2D games for Windows and HTML5 without programming

image

Hi Habrayuzer!

Today I want to bring to your attention the wonderful designer of 2D games (for Windows and in particular for HTML5) Scirra Construct.
')
The main advantage of this constructor is that the creation of games does not require any knowledge of programming languages, everything is done through the construction of actions in the built-in event system.


I think many of you are thinking about creating your own game, but by itself, the game is a difficult task, but for those who are not at all familiar with programming, it seems like a dark forest.

image

A team from scirra.com has recently distributed two of its constructors:

- Construct Classic (Windows) Absolutely free
- Construct 2 (HTML5) Shareware (with restrictions)

Well, now let's talk about the distinctive characteristics of each.

The first one, namely Construct Classic is distributed absolutely free of charge and allows you to create DirectX games for the Windows platform. Its main advantage in the open source code, that is, when creating a game, you can safely sell it and use it for other commercial purposes. However, this does not make it weaker as a constructor. The capabilities of Construct Classic are perhaps in many ways greater than those of Construct 2, but this is more likely due to the shortcomings of the second and so far limited capabilities of html5.

Here, for clarity, the debut video, revealing the possibilities and what is Construct Classic.



A variety of genres in the designer really happy, for me it is just perfect for creating platformers.

image

The simplest example of creating a platformer in Construct Classic goes like this:

- Adding a pre-drawn (or downloaded from the Internet in the form of a sprite) character, and then the animation of his movements. The disadvantage is that you can add animation only on individual frames, and not the whole (as for example, in .gif format). But if you, for example, draw the animation in Flash yourself, the problem is solved by frame-by-frame saving.
- Assign a special Platform behavior to your character (in this behavior, you can edit such properties as movement speed, jump speed, gravity, assignment of control buttons, etc.)
- Creating a surface (support) for the character on which he actually will run.
- Adding background on a separate layer.
- Adding enemies, game points, sounds, etc.
- Adding events and actions to the Evevnt Sheet Editor (for example: if a character touches an enemy, then the character takes life).

The designer does not limit you in fantasy over the abilities of your character, having a detailed understanding, you can easily teach your character to fly, climb walls, swim, etc.

If someone is interested, then the detailed process of creating a platformer is discussed in this article:
Create a platformer in Construct Classic in 5 minutes .

Here are some examples of games developed in Construct Classic





In addition to games, the designer has the ability to create simple applications.

image

Now let's talk about the second brainchild from Scirra, which allows you to create games in HTML5. Namely, about Construct 2. At the moment it is distributed in three versions.

The first option is free. You are given a designer with limited functionality and without a license. In this embodiment, creating a masterpiece rather will not work, because the limit of 100 events and the limitation of the number of layers will not allow the toy to unfold to its fullest.

The second option costs $ 79 and includes the creation of an unlimited number of events and layers. And also has a limit license, if your income from the game or application does not exceed $ 5000.

The third option provides all the same as the second, only the license is acquired (as far as I understood) completely and this option will cost 375 green.

image

Construct 2 is primarily different from Construct Classic with its slightly reduced capabilities. At least, there are very few objects and behaviors in it, unlike its predecessor. But meanwhile the designer himself has become even friendlier to the user and has mastered the live dragging of images into the program using the means of drug and drop. And most importantly, the ability to create games for devices that support HTML5, including support for touch controls (Hi iOS).

An example of the initial creation of a platformer in Construct 2.



Physics in Construct 2 (also available in Construct Classic), Box2D is used as an engine.



In conclusion, I can say that one of the main drawbacks of both designers is that they only work under Windows. This of course does not prevent you from trying to launch a program in Wine or Crossover, but still the fact remains. As a result, you can get together with a small company of several people and try to create something “your own” and maybe even release that “your own” into the light. Alone working on the game is possible, but it is difficult, if it is said simply, this does not mean quickly. At a minimum, you need to think about creating game mechanics, graphics, music, and then implement it all. But the process of building the game, the interaction of game mechanics, linking the main events with the actions, is implemented in Consctruct at a very high and accessible level for the user to understand. Of course, this is not the first such game constructor, (take GameMaker for example), each has its own advantages and disadvantages, but in its simplicity of developing 2D games for Windows, at least Construct Classic clearly takes the lead.

All for the same interested:

Lesson on creating TDS games in Construct 2 .

Examples of games created in Construct 2 .

Source: https://habr.com/ru/post/136931/


All Articles