📜 ⬆️ ⬇️

REFLECT - browser [2D] game from scratch for 9 days

Hi to all habrayam!

Astrologers have announced a week hakaton.

The topic is almost Friday, we post, consider on Friday. We are a company of friends who wants to try their hand at developing the browser game “REFLECT” in a short time.
')
We got interested in hackathons after several recent articles on habre. This march is somewhat different format, we called it " HAHATon ."

Start is scheduled for today (December 15, 2012) at 15:00 Moscow time. We invite you to visit the broadcast (16+), look at github and participate in comments, tips and ideas.

In addition to this weekend, work on the project will continue over the next week, about 2 to 4 hours on weekdays, after 7:00 pm, plus the first weekend after the end of the world.

About our bunch in pictures:

Ivan Limon (Programmer). Basic skills: mathematics, physics.

Maxim (Programmer). Main skills: Actionscript 3.0.

Albert (Internet, PR). Basic skills: SMM, fcnaznavat, mnogaspat.
In case of fire, make the first.

Ivan (graphics). Basic skills: Photoshop, Illustrator.

Dmitry (game design). Basic skills: SEO, layout.

Vladislav (sound). Basic skills: acrobatics coach. Twists two.

Eugenia. (graphics). Basic skills: web design.


As planned, the main character will be a small robot, which will have to fight against waves of enemy units, but there will be no weapons in its arsenal. The gameplay is to repel the blows of enemies with the Shield. That is, to kill an enemy, you must repel his shot and kill the scum with his own weapon. There will be a bunch of parasitic units, they will climb from all sides, and the player’s task will be not to die and to hold out for the maximum amount of time (a la Crimsonland). With each new wave it will be more difficult to cope, but as a small bonus on the card, additional power up funds will appear that for a short time will allow you to get an advantage. In principle, a non-standard combat model is the main feature of this adventure.

The goal is to release a fully working version of a simple browser game. We give up many details that would make the game more exciting and exciting, and we emphasize simplicity and efficiency. If there is time, we will also make versions for Android and iOS, but, to be honest, we still don’t know how :)

During the broadcast, you can see how work is being done on the game, as well as how we rest during breaks at a party-other in StarCraft II 4x4.

After the game "REFLECT" we plan to take on a slightly more complicated project. We are pleased to take ideas for consideration.

>>> Selected development tools <<<

Aptana Studio. Free, pretty development environment. It has a normal JS debug, Git command line integrated.

Git Version control system. It's time to learn, finally.

Repository on github

EaselJS. Javascript canvas HTML5 engine. I fell in love with him from the first lines of the source when examples. Simple, concise. In the neighborhood there is work with sound and tvins.

jQuery Where without him?

The server part of the table of records - PHP + MySQL.

In order to prevent questions on google closure - we have so far decided to do without it, to be a little closer to pure JS, plus: there’s so much to be figured out, there are no professional JS programmers among us.

In order not to start “zero” at all, the EaselJS engine was probed in advance and the following functionality was prepared: game scene manager, scene preparation from the menu, scene preparation with a game, preloader of pictures. Due to the fact that in some browsers the security policy prohibits uploading local images to JS, a simple httpServer.exe is written for local tests, and for owners of poppies a free downloaded macOShttpServer is uploaded to the repository (thanks to Dima ). ". All this can be viewed and downloaded here .

If the site goes down for any reason, this blog will be maintained in the VKontakte group . Direct links to broadcasts: limon , Maxim , Albert , Dmitry , Ivan , Vladislav , all together .

We do not ask, but do not refuse to help in any of its manifestations: the idea of ​​the logo, its implementation, the outline of enemies, tips on optimizing the code, improving the structure, refactoring, etc.

UPD (December 24, 2012 7:00)
Hello! I will sum up a little:
Maxim is now finishing the last letter of the code and will upload it to the site . For 9 days (2X + 5X evenings of weekdays) it was done by my estimates not a little. The idea, as we saw it, turned out to be more difficult to implement than we imagined. In spite of this, almost everything was completed except for the balance of the game, sounds and music (we picked them up, cut them, but didn’t manage to embed them in software), code refactoring (at the end, especially blocking, something needs optimization), the table of records is not protected, There are a few bug fixes that need fixing, info and credits are not filled in. All this is planned to be done in the near future, to put an end. As a result: a huge amount of experience was received by all of us, a huge amount of pleasure from working with friends, from communicating with other developers. Thank you all again! We do not say goodbye :-)

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


All Articles