diff --git a/2018-10-02-mahjong-demo2.png b/2018-10-02-mahjong-demo2.png new file mode 100644 index 0000000..8182896 Binary files /dev/null and b/2018-10-02-mahjong-demo2.png differ diff --git a/archives.html b/archives.html index ac4ef16..d602e05 100644 --- a/archives.html +++ b/archives.html @@ -49,6 +49,10 @@ + + + + diff --git a/author/opensource-game-studio.html b/author/opensource-game-studio.html index 1b127ec..7872e1b 100644 --- a/author/opensource-game-studio.html +++ b/author/opensource-game-studio.html @@ -47,6 +47,51 @@ +
+

OGS Mahjong 2: Demo 2

+
Вт 02 октября 2018 + ru + +

Screenshot

+

We are glad to announce the release of the second demonstration of OGS Mahjong 2. +The purposes of this release were to refine our development techniques and +build a solid cross-platform foundation.

+

Release

+

Run the latest version of OGS Mahjong 2 in your web browser: +http://ogstudio.github.io/ogs-mahjong

+

You are encouraged to run the game with seed parameter like this: +http://ogstudio.github.io/ogs-mahjong?seed=0

+

This allows you to play the same layout each time you launch the game.

+

Each seed uniquely identifies the placement of tiles. Thus, different seeds +give you a different experience.

+

Development techniques and foundation

+

During the second demonstration development, we switched from standard +development to example-driven one. This resulted in the +creation of three distinct repositories to back the development of OGS Mahjong 2:

+ +

Beyond Mahjong solitaire

+

In addition to seed parameter, you can let the game use remote layout hosted at GitHub: +http://ogstudio.github.io/ogs-mahjong?seed=0&layout=github://OGStudio/ogs-mahjong-components/data/cat.layout

+

Utilizing remote resources is an extremely powerful approach allowing anyone +to create a layout of his/her choice and see the layout in action instantly.

+

Our next step is to turn game logic into a resource, too.

Category: News + +

+ + +
+ + +
+ + + + +

Examples and dependencies

Вт 21 августа 2018 @@ -58,66 +103,14 @@ change in handling dependencies.

Examples of HTTP client and node selection

Once we finished working on the remote debugging example and reported its completion, we were surprised by the fact -that secure HTTP connection between a debugged application and debug broker -was only working in the web version of the example. Desktop and mobile versions -only worked with insecure HTTP.

-

Since current debug scheme has no authentication, insecure debugging over HTTP -doesn't really hurt. However, if we want to access resources located at popular -sites like GitHub and BitBucket, we have to support secure HTTP.

-

The need to support HTTPS on each platform spurred us to create -HTTP client example. Turned out, each platform had its own -preferred way of doing secure HTTP:

- -

The need to support different languages on different platforms resulted -in the creation of so-called 'host-guest' pattern:

- -

Node selection example was straightforward and caused no troubles.

-

The change in handling dependencies

-

For over a year we had to deal with the following -shortcomings when building OpenSceneGraph across platforms -using conventional methods:

- -

These shortcomings were slowing us down and complicating the development of -new examples. Upon hitting these problems ten more times this month we decided -it was time to solve them once and for all. Now OpenSceneGraph is built as part -of each example in 2-3 minutes, and there's no more dependency magic involved. -We took the same approach of building dependencies as part of each example to -other external libraries like Mongoose and libpng-android, too.

-

With these obstacles out of the way, we can now iterate faster. Just in time -for the next technical demonstration of Mahjong 2!

-

That's it for describing two new OpenSceneGraph cross-platform examples and -the change in handling dependencies.

Category: News +that secure HTTP connection between a debugged application and debug …

Category: News

-
- - + Read More
- + @@ -308,26 +301,6 @@ It seems that this is the technology capable of …

Cate


- - - -
-

Scripting research

-
Ср 16 августа 2017 - ru - -

Scripting research

-

This article describes scripting research in July 2017.

-

Our first goal of using a scripting language was to have a platform-independent code that runs unchanged on every supported platform.

-

OGS Editor 0.10 supports Python for such a code thanks to SWIG. SWIG provides a way to wrap almost any …

Category: News - -

- - - Read More -
-
-
Page 1 of 5
diff --git a/author/opensource-game-studio2.html b/author/opensource-game-studio2.html index 00dbff9..260f4f1 100644 --- a/author/opensource-game-studio2.html +++ b/author/opensource-game-studio2.html @@ -48,6 +48,26 @@ +
+

Scripting research

+
Ср 16 августа 2017 + ru + +

Scripting research

+

This article describes scripting research in July 2017.

+

Our first goal of using a scripting language was to have a platform-independent code that runs unchanged on every supported platform.

+

OGS Editor 0.10 supports Python for such a code thanks to SWIG. SWIG provides a way to wrap almost any …

Category: News + +

+ + + Read More +
+
+ + + +

OpenSceneGraph cross-platform guide

Пн 17 июля 2017 @@ -222,27 +242,6 @@ In case you missed it, here's …

Category:

- - - -
-

Technology showcases

-
Пн 31 октября 2016 - ru - -

TechShowcases

-

In this article, we take another look at 2015-2016 live sessions' format and introduce a new showcase format for 2017.

-

2015 and 2016: live sessions.

-

As you know, we use live sessions to show the state of our technology and create a small functional game from scratch. -We have conducted …

Category: News - -

- - - Read More -
-
-
Page 2 of 5
diff --git a/author/opensource-game-studio3.html b/author/opensource-game-studio3.html index ac92888..02bbbc0 100644 --- a/author/opensource-game-studio3.html +++ b/author/opensource-game-studio3.html @@ -48,6 +48,27 @@ +
+

Technology showcases

+
Пн 31 октября 2016 + ru + +

TechShowcases

+

In this article, we take another look at 2015-2016 live sessions' format and introduce a new showcase format for 2017.

+

2015 and 2016: live sessions.

+

As you know, we use live sessions to show the state of our technology and create a small functional game from scratch. +We have conducted …

Category: News + +

+ + + Read More +
+
+ + + +

September 2016 recap

Вт 11 октября 2016 @@ -226,23 +247,6 @@ It's time to create simple Mahjong solitaire game.

Categ


- - - - -
Page 3 of 5
diff --git a/author/opensource-game-studio4.html b/author/opensource-game-studio4.html index a23f6f9..6745108 100644 --- a/author/opensource-game-studio4.html +++ b/author/opensource-game-studio4.html @@ -48,6 +48,23 @@ + + + + + - - - -
-

Desura no more, hello Humble Bundle Widget

-
Чт 23 июля 2015 - ru - -

After the recent bankruptcy of Desura's parent company, we decided, that we need a new place for our Deluxe version. Something better, more modern and more trustworthy. We have chosen the Humble Widget, with which you can buy the deluxe version of the game without leaving our site.

-

Here it …

Category: News - -

- - - Read More -
-
-
Page 4 of 5
diff --git a/author/opensource-game-studio5.html b/author/opensource-game-studio5.html index 4e1b0a5..c64b6a2 100644 --- a/author/opensource-game-studio5.html +++ b/author/opensource-game-studio5.html @@ -48,6 +48,24 @@ +
+

Desura no more, hello Humble Bundle Widget

+
Чт 23 июля 2015 + ru + +

After the recent bankruptcy of Desura's parent company, we decided, that we need a new place for our Deluxe version. Something better, more modern and more trustworthy. We have chosen the Humble Widget, with which you can buy the deluxe version of the game without leaving our site.

+

Here it …

Category: News + +

+ + + Read More +
+
+ + + +

Test chamber for everyone (Editor 0.7.0)

Ср 22 июля 2015 diff --git a/category/news.html b/category/news.html index 367c072..b0e2236 100644 --- a/category/news.html +++ b/category/news.html @@ -47,6 +47,51 @@ +
+

OGS Mahjong 2: Demo 2

+
Вт 02 октября 2018 + ru + +

Screenshot

+

We are glad to announce the release of the second demonstration of OGS Mahjong 2. +The purposes of this release were to refine our development techniques and +build a solid cross-platform foundation.

+

Release

+

Run the latest version of OGS Mahjong 2 in your web browser: +http://ogstudio.github.io/ogs-mahjong

+

You are encouraged to run the game with seed parameter like this: +http://ogstudio.github.io/ogs-mahjong?seed=0

+

This allows you to play the same layout each time you launch the game.

+

Each seed uniquely identifies the placement of tiles. Thus, different seeds +give you a different experience.

+

Development techniques and foundation

+

During the second demonstration development, we switched from standard +development to example-driven one. This resulted in the +creation of three distinct repositories to back the development of OGS Mahjong 2:

+
    +
  • OpenSceneGraph cross-platform examples repository provides cross-platform foundation like resource handling, render window setup, etc.
  • +
  • OGS Mahjong components repository provides Mahjong specific functionality like parsing layout, matching tiles, etc.
  • +
  • OGS Mahjong repository contains snapshots of OGS Mahjong components features that comprise specific game version. E.g., Demo 2 version is almost identical to 05.ColorfulStatus example of OGS Mahjong components.
  • +
+

Beyond Mahjong solitaire

+

In addition to seed parameter, you can let the game use remote layout hosted at GitHub: +http://ogstudio.github.io/ogs-mahjong?seed=0&layout=github://OGStudio/ogs-mahjong-components/data/cat.layout

+

Utilizing remote resources is an extremely powerful approach allowing anyone +to create a layout of his/her choice and see the layout in action instantly.

+

Our next step is to turn game logic into a resource, too.

Category: News + +

+ + +
+ + +
+ + + + +

Examples and dependencies

Вт 21 августа 2018 @@ -58,66 +103,14 @@ change in handling dependencies.

Examples of HTTP client and node selection

Once we finished working on the remote debugging example and reported its completion, we were surprised by the fact -that secure HTTP connection between a debugged application and debug broker -was only working in the web version of the example. Desktop and mobile versions -only worked with insecure HTTP.

-

Since current debug scheme has no authentication, insecure debugging over HTTP -doesn't really hurt. However, if we want to access resources located at popular -sites like GitHub and BitBucket, we have to support secure HTTP.

-

The need to support HTTPS on each platform spurred us to create -HTTP client example. Turned out, each platform had its own -preferred way of doing secure HTTP:

-
    -
  • web (Emscripten) provides Fetch API
  • -
  • desktop is fine with Mongoose and OpenSSL
  • -
  • Android provides HttpUrlConnection in Java
  • -
  • iOS provides NSURLSession in Objective-C
  • -
-

The need to support different languages on different platforms resulted -in the creation of so-called 'host-guest' pattern:

-
    -
  • guest (platform agnostic)
      -
    • provides networking representation
    • -
    • used by cross-platform C++ code
    • -
    -
  • -
  • host (specific platform)
      -
    • polls guest for pending requests
    • -
    • processes them
    • -
    • reports results back to the guest
    • -
    -
  • -
-

Node selection example was straightforward and caused no troubles.

-

The change in handling dependencies

-

For over a year we had to deal with the following -shortcomings when building OpenSceneGraph across platforms -using conventional methods:

-
    -
  • macOS builds failing due to certain compile flags we use
  • -
  • hacking PNG plugin safety guards to have PNG support under Android
  • -
  • iOS simulator and device builds of the same example being in separate Xcode projects
  • -
  • OpenSceneGraph taking 20-30 minutes to build
  • -
-

These shortcomings were slowing us down and complicating the development of -new examples. Upon hitting these problems ten more times this month we decided -it was time to solve them once and for all. Now OpenSceneGraph is built as part -of each example in 2-3 minutes, and there's no more dependency magic involved. -We took the same approach of building dependencies as part of each example to -other external libraries like Mongoose and libpng-android, too.

-

With these obstacles out of the way, we can now iterate faster. Just in time -for the next technical demonstration of Mahjong 2!

-

That's it for describing two new OpenSceneGraph cross-platform examples and -the change in handling dependencies.

Category: News +that secure HTTP connection between a debugged application and debug …

Category: News

-
- - + Read More
- +
@@ -308,26 +301,6 @@ It seems that this is the technology capable of …

Cate


- - - -
-

Scripting research

-
Ср 16 августа 2017 - ru - -

Scripting research

-

This article describes scripting research in July 2017.

-

Our first goal of using a scripting language was to have a platform-independent code that runs unchanged on every supported platform.

-

OGS Editor 0.10 supports Python for such a code thanks to SWIG. SWIG provides a way to wrap almost any …

Category: News - -

- - - Read More -
-
-
Page 1 of 5
diff --git a/category/news2.html b/category/news2.html index 0be631e..b0e4a74 100644 --- a/category/news2.html +++ b/category/news2.html @@ -48,6 +48,26 @@ +
+

Scripting research

+
Ср 16 августа 2017 + ru + +

Scripting research

+

This article describes scripting research in July 2017.

+

Our first goal of using a scripting language was to have a platform-independent code that runs unchanged on every supported platform.

+

OGS Editor 0.10 supports Python for such a code thanks to SWIG. SWIG provides a way to wrap almost any …

Category: News + +

+ + + Read More +
+
+ + + + - - - -
-

Technology showcases

-
Пн 31 октября 2016 - ru - -

TechShowcases

-

In this article, we take another look at 2015-2016 live sessions' format and introduce a new showcase format for 2017.

-

2015 and 2016: live sessions.

-

As you know, we use live sessions to show the state of our technology and create a small functional game from scratch. -We have conducted …

Category: News - -

- - - Read More -
-
-
Page 2 of 5
diff --git a/category/news3.html b/category/news3.html index 972cb7d..ffa84d5 100644 --- a/category/news3.html +++ b/category/news3.html @@ -48,6 +48,27 @@ +
+

Technology showcases

+
Пн 31 октября 2016 + ru + +

TechShowcases

+

In this article, we take another look at 2015-2016 live sessions' format and introduce a new showcase format for 2017.

+

2015 and 2016: live sessions.

+

As you know, we use live sessions to show the state of our technology and create a small functional game from scratch. +We have conducted …

Category: News + +

+ + + Read More +
+
+ + + +

September 2016 recap

Вт 11 октября 2016 @@ -226,23 +247,6 @@ It's time to create simple Mahjong solitaire game.

Categ


- - - - -
Page 3 of 5
diff --git a/category/news4.html b/category/news4.html index 54e750b..a1fef48 100644 --- a/category/news4.html +++ b/category/news4.html @@ -48,6 +48,23 @@ + + + + + - - - -
-

Desura no more, hello Humble Bundle Widget

-
Чт 23 июля 2015 - ru - -

After the recent bankruptcy of Desura's parent company, we decided, that we need a new place for our Deluxe version. Something better, more modern and more trustworthy. We have chosen the Humble Widget, with which you can buy the deluxe version of the game without leaving our site.

-

Here it …

Category: News - -

- - - Read More -
-
-
Page 4 of 5
diff --git a/category/news5.html b/category/news5.html index b069af2..58e56f1 100644 --- a/category/news5.html +++ b/category/news5.html @@ -48,6 +48,24 @@ +
+

Desura no more, hello Humble Bundle Widget

+
Чт 23 июля 2015 + ru + +

After the recent bankruptcy of Desura's parent company, we decided, that we need a new place for our Deluxe version. Something better, more modern and more trustworthy. We have chosen the Humble Widget, with which you can buy the deluxe version of the game without leaving our site.

+

Here it …

Category: News + +

+ + + Read More +
+
+ + + +

Test chamber for everyone (Editor 0.7.0)

Ср 22 июля 2015 diff --git a/feeds/all.atom.xml b/feeds/all.atom.xml index 38c13b8..a1b0c0c 100644 --- a/feeds/all.atom.xml +++ b/feeds/all.atom.xml @@ -1,5 +1,72 @@ -Opensource Game Studiohttp://opengamestudio.org/2018-08-21T00:00:00+03:00Examples and dependencies2018-08-21T00:00:00+03:002018-08-21T00:00:00+03:00Opensource Game Studiotag:opengamestudio.org,2018-08-21:/examples-and-dependencies.html<p><img alt="Screenshot" src="http://opengamestudio.org/2018-08-21-examples-and-dependencies.png"></p> +Opensource Game Studiohttp://opengamestudio.org/2018-10-02T00:00:00+03:00OGS Mahjong 2: Demo 22018-10-02T00:00:00+03:002018-10-02T00:00:00+03:00Opensource Game Studiotag:opengamestudio.org,2018-10-02:/mahjong-demo2.html<p><img alt="Screenshot" src="http://opengamestudio.org/2018-10-02-mahjong-demo2.png"></p> +<p>We are glad to announce the release of the second demonstration of OGS Mahjong 2. +The purposes of this release were to refine our development techniques and +build a solid cross-platform foundation.</p> +<p><strong>Release</strong></p> +<p>Run the latest version of OGS Mahjong 2 in your web browser: +<a href="http://ogstudio.github.io/ogs-mahjong">http://ogstudio.github.io/ogs-mahjong …</a></p><p><img alt="Screenshot" src="http://opengamestudio.org/2018-10-02-mahjong-demo2.png"></p> +<p>We are glad to announce the release of the second demonstration of OGS Mahjong 2. +The purposes of this release were to refine our development techniques and +build a solid cross-platform foundation.</p> +<p><strong>Release</strong></p> +<p>Run the latest version of OGS Mahjong 2 in your web browser: +<a href="http://ogstudio.github.io/ogs-mahjong">http://ogstudio.github.io/ogs-mahjong</a></p> +<p>You are encouraged to run the game with <code>seed</code> parameter like this: +<a href="http://ogstudio.github.io/ogs-mahjong?seed=0">http://ogstudio.github.io/ogs-mahjong?seed=0</a></p> +<p>This allows you to play the same layout each time you launch the game.</p> +<p>Each seed uniquely identifies the placement of tiles. Thus, different seeds +give you a different experience.</p> +<p><strong>Development techniques and foundation</strong></p> +<p>During the second demonstration development, we switched from standard +development to <a href="http://opengamestudio.org/example-driven-development.html">example-driven one</a>. This resulted in the +creation of three distinct repositories to back the development of OGS Mahjong 2:</p> +<ul> +<li><a href="https://github.com/OGStudio/openscenegraph-cross-platform-examples">OpenSceneGraph cross-platform examples</a> repository provides cross-platform foundation like resource handling, render window setup, etc.</li> +<li><a href="https://github.com/OGStudio/ogs-mahjong-components">OGS Mahjong components</a> repository provides Mahjong specific functionality like parsing layout, matching tiles, etc.</li> +<li><a href="https://bitbucket.org/ogstudio-games/ogs-mahjong">OGS Mahjong</a> repository contains snapshots of <code>OGS Mahjong components</code> features that comprise specific game version. E.g., <code>Demo 2</code> version is almost identical to <a href="https://github.com/OGStudio/ogs-mahjong-components/tree/master/05.ColorfulStatus">05.ColorfulStatus</a> example of <code>OGS Mahjong components</code>.</li> +</ul> +<p><strong>Beyond Mahjong solitaire</strong></p> +<p>In addition to <code>seed</code> parameter, you can let the game use remote layout hosted at GitHub: +<a href="http://ogstudio.github.io/ogs-mahjong?seed=0&amp;layout=github://OGStudio/ogs-mahjong-components/data/cat.layout">http://ogstudio.github.io/ogs-mahjong?seed=0&amp;layout=github://OGStudio/ogs-mahjong-components/data/cat.layout</a></p> +<p>Utilizing remote resources is an extremely powerful approach allowing anyone +to create a layout of his/her choice and see the layout in action instantly.</p> +<p>Our next step is to turn game logic into a resource, too.</p>OGS Mahjong 2: Demo 22018-10-02T00:00:00+03:002018-10-02T00:00:00+03:00Opensource Game Studiotag:opengamestudio.org,2018-10-02:/mahjong-demo2-ru.html<p><img alt="Screenshot" src="http://opengamestudio.org/2018-10-02-mahjong-demo2.png"></p> +<p>Мы рады сообщить о выпуске второй демонстрации OGS Mahjong 2. Её целью были +улучшение техники разработки и создание надёжной основы кроссплатформенной +разработки.</p> +<p><strong>Выпуск</strong></p> +<p>Запустите последний выпуск OGS Mahjong 2 в вашем браузере: +<a href="http://ogstudio.github.io/ogs-mahjong">http://ogstudio.github.io/ogs-mahjong</a></p> +<p>Рекомендуем запускать игру с параметром <code>seed</code> следующим образом: +<a href="http://ogstudio.github.io/ogs-mahjong?seed=0">http://ogstudio.github.io/ogs-mahjong …</a></p><p><img alt="Screenshot" src="http://opengamestudio.org/2018-10-02-mahjong-demo2.png"></p> +<p>Мы рады сообщить о выпуске второй демонстрации OGS Mahjong 2. Её целью были +улучшение техники разработки и создание надёжной основы кроссплатформенной +разработки.</p> +<p><strong>Выпуск</strong></p> +<p>Запустите последний выпуск OGS Mahjong 2 в вашем браузере: +<a href="http://ogstudio.github.io/ogs-mahjong">http://ogstudio.github.io/ogs-mahjong</a></p> +<p>Рекомендуем запускать игру с параметром <code>seed</code> следующим образом: +<a href="http://ogstudio.github.io/ogs-mahjong?seed=0">http://ogstudio.github.io/ogs-mahjong?seed=0</a></p> +<p>Это позволяет вам играть в ту же самую раскладку после перезапуска.</p> +<p>Каждое значение зерна (seed) однозначно задаёт расположение фишек, так что +разные значения зерна дают разнообразие партий.</p> +<p><strong>Техника разработки и основа</strong></p> +<p>Во время разработки второй демонстрации мы перешли с обычной разработки на +<a href="http://opengamestudio.org/example-driven-development.html">разработку через создание примеров</a>. Это привело к +появлению трёх различных хранилищ для обеспечения разработки OGS Mahjong 2:</p> +<ul> +<li>Хранилище <a href="https://github.com/OGStudio/openscenegraph-cross-platform-examples">кроссплатформенных примеров OpenSceneGraph</a> содержит основу вроде работы с ресурсами, создание графического окна и т.д.</li> +<li>Хранилище <a href="https://github.com/OGStudio/ogs-mahjong-components">компонент OGS Mahjong</a> содержит специфичную для Маджонга функциональность вроде разбора раскладки, сопоставления фишек и т.д.</li> +<li>Хранилище <a href="https://bitbucket.org/ogstudio-games/ogs-mahjong">OGS Mahjong</a> содержит снимок набора функциональностей <code>компонент OGS Mahjong</code>, которые определяют версию игры. Например, версия <code>Demo 2</code> почти полностью повторяет пример <a href="https://github.com/OGStudio/ogs-mahjong-components/tree/master/05.ColorfulStatus">05.ColorfulStatus</a> из <code>компонент OGS Mahjong</code>.</li> +</ul> +<p><strong>За пределами пасьянса Маджонг</strong></p> +<p>В дополнение к параметру <code>seed</code> вы можете указать игре использовать удалённую +раскладку, расположенную на GitHub: +<a href="http://ogstudio.github.io/ogs-mahjong?seed=0&amp;layout=github://OGStudio/ogs-mahjong-components/data/cat.layout">http://ogstudio.github.io/ogs-mahjong?seed=0&amp;layout=github://OGStudio/ogs-mahjong-components/data/cat.layout</a></p> +<p>Использование удалённых ресурсов открывает огромные возможности, т.к. позволяет +любому желающему создать раскладку на свой вкус и моментально её проверить.</p> +<p>Наш следующий шаг - это выделение игровой логики в виде ресурса.</p>Examples and dependencies2018-08-21T00:00:00+03:002018-08-21T00:00:00+03:00Opensource Game Studiotag:opengamestudio.org,2018-08-21:/examples-and-dependencies.html<p><img alt="Screenshot" src="http://opengamestudio.org/2018-08-21-examples-and-dependencies.png"></p> <p>This article describes two new OpenSceneGraph cross-platform examples and the change in handling dependencies.</p> <p><strong>Examples of HTTP client and node selection</strong></p> diff --git a/feeds/news.atom.xml b/feeds/news.atom.xml index f8c4f35..f83b875 100644 --- a/feeds/news.atom.xml +++ b/feeds/news.atom.xml @@ -1,5 +1,37 @@ -Opensource Game Studio - Newshttp://opengamestudio.org/2018-08-21T00:00:00+03:00Examples and dependencies2018-08-21T00:00:00+03:002018-08-21T00:00:00+03:00Opensource Game Studiotag:opengamestudio.org,2018-08-21:/examples-and-dependencies.html<p><img alt="Screenshot" src="http://opengamestudio.org/2018-08-21-examples-and-dependencies.png"></p> +Opensource Game Studio - Newshttp://opengamestudio.org/2018-10-02T00:00:00+03:00OGS Mahjong 2: Demo 22018-10-02T00:00:00+03:002018-10-02T00:00:00+03:00Opensource Game Studiotag:opengamestudio.org,2018-10-02:/mahjong-demo2.html<p><img alt="Screenshot" src="http://opengamestudio.org/2018-10-02-mahjong-demo2.png"></p> +<p>We are glad to announce the release of the second demonstration of OGS Mahjong 2. +The purposes of this release were to refine our development techniques and +build a solid cross-platform foundation.</p> +<p><strong>Release</strong></p> +<p>Run the latest version of OGS Mahjong 2 in your web browser: +<a href="http://ogstudio.github.io/ogs-mahjong">http://ogstudio.github.io/ogs-mahjong …</a></p><p><img alt="Screenshot" src="http://opengamestudio.org/2018-10-02-mahjong-demo2.png"></p> +<p>We are glad to announce the release of the second demonstration of OGS Mahjong 2. +The purposes of this release were to refine our development techniques and +build a solid cross-platform foundation.</p> +<p><strong>Release</strong></p> +<p>Run the latest version of OGS Mahjong 2 in your web browser: +<a href="http://ogstudio.github.io/ogs-mahjong">http://ogstudio.github.io/ogs-mahjong</a></p> +<p>You are encouraged to run the game with <code>seed</code> parameter like this: +<a href="http://ogstudio.github.io/ogs-mahjong?seed=0">http://ogstudio.github.io/ogs-mahjong?seed=0</a></p> +<p>This allows you to play the same layout each time you launch the game.</p> +<p>Each seed uniquely identifies the placement of tiles. Thus, different seeds +give you a different experience.</p> +<p><strong>Development techniques and foundation</strong></p> +<p>During the second demonstration development, we switched from standard +development to <a href="http://opengamestudio.org/example-driven-development.html">example-driven one</a>. This resulted in the +creation of three distinct repositories to back the development of OGS Mahjong 2:</p> +<ul> +<li><a href="https://github.com/OGStudio/openscenegraph-cross-platform-examples">OpenSceneGraph cross-platform examples</a> repository provides cross-platform foundation like resource handling, render window setup, etc.</li> +<li><a href="https://github.com/OGStudio/ogs-mahjong-components">OGS Mahjong components</a> repository provides Mahjong specific functionality like parsing layout, matching tiles, etc.</li> +<li><a href="https://bitbucket.org/ogstudio-games/ogs-mahjong">OGS Mahjong</a> repository contains snapshots of <code>OGS Mahjong components</code> features that comprise specific game version. E.g., <code>Demo 2</code> version is almost identical to <a href="https://github.com/OGStudio/ogs-mahjong-components/tree/master/05.ColorfulStatus">05.ColorfulStatus</a> example of <code>OGS Mahjong components</code>.</li> +</ul> +<p><strong>Beyond Mahjong solitaire</strong></p> +<p>In addition to <code>seed</code> parameter, you can let the game use remote layout hosted at GitHub: +<a href="http://ogstudio.github.io/ogs-mahjong?seed=0&amp;layout=github://OGStudio/ogs-mahjong-components/data/cat.layout">http://ogstudio.github.io/ogs-mahjong?seed=0&amp;layout=github://OGStudio/ogs-mahjong-components/data/cat.layout</a></p> +<p>Utilizing remote resources is an extremely powerful approach allowing anyone +to create a layout of his/her choice and see the layout in action instantly.</p> +<p>Our next step is to turn game logic into a resource, too.</p>Examples and dependencies2018-08-21T00:00:00+03:002018-08-21T00:00:00+03:00Opensource Game Studiotag:opengamestudio.org,2018-08-21:/examples-and-dependencies.html<p><img alt="Screenshot" src="http://opengamestudio.org/2018-08-21-examples-and-dependencies.png"></p> <p>This article describes two new OpenSceneGraph cross-platform examples and the change in handling dependencies.</p> <p><strong>Examples of HTTP client and node selection</strong></p> diff --git a/index.html b/index.html index c962846..233f16b 100644 --- a/index.html +++ b/index.html @@ -47,6 +47,51 @@ +
+

OGS Mahjong 2: Demo 2

+
Вт 02 октября 2018 + ru + +

Screenshot

+

We are glad to announce the release of the second demonstration of OGS Mahjong 2. +The purposes of this release were to refine our development techniques and +build a solid cross-platform foundation.

+

Release

+

Run the latest version of OGS Mahjong 2 in your web browser: +http://ogstudio.github.io/ogs-mahjong

+

You are encouraged to run the game with seed parameter like this: +http://ogstudio.github.io/ogs-mahjong?seed=0

+

This allows you to play the same layout each time you launch the game.

+

Each seed uniquely identifies the placement of tiles. Thus, different seeds +give you a different experience.

+

Development techniques and foundation

+

During the second demonstration development, we switched from standard +development to example-driven one. This resulted in the +creation of three distinct repositories to back the development of OGS Mahjong 2:

+
    +
  • OpenSceneGraph cross-platform examples repository provides cross-platform foundation like resource handling, render window setup, etc.
  • +
  • OGS Mahjong components repository provides Mahjong specific functionality like parsing layout, matching tiles, etc.
  • +
  • OGS Mahjong repository contains snapshots of OGS Mahjong components features that comprise specific game version. E.g., Demo 2 version is almost identical to 05.ColorfulStatus example of OGS Mahjong components.
  • +
+

Beyond Mahjong solitaire

+

In addition to seed parameter, you can let the game use remote layout hosted at GitHub: +http://ogstudio.github.io/ogs-mahjong?seed=0&layout=github://OGStudio/ogs-mahjong-components/data/cat.layout

+

Utilizing remote resources is an extremely powerful approach allowing anyone +to create a layout of his/her choice and see the layout in action instantly.

+

Our next step is to turn game logic into a resource, too.

Category: News + +

+ + +
+ + +
+ + + + +

Examples and dependencies

Вт 21 августа 2018 @@ -58,66 +103,14 @@ change in handling dependencies.

Examples of HTTP client and node selection

Once we finished working on the remote debugging example and reported its completion, we were surprised by the fact -that secure HTTP connection between a debugged application and debug broker -was only working in the web version of the example. Desktop and mobile versions -only worked with insecure HTTP.

-

Since current debug scheme has no authentication, insecure debugging over HTTP -doesn't really hurt. However, if we want to access resources located at popular -sites like GitHub and BitBucket, we have to support secure HTTP.

-

The need to support HTTPS on each platform spurred us to create -HTTP client example. Turned out, each platform had its own -preferred way of doing secure HTTP:

-
    -
  • web (Emscripten) provides Fetch API
  • -
  • desktop is fine with Mongoose and OpenSSL
  • -
  • Android provides HttpUrlConnection in Java
  • -
  • iOS provides NSURLSession in Objective-C
  • -
-

The need to support different languages on different platforms resulted -in the creation of so-called 'host-guest' pattern:

-
    -
  • guest (platform agnostic)
      -
    • provides networking representation
    • -
    • used by cross-platform C++ code
    • -
    -
  • -
  • host (specific platform)
      -
    • polls guest for pending requests
    • -
    • processes them
    • -
    • reports results back to the guest
    • -
    -
  • -
-

Node selection example was straightforward and caused no troubles.

-

The change in handling dependencies

-

For over a year we had to deal with the following -shortcomings when building OpenSceneGraph across platforms -using conventional methods:

-
    -
  • macOS builds failing due to certain compile flags we use
  • -
  • hacking PNG plugin safety guards to have PNG support under Android
  • -
  • iOS simulator and device builds of the same example being in separate Xcode projects
  • -
  • OpenSceneGraph taking 20-30 minutes to build
  • -
-

These shortcomings were slowing us down and complicating the development of -new examples. Upon hitting these problems ten more times this month we decided -it was time to solve them once and for all. Now OpenSceneGraph is built as part -of each example in 2-3 minutes, and there's no more dependency magic involved. -We took the same approach of building dependencies as part of each example to -other external libraries like Mongoose and libpng-android, too.

-

With these obstacles out of the way, we can now iterate faster. Just in time -for the next technical demonstration of Mahjong 2!

-

That's it for describing two new OpenSceneGraph cross-platform examples and -the change in handling dependencies.

Category: News +that secure HTTP connection between a debugged application and debug …

Category: News

-
- - + Read More
- +
@@ -308,26 +301,6 @@ It seems that this is the technology capable of …

Cate


- - - -
-

Scripting research

-
Ср 16 августа 2017 - ru - -

Scripting research

-

This article describes scripting research in July 2017.

-

Our first goal of using a scripting language was to have a platform-independent code that runs unchanged on every supported platform.

-

OGS Editor 0.10 supports Python for such a code thanks to SWIG. SWIG provides a way to wrap almost any …

Category: News - -

- - - Read More -
-
-
Page 1 of 5
diff --git a/index2.html b/index2.html index 07f6b94..811a246 100644 --- a/index2.html +++ b/index2.html @@ -48,6 +48,26 @@ +
+

Scripting research

+
Ср 16 августа 2017 + ru + +

Scripting research

+

This article describes scripting research in July 2017.

+

Our first goal of using a scripting language was to have a platform-independent code that runs unchanged on every supported platform.

+

OGS Editor 0.10 supports Python for such a code thanks to SWIG. SWIG provides a way to wrap almost any …

Category: News + +

+ + + Read More +
+
+ + + + - - - -
-

Technology showcases

-
Пн 31 октября 2016 - ru - -

TechShowcases

-

In this article, we take another look at 2015-2016 live sessions' format and introduce a new showcase format for 2017.

-

2015 and 2016: live sessions.

-

As you know, we use live sessions to show the state of our technology and create a small functional game from scratch. -We have conducted …

Category: News - -

- - - Read More -
-
-
Page 2 of 5
diff --git a/index3.html b/index3.html index bf1b444..58b5188 100644 --- a/index3.html +++ b/index3.html @@ -48,6 +48,27 @@ +
+

Technology showcases

+
Пн 31 октября 2016 + ru + +

TechShowcases

+

In this article, we take another look at 2015-2016 live sessions' format and introduce a new showcase format for 2017.

+

2015 and 2016: live sessions.

+

As you know, we use live sessions to show the state of our technology and create a small functional game from scratch. +We have conducted …

Category: News + +

+ + + Read More +
+
+ + + +

September 2016 recap

Вт 11 октября 2016 @@ -226,23 +247,6 @@ It's time to create simple Mahjong solitaire game.

Categ


- - - - -
Page 3 of 5
diff --git a/index4.html b/index4.html index 4af145c..f95ba2f 100644 --- a/index4.html +++ b/index4.html @@ -48,6 +48,23 @@ + + + + + - - - -
-

Desura no more, hello Humble Bundle Widget

-
Чт 23 июля 2015 - ru - -

After the recent bankruptcy of Desura's parent company, we decided, that we need a new place for our Deluxe version. Something better, more modern and more trustworthy. We have chosen the Humble Widget, with which you can buy the deluxe version of the game without leaving our site.

-

Here it …

Category: News - -

- - - Read More -
-
-
Page 4 of 5
diff --git a/index5.html b/index5.html index 7248908..2c74fde 100644 --- a/index5.html +++ b/index5.html @@ -48,6 +48,24 @@ +
+

Desura no more, hello Humble Bundle Widget

+
Чт 23 июля 2015 + ru + +

After the recent bankruptcy of Desura's parent company, we decided, that we need a new place for our Deluxe version. Something better, more modern and more trustworthy. We have chosen the Humble Widget, with which you can buy the deluxe version of the game without leaving our site.

+

Here it …

Category: News + +

+ + + Read More +
+
+ + + +

Test chamber for everyone (Editor 0.7.0)

Ср 22 июля 2015 diff --git a/mahjong-demo2-ru.html b/mahjong-demo2-ru.html new file mode 100644 index 0000000..98ff026 --- /dev/null +++ b/mahjong-demo2-ru.html @@ -0,0 +1,154 @@ + + + + + + + OGS Mahjong 2: Demo 2 + + + + + + + + + + + + + + + + + + + + +
+ + +
+
+
+

OGS Mahjong 2: Demo 2

+
+ +
Вт 02 октября 2018 + en + +

Screenshot

+

Мы рады сообщить о выпуске второй демонстрации OGS Mahjong 2. Её целью были +улучшение техники разработки и создание надёжной основы кроссплатформенной +разработки.

+

Выпуск

+

Запустите последний выпуск OGS Mahjong 2 в вашем браузере: +http://ogstudio.github.io/ogs-mahjong

+

Рекомендуем запускать игру с параметром seed следующим образом: +http://ogstudio.github.io/ogs-mahjong?seed=0

+

Это позволяет вам играть в ту же самую раскладку после перезапуска.

+

Каждое значение зерна (seed) однозначно задаёт расположение фишек, так что +разные значения зерна дают разнообразие партий.

+

Техника разработки и основа

+

Во время разработки второй демонстрации мы перешли с обычной разработки на +разработку через создание примеров. Это привело к +появлению трёх различных хранилищ для обеспечения разработки OGS Mahjong 2:

+
    +
  • Хранилище кроссплатформенных примеров OpenSceneGraph содержит основу вроде работы с ресурсами, создание графического окна и т.д.
  • +
  • Хранилище компонент OGS Mahjong содержит специфичную для Маджонга функциональность вроде разбора раскладки, сопоставления фишек и т.д.
  • +
  • Хранилище OGS Mahjong содержит снимок набора функциональностей компонент OGS Mahjong, которые определяют версию игры. Например, версия Demo 2 почти полностью повторяет пример 05.ColorfulStatus из компонент OGS Mahjong.
  • +
+

За пределами пасьянса Маджонг

+

В дополнение к параметру seed вы можете указать игре использовать удалённую +раскладку, расположенную на GitHub: +http://ogstudio.github.io/ogs-mahjong?seed=0&layout=github://OGStudio/ogs-mahjong-components/data/cat.layout

+

Использование удалённых ресурсов открывает огромные возможности, т.к. позволяет +любому желающему создать раскладку на свой вкус и моментально её проверить.

+

Наш следующий шаг - это выделение игровой логики в виде ресурса.

+

Category: News + +

+ + + +
+
+ + + + + +
+ + + +
+
+
+
+
+

Proudly powered by Pelican, which takes great advantage of Python.

+
+
+
+ +
\ No newline at end of file diff --git a/mahjong-demo2.html b/mahjong-demo2.html new file mode 100644 index 0000000..19c861b --- /dev/null +++ b/mahjong-demo2.html @@ -0,0 +1,153 @@ + + + + + + + OGS Mahjong 2: Demo 2 + + + + + + + + + + + + + + + + + + + + +
+ + +
+
+
+

OGS Mahjong 2: Demo 2

+
+ +
Вт 02 октября 2018 + ru + +

Screenshot

+

We are glad to announce the release of the second demonstration of OGS Mahjong 2. +The purposes of this release were to refine our development techniques and +build a solid cross-platform foundation.

+

Release

+

Run the latest version of OGS Mahjong 2 in your web browser: +http://ogstudio.github.io/ogs-mahjong

+

You are encouraged to run the game with seed parameter like this: +http://ogstudio.github.io/ogs-mahjong?seed=0

+

This allows you to play the same layout each time you launch the game.

+

Each seed uniquely identifies the placement of tiles. Thus, different seeds +give you a different experience.

+

Development techniques and foundation

+

During the second demonstration development, we switched from standard +development to example-driven one. This resulted in the +creation of three distinct repositories to back the development of OGS Mahjong 2:

+
    +
  • OpenSceneGraph cross-platform examples repository provides cross-platform foundation like resource handling, render window setup, etc.
  • +
  • OGS Mahjong components repository provides Mahjong specific functionality like parsing layout, matching tiles, etc.
  • +
  • OGS Mahjong repository contains snapshots of OGS Mahjong components features that comprise specific game version. E.g., Demo 2 version is almost identical to 05.ColorfulStatus example of OGS Mahjong components.
  • +
+

Beyond Mahjong solitaire

+

In addition to seed parameter, you can let the game use remote layout hosted at GitHub: +http://ogstudio.github.io/ogs-mahjong?seed=0&layout=github://OGStudio/ogs-mahjong-components/data/cat.layout

+

Utilizing remote resources is an extremely powerful approach allowing anyone +to create a layout of his/her choice and see the layout in action instantly.

+

Our next step is to turn game logic into a resource, too.

+

Category: News + +

+ + + +
+
+ + + + + +
+ + + + \ No newline at end of file diff --git a/pelican/content/articles/2018-10-02-mahjong-demo2-ru.md b/pelican/content/articles/2018-10-02-mahjong-demo2-ru.md new file mode 100644 index 0000000..3402fb4 --- /dev/null +++ b/pelican/content/articles/2018-10-02-mahjong-demo2-ru.md @@ -0,0 +1,54 @@ +Title: OGS Mahjong 2: Demo 2 +Date: 2018-10-02 00:00 +Category: News +Slug: mahjong-demo2 +Lang: ru + +![Screenshot][screenshot] + +Мы рады сообщить о выпуске второй демонстрации OGS Mahjong 2. Её целью были +улучшение техники разработки и создание надёжной основы кроссплатформенной +разработки. + +**Выпуск** + +Запустите последний выпуск OGS Mahjong 2 в вашем браузере: +[http://ogstudio.github.io/ogs-mahjong](http://ogstudio.github.io/ogs-mahjong) + +Рекомендуем запускать игру с параметром `seed` следующим образом: +[http://ogstudio.github.io/ogs-mahjong?seed=0](http://ogstudio.github.io/ogs-mahjong?seed=0) + +Это позволяет вам играть в ту же самую раскладку после перезапуска. + +Каждое значение зерна (seed) однозначно задаёт расположение фишек, так что +разные значения зерна дают разнообразие партий. + +**Техника разработки и основа** + +Во время разработки второй демонстрации мы перешли с обычной разработки на +[разработку через создание примеров][article-2018-june]. Это привело к +появлению трёх различных хранилищ для обеспечения разработки OGS Mahjong 2: + +* Хранилище [кроссплатформенных примеров OpenSceneGraph][osgcpe] содержит основу вроде работы с ресурсами, создание графического окна и т.д. +* Хранилище [компонент OGS Mahjong][omc] содержит специфичную для Маджонга функциональность вроде разбора раскладки, сопоставления фишек и т.д. +* Хранилище [OGS Mahjong][ogs-mahjong] содержит снимок набора функциональностей `компонент OGS Mahjong`, которые определяют версию игры. Например, версия `Demo 2` почти полностью повторяет пример [05.ColorfulStatus][omc-05] из `компонент OGS Mahjong`. + +**За пределами пасьянса Маджонг** + +В дополнение к параметру `seed` вы можете указать игре использовать удалённую +раскладку, расположенную на GitHub: +[http://ogstudio.github.io/ogs-mahjong?seed=0&layout=github://OGStudio/ogs-mahjong-components/data/cat.layout](http://ogstudio.github.io/ogs-mahjong?seed=0&layout=github://OGStudio/ogs-mahjong-components/data/cat.layout) + +Использование удалённых ресурсов открывает огромные возможности, т.к. позволяет +любому желающему создать раскладку на свой вкус и моментально её проверить. + +Наш следующий шаг - это выделение игровой логики в виде ресурса. + + +[screenshot]: {attach}/images/2018-10-02-mahjong-demo2.png + +[article-2018-june]: {filename}/articles/2018-06-27-example-driven-development.md +[osgcpe]: https://github.com/OGStudio/openscenegraph-cross-platform-examples +[omc]: https://github.com/OGStudio/ogs-mahjong-components +[ogs-mahjong]: https://bitbucket.org/ogstudio-games/ogs-mahjong +[omc-05]: https://github.com/OGStudio/ogs-mahjong-components/tree/master/05.ColorfulStatus diff --git a/pelican/content/articles/2018-10-02-mahjong-demo2.md b/pelican/content/articles/2018-10-02-mahjong-demo2.md new file mode 100644 index 0000000..adb149e --- /dev/null +++ b/pelican/content/articles/2018-10-02-mahjong-demo2.md @@ -0,0 +1,52 @@ +Title: OGS Mahjong 2: Demo 2 +Date: 2018-10-02 00:00 +Category: News +Slug: mahjong-demo2 +Lang: en + +![Screenshot][screenshot] + +We are glad to announce the release of the second demonstration of OGS Mahjong 2. +The purposes of this release were to refine our development techniques and +build a solid cross-platform foundation. + +**Release** + +Run the latest version of OGS Mahjong 2 in your web browser: +[http://ogstudio.github.io/ogs-mahjong](http://ogstudio.github.io/ogs-mahjong) + +You are encouraged to run the game with `seed` parameter like this: +[http://ogstudio.github.io/ogs-mahjong?seed=0](http://ogstudio.github.io/ogs-mahjong?seed=0) + +This allows you to play the same layout each time you launch the game. + +Each seed uniquely identifies the placement of tiles. Thus, different seeds +give you a different experience. + +**Development techniques and foundation** + +During the second demonstration development, we switched from standard +development to [example-driven one][article-2018-june]. This resulted in the +creation of three distinct repositories to back the development of OGS Mahjong 2: + +* [OpenSceneGraph cross-platform examples][osgcpe] repository provides cross-platform foundation like resource handling, render window setup, etc. +* [OGS Mahjong components][omc] repository provides Mahjong specific functionality like parsing layout, matching tiles, etc. +* [OGS Mahjong][ogs-mahjong] repository contains snapshots of `OGS Mahjong components` features that comprise specific game version. E.g., `Demo 2` version is almost identical to [05.ColorfulStatus][omc-05] example of `OGS Mahjong components`. + +**Beyond Mahjong solitaire** + +In addition to `seed` parameter, you can let the game use remote layout hosted at GitHub: +[http://ogstudio.github.io/ogs-mahjong?seed=0&layout=github://OGStudio/ogs-mahjong-components/data/cat.layout](http://ogstudio.github.io/ogs-mahjong?seed=0&layout=github://OGStudio/ogs-mahjong-components/data/cat.layout) + +Utilizing remote resources is an extremely powerful approach allowing anyone +to create a layout of his/her choice and see the layout in action instantly. + +Our next step is to turn game logic into a resource, too. + +[screenshot]: {attach}/images/2018-10-02-mahjong-demo2.png + +[article-2018-june]: {filename}/articles/2018-06-27-example-driven-development.md +[osgcpe]: https://github.com/OGStudio/openscenegraph-cross-platform-examples +[omc]: https://github.com/OGStudio/ogs-mahjong-components +[ogs-mahjong]: https://bitbucket.org/ogstudio-games/ogs-mahjong +[omc-05]: https://github.com/OGStudio/ogs-mahjong-components/tree/master/05.ColorfulStatus diff --git a/pelican/content/images/2018-10-02-mahjong-demo2.png b/pelican/content/images/2018-10-02-mahjong-demo2.png new file mode 100644 index 0000000..8182896 Binary files /dev/null and b/pelican/content/images/2018-10-02-mahjong-demo2.png differ
Вт 02 октября 2018OGS Mahjong 2: Demo 2
Вт 21 августа 2018 Examples and dependencies