V
V
v_marchenko2016-10-02 23:34:20
Mobile development
v_marchenko, 2016-10-02 23:34:20

Games written in C#, how were they imported to android and ios, how does it work?

I am new to programming. The question arose: Angry Birds is written in C#, how was it imported to android and ios, how does it work?

Answer the question

In order to leave comments, you need to log in

4 answer(s)

Games are best written not in a pure language, but using ready-made game engines , the development time takes, perhaps, the same amount, but you are not thinking about the code , but about the gameplay . It is easier to support the project and make changes, the main thing is to build the process correctly and it doesn’t matter whether the project is large or small, the main thing is to adopt this paradigm and use it successfully.
Fortunately, there are a lot of game engines now. Judging by the question, you like the C# language and you know how to code in it, then in your case they will do:
The most popular today. Component approach, a huge number of plugins, which reduces development time. You can develop in both C# and JavaScript. Active support from Microsoft, integration into the Visual Studio development environment. There is also a minus, you will have to get used to it, it is paid, like normal plugins.
Absolutely free engine. The project has existed since 2013, it is actively developed and supported, cross-platform, just due to Xamarin. It is possible to develop not only on Windows, but also on Linux and MacOS. C# native language, you'll be like a fish in water, a component model and support from Microsoft, periodically hold joint competitions with cash prizes. There are also disadvantages that are not as popular as the same Unity, part of the functionality will have to be written by yourself, a small but rapidly developing community, and this is support and quick resolution of emerging issues.
Unique open source, free and fast, multi-platform development (Godot works on Windows, OS X, Linux, FreeBSD, OpenBSD and Haiku. Editor runs in 32-bit and 64-bit, in all platforms.), cross-platform, written in C++. You can write both in C ++ and in your own scripting language GDScript, very simple, understandable, easy to learn in a day. A huge community, extensive documentation and examples, the presence of a plugin model, has been actively developing lately.
In the latest news, the developers have announced official support for C# on the Mono platform. From the article it is clear that the engine needs to go further, and the popular programming language will attract a huge audience + Microsoft support.
--
I'm sure you can find many more engines on the net, I just pointed out the ones that caught my attention.

R
Rou1997, 2016-10-02
@Rou1997

In general, with the help of Xamarin (Mono), and if a cross-platform game "engine" was used right away, then the task is simplified.

G
GavriKos, 2016-10-03
@GavriKos

If you go "deep" - c# is compiled into MSIL (by the same Mono), then there are several options.
1) MSIL is executed by some "virtual machine" on a specific device, and the runtime is integrated into the application as a library
2) MSIL is translated into which c ++ thread, which, in turn, into the machine code of the target platform.
Both options work in Unity, the first one seems to work in Xamarin.
If you are a beginner, then do not go too far into the jungle - take some kind of dviglo and use it.

A
Amfore, 2016-10-03
@Amfore

Angry Birds was created using the box2d cross-platform game engine.
It is written in the platform-independent C++ programming language, so it can run (run) on any platform that has a C++ compiler.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question