Персональный проект: Симулятор рулетки (Warface)
- 117
- 0
- Опубликовано: 2017-01-02
js, jquery, css, animation, html5 canvas for background, some active elements and take screenshots, css sprites, sprites animation
Random boxes simulator (js, jquery, css, animation, html5 canvas for background, some active elements and take screenshots, css sprites, sprites animation)
The goal was to create the most similar to roulette in the game Warface. Using pure css + js, without flash.
For background and some active elements it has been used html5 canvas.
The first attempts to implement infinitely animated background, have failed. Because the process eats a lot of memory without releasing it at the same time. Then, I found a different way of rendering and page loading become stable memory up to 150 MB.
For the animation does not have to spend much time in analyzing nastoyschey roulette. It was possible to achieve a similar effect as much as possible in the game. In addition, by making a screenshot, not every player can distinguish the real is a screenshot from the game or fake.
Random boxes simulator (js, jquery, css, animation, html5 canvas for background, some active elements and take screenshots, css sprites, sprites animation)
The goal was to create the most similar to roulette in the game Warface. Using pure css + js, without flash.
For background and some active elements it has been used html5 canvas.
The first attempts to implement infinitely animated background, have failed. Because the process eats a lot of memory without releasing it at the same time. Then, I found a different way of rendering and page loading become stable memory up to 150 MB.
For the animation does not have to spend much time in analyzing nastoyschey roulette. It was possible to achieve a similar effect as much as possible in the game. In addition, by making a screenshot, not every player can distinguish the real is a screenshot from the game or fake.
Пример реализации
Комментариев нет
оставить комментарий могут только авторизованные пользователи