D
D
DanyaFantomas2015-12-12 22:55:54
Programming
DanyaFantomas, 2015-12-12 22:55:54

2D game [online]. How to organize everything?

Вопрос заключается в том, как написать такую игру. В претендентах у меня три языка: Java, C++, Python(Сам программирую на Java). Для клиента либо Java, либо C++(Кроссплатформенность не обязательна. Достаточно и Windows), а для сервера нужен более оптимальный язык. Примерная нагрузка - 2000-5000 подключений. Слышал, что на Python можно писать высоконагруженные сервера, но также из минусов я у него заметил крайне низкую скорость выполнения программ. Парадокс. Так... на чём же писать клиент и сервер? И, возможно, вы посоветуете что-нибудь поконкретнее, может какой-нибудь фреймворк для работы с графикой/физикой. Я буду только рад! Заранее, благодарствую!

Answer the question

In order to leave comments, you need to log in

4 answer(s)
L
LittleFatNinja, 2015-12-12
@LittleFatNinja

iWKad22.jpg

D
di23, 2015-12-12
@di23

Take a pencil or pen and write your game on a piece of paper.
PS: A question in style...: A welder has decided to build a multi-storey building and asks how he uses a welding machine.

C
coderisimo, 2015-12-13
@coderisimo

There are a bunch of JS tools for the client (namely for creating games (physics, rendering, etc.)).
https://www.google.com/search?q=js+game+frameworks... :)
the server can be, I think, on anything, if you can cook it right

A
Artem Silantiev, 2015-12-13
@AntiStream

If you want to make an online game, then start with something simple. Well, for example, to make a ""simple" MMORPG": The server is on the node, the client is on html + canvas, and the data is transmitted via web sockets. It will be necessary to make a system for loading game areas, which loads those areas in which players are active. Implement various game systems depending on game design: hunting, trading, gathering, crafting, quests, leveling, groups, raids, clans, etc., etc. Establish synchronization and transfer of all game data between players on the same loaded area. In general, this is all a rather time-consuming task, which is not so easy to do. Even if the server and client are made, it will only be a bare non-playable skeleton, but the game really becomes a game only thanks to the game content.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question