You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

index.html 19KB

6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404
  1. <!DOCTYPE html>
  2. <head>
  3. <meta charset="utf-8" />
  4. <!-- Set the viewport width to device width for mobile -->
  5. <meta name="viewport" content="width=device-width" />
  6. <title>Opensource Game Studio</title>
  7. <link rel="stylesheet" href="http://opengamestudio.org/theme/css/normalize.css" />
  8. <link rel="stylesheet" href="http://opengamestudio.org/theme/css/foundation.min.css" />
  9. <link rel="stylesheet" href="http://opengamestudio.org/theme/css/style.css" />
  10. <link rel="stylesheet" href="http://opengamestudio.org/theme/css/pygments.css" />
  11. <script src="http://opengamestudio.org/theme/js/custom.modernizr.js"></script>
  12. <!-- So Firefox can bookmark->"abo this site" -->
  13. <link href="feeds/all.atom.xml" rel="alternate" title="Opensource Game Studio" type="application/atom+xml">
  14. </head>
  15. <body>
  16. <!-- Nav Bar -->
  17. <nav>
  18. <!-- Show menu items and pages -->
  19. <div class="row">
  20. <div class="large-12 columns top-bar">
  21. <h1><a href="http://opengamestudio.org">Opensource Game Studio</a></h1>
  22. </div>
  23. </div>
  24. <div class="row top-menu">
  25. <div class="large-12 columns">
  26. <a href="/pages/projects.html" class="menu-button secondary">Projects</a>
  27. <a href="/pages/about.html" class="menu-button secondary">About</a>
  28. </div>
  29. </div>
  30. </nav>
  31. <!-- End Nav -->
  32. <!-- Main Page Content and Sidebar -->
  33. <div class="row">
  34. <!-- Main Blog Content -->
  35. <div class="large-9 columns">
  36. <article>
  37. <a href="http://opengamestudio.org/examples-and-dependencies.html"><h3 class="article-title">Examples and dependencies</h3></a>
  38. <h6 class="subheader" title="2018-08-21T00:00:00+03:00">Вт 21 августа 2018
  39. <a class="button secondary small translation-button" href="http://opengamestudio.org/examples-and-dependencies-ru.html">ru</a>
  40. </h6><p><img alt="Screenshot" src="http://opengamestudio.org/2018-08-21-examples-and-dependencies.png"></p>
  41. <p>This article describes two new OpenSceneGraph cross-platform examples and the
  42. change in handling dependencies.</p>
  43. <p><strong>Examples of HTTP client and node selection</strong></p>
  44. <p>Once we finished working on <a href="https://github.com/OGStudio/openscenegraph-cross-platform-examples/tree/master/04.RemoteDebugging">the remote debugging example</a> and
  45. <a href="http://opengamestudio.org/example-driven-development.html">reported its completion</a>, we were surprised by the fact
  46. that secure HTTP connection between a debugged application and debug broker
  47. was only working in the web version of the example. Desktop and mobile versions
  48. only worked with insecure HTTP.</p>
  49. <p>Since current debug scheme has no authentication, insecure debugging over HTTP
  50. doesn't really hurt. However, if we want to access resources located at popular
  51. sites like GitHub and BitBucket, we have to support secure HTTP.</p>
  52. <p>The need to support HTTPS on each platform spurred us to create
  53. <a href="https://github.com/OGStudio/openscenegraph-cross-platform-examples/tree/master/03.HTTPClient">HTTP client example</a>. Turned out, each platform had its own
  54. preferred way of doing secure HTTP:</p>
  55. <ul>
  56. <li>web (Emscripten) provides Fetch API</li>
  57. <li>desktop is fine with Mongoose and OpenSSL</li>
  58. <li>Android provides HttpUrlConnection in Java</li>
  59. <li>iOS provides NSURLSession in Objective-C</li>
  60. </ul>
  61. <p>The need to support different languages on different platforms resulted
  62. in the creation of so-called 'host-guest' pattern:</p>
  63. <ul>
  64. <li>guest (platform agnostic)<ul>
  65. <li>provides networking representation</li>
  66. <li>used by cross-platform C++ code</li>
  67. </ul>
  68. </li>
  69. <li>host (specific platform)<ul>
  70. <li>polls guest for pending requests</li>
  71. <li>processes them</li>
  72. <li>reports results back to the guest</li>
  73. </ul>
  74. </li>
  75. </ul>
  76. <p><a href="https://github.com/OGStudio/openscenegraph-cross-platform-examples/tree/master/05.NodeSelection">Node selection example</a> was straightforward and caused no troubles.</p>
  77. <p><strong>The change in handling dependencies</strong></p>
  78. <p>For over a year we had to deal with the following
  79. <a href="http://forum.openscenegraph.org/viewtopic.php?t=17443">shortcomings</a> when building OpenSceneGraph across platforms
  80. using conventional methods:</p>
  81. <ul>
  82. <li>macOS builds failing due to certain compile flags we use</li>
  83. <li>hacking PNG plugin safety guards to have PNG support under Android</li>
  84. <li>iOS simulator and device builds of the same example being in separate Xcode projects</li>
  85. <li>OpenSceneGraph taking 20-30 minutes to build</li>
  86. </ul>
  87. <p>These shortcomings were slowing us down and complicating the development of
  88. new examples. Upon hitting these problems ten more times this month we decided
  89. it was time to solve them once and for all. Now OpenSceneGraph is built as part
  90. of each example in 2-3 minutes, and there's no more dependency magic involved.
  91. We took the same approach of building dependencies as part of each example to
  92. other external libraries like Mongoose and libpng-android, too.</p>
  93. <p>With these obstacles out of the way, we can now iterate faster. Just in time
  94. for the next technical demonstration of Mahjong 2!</p>
  95. <p>That's it for describing two new OpenSceneGraph cross-platform examples and
  96. the change in handling dependencies.</p><p class="subheader">Category: <a href="http://opengamestudio.org/category/news.html">News</a>
  97. </p>
  98. </article>
  99. <hr class="gradient"/>
  100. <article>
  101. <a href="http://opengamestudio.org/example-driven-development.html"><h3 class="article-title">Example-driven development</h3></a>
  102. <h6 class="subheader" title="2018-06-27T00:00:00+03:00">Ср 27 июня 2018
  103. <a class="button secondary small translation-button" href="http://opengamestudio.org/example-driven-development-ru.html">ru</a>
  104. </h6><p><img alt="Screenshot" src="http://opengamestudio.org/2018-06-27-example-driven-development.png"></p>
  105. <p>This article explains how the third OpenSceneGraph cross-platform example
  106. opened our eyes to example-driven development.</p>
  107. <p><strong>2018-08 EDIT</strong>: the third example has been renamed to the fourth one due to
  108. the reasons described in the <a href="http://opengamestudio.org/examples-and-dependencies.html">next article</a>.</p>
  109. <p><strong>The third OpenSceneGraph cross-platform example</strong></p>
  110. <p>The third OpenSceneGraph cross-platform example explains how to implement …</p><p class="subheader">Category: <a href="http://opengamestudio.org/category/news.html">News</a>
  111. </p>
  112. <a class="button radius secondary small right" href="http://opengamestudio.org/example-driven-development.html">Read More</a>
  113. <hr class="gradient"/>
  114. </article>
  115. <article>
  116. <a href="http://opengamestudio.org/openscenegraph-examples.html"><h3 class="article-title">OpenSceneGraph cross-platform examples</h3></a>
  117. <h6 class="subheader" title="2018-04-20T00:00:00+03:00">Пт 20 апреля 2018
  118. <a class="button secondary small translation-button" href="http://opengamestudio.org/openscenegraph-examples-ru.html">ru</a>
  119. </h6><p><img alt="Screenshot" src="http://opengamestudio.org/2018-04-20-openscenegraph-examples.png"></p>
  120. <p>This article summarizes the work we did to produce the first two
  121. cross-platform OpenSceneGraph examples.</p>
  122. <p>By the time <a href="http://opengamestudio.org/mahjong-techdemo1-gameplay.html">the first technology demonstration of OGS Mahjong 2</a>
  123. has been released, we've already had <a href="https://github.com/OGStudio/openscenegraph-cross-platform-guide/issues/4">issue request</a>
  124. (to explain how to load images with OpenSceneGraph on Android) hanging for some
  125. time. We considered …</p><p class="subheader">Category: <a href="http://opengamestudio.org/category/news.html">News</a>
  126. </p>
  127. <a class="button radius secondary small right" href="http://opengamestudio.org/openscenegraph-examples.html">Read More</a>
  128. <hr class="gradient"/>
  129. </article>
  130. <article>
  131. <a href="http://opengamestudio.org/mahjong-techdemo1-gameplay.html"><h3 class="article-title">First techdemo of OGS Mahjong 2: Gameplay</h3></a>
  132. <h6 class="subheader" title="2018-02-16T00:00:00+03:00">Пт 16 февраля 2018
  133. <a class="button secondary small translation-button" href="http://opengamestudio.org/mahjong-techdemo1-gameplay-ru.html">ru</a>
  134. </h6><p><img alt="Screenshot" src="http://opengamestudio.org/2018-02-16-mahjong-techdemo1-gameplay.png"></p>
  135. <p>We are glad to announce the release of the first technical demonstration of
  136. OGS Mahjong 2. The purpose of this release was to verify gameplay across
  137. supported platforms.</p>
  138. <p>Get techdemo for your platform:</p>
  139. <ul>
  140. <li>Run <a href="https://ogstudio.github.io/game-mahjong/versions/013/mjin-player.html">Web version</a> in your browser</li>
  141. <li>Get <a href="https://drive.google.com/open?id=1KW8IEN8Dpz8ODeg8BctVSJyzj9-AL9hR">Android version</a></li>
  142. <li>Get <a href="https://drive.google.com/open?id=1oj0-OXSmEatttzn86u2vgP9SRAIC0ozB">Windows version</a></li>
  143. <li>Get <a href="https://drive.google.com/open?id=1EX7kLIThLiMz9_W7VmBPySms3mlrF-i6">Linux version</a></li>
  144. <li>Get <a href="https://drive.google.com/open?id=1KWnvbHzan8MpMcZPG2QC-7KWoEYbqrM2">macOS …</a></li></ul><p class="subheader">Category: <a href="http://opengamestudio.org/category/news.html">News</a>
  145. </p>
  146. <a class="button radius secondary small right" href="http://opengamestudio.org/mahjong-techdemo1-gameplay.html">Read More</a>
  147. <hr class="gradient"/>
  148. </article>
  149. <article>
  150. <a href="http://opengamestudio.org/mahjong-recreation-start.html"><h3 class="article-title">Mahjong recreation start</h3></a>
  151. <h6 class="subheader" title="2018-01-26T00:00:00+03:00">Пт 26 января 2018
  152. <a class="button secondary small translation-button" href="http://opengamestudio.org/mahjong-recreation-start-ru.html">ru</a>
  153. </h6><p><img alt="Screenshot" src="http://opengamestudio.org/2018-01-26-mahjong-recreation-start.png"></p>
  154. <p>This article describes the start of Mahjong game recreation.</p>
  155. <p><strong>Plan</strong></p>
  156. <p>We started Mahjong recreation endeavour by composing a brief plan to get gameplay with minimal graphics:</p>
  157. <ul>
  158. <li>Load single layout</li>
  159. <li>Place tiles in layout positions</li>
  160. <li>Distinguish tiles</li>
  161. <li>Implement selection</li>
  162. <li>Implement matching</li>
  163. </ul>
  164. <p>Just like any other plan, this one looked fine at …</p><p class="subheader">Category: <a href="http://opengamestudio.org/category/news.html">News</a>
  165. </p>
  166. <a class="button radius secondary small right" href="http://opengamestudio.org/mahjong-recreation-start.html">Read More</a>
  167. <hr class="gradient"/>
  168. </article>
  169. <article>
  170. <a href="http://opengamestudio.org/the-year-of-lessons.html"><h3 class="article-title">The year of lessons</h3></a>
  171. <h6 class="subheader" title="2017-12-31T22:00:00+03:00">Вс 31 декабря 2017
  172. <a class="button secondary small translation-button" href="http://opengamestudio.org/the-year-of-lessons-ru.html">ru</a>
  173. </h6><p><img alt="Screenshot" src="http://opengamestudio.org/2017-12-31-celebration.jpg"></p>
  174. <p>So, the year 2017 is approaching its finale, the year's results have already
  175. been summed up. We're going to take a break from igniting the fireworks or
  176. preparation of the champagne so that we can designate our goal for the
  177. following year.</p>
  178. <p>As it may be clear from other articles …</p><p class="subheader">Category: <a href="http://opengamestudio.org/category/news.html">News</a>
  179. </p>
  180. <a class="button radius secondary small right" href="http://opengamestudio.org/the-year-of-lessons.html">Read More</a>
  181. <hr class="gradient"/>
  182. </article>
  183. <article>
  184. <a href="http://opengamestudio.org/2017-summary.html"><h3 class="article-title">2017 summary</h3></a>
  185. <h6 class="subheader" title="2017-11-22T00:00:00+03:00">Ср 22 ноября 2017
  186. <a class="button secondary small translation-button" href="http://opengamestudio.org/2017-summary-ru.html">ru</a>
  187. </h6><p><img alt="Screenshot" src="http://opengamestudio.org/2017-11-22-2017-summary.png"></p>
  188. <p>It's time to step back to see our accomplishments in 2017 and how they connect to the overall goal of Opensource Game Studio project.</p>
  189. <p><strong>Brief history</strong></p>
  190. <p>Opensource Game Studio project is 12 years old now.</p>
  191. <p><strong>2005.</strong> We started the project with a <a href="https://www.linuxquestions.org/questions/general-10/the-creation-of-the-best-rpg-355858/">fanatic call</a> to create the best game ever …</p><p class="subheader">Category: <a href="http://opengamestudio.org/category/news.html">News</a>
  192. </p>
  193. <a class="button radius secondary small right" href="http://opengamestudio.org/2017-summary.html">Read More</a>
  194. <hr class="gradient"/>
  195. </article>
  196. <article>
  197. <a href="http://opengamestudio.org/back-to-the-static.html"><h3 class="article-title">Back to the Static</h3></a>
  198. <h6 class="subheader" title="2017-10-16T00:00:00+03:00">Пн 16 октября 2017
  199. <a class="button secondary small translation-button" href="http://opengamestudio.org/back-to-the-static-ru.html">ru</a>
  200. </h6><p><img alt="Back to the Static" src="http://opengamestudio.org/2017-10-16-back-to-the-static.png"></p>
  201. <p>We have been using Wordpress as our website engine for more than seven years. And now it's time to move forward. Or backward.
  202. For some time we've been tracking the development of the new breed of website engines - static site generators.
  203. It seems that this is the technology capable of …</p><p class="subheader">Category: <a href="http://opengamestudio.org/category/news.html">News</a>
  204. </p>
  205. <a class="button radius secondary small right" href="http://opengamestudio.org/back-to-the-static.html">Read More</a>
  206. <hr class="gradient"/>
  207. </article>
  208. <article>
  209. <a href="http://opengamestudio.org/mjin-world-birth.html"><h3 class="article-title">The birth of MJIN world</h3></a>
  210. <h6 class="subheader" title="2017-09-10T00:00:00+03:00">Вс 10 сентября 2017
  211. <a class="button secondary small translation-button" href="http://opengamestudio.org/mjin-world-birth-ru.html">ru</a>
  212. </h6><p><img alt="The birth of MJIN world" src="http://opengamestudio.org/2017-09-mjin-world-birth.png"></p>
  213. <p>This article describes the birth of MJIN world in August 2017.</p>
  214. <p><strong>mjin-player</strong></p>
  215. <p>As you know, <a href="http://opengamestudio.org/scripting-research.html">we spent July to research scripting</a>. We found a solution that satisfies the following criteria. Scripts should:</p>
  216. <ol>
  217. <li>run unchanged on all supported platforms</li>
  218. <li>allow extending C++ code</li>
  219. </ol>
  220. <p>We have verified the second criterion by writing …</p><p class="subheader">Category: <a href="http://opengamestudio.org/category/news.html">News</a>
  221. </p>
  222. <a class="button radius secondary small right" href="http://opengamestudio.org/mjin-world-birth.html">Read More</a>
  223. <hr class="gradient"/>
  224. </article>
  225. <article>
  226. <a href="http://opengamestudio.org/scripting-research.html"><h3 class="article-title">Scripting research</h3></a>
  227. <h6 class="subheader" title="2017-08-16T00:00:00+03:00">Ср 16 августа 2017
  228. <a class="button secondary small translation-button" href="http://opengamestudio.org/scripting-research-ru.html">ru</a>
  229. </h6><p><img alt="Scripting research" src="http://opengamestudio.org/2017-08-scripting-research.png"></p>
  230. <p>This article describes scripting research in July 2017.</p>
  231. <p><strong>Our first goal of using a scripting language was to have a platform-independent code that runs unchanged on every supported platform.</strong></p>
  232. <p>OGS Editor 0.10 supports Python for such a code thanks to <a href="http://swig.org/">SWIG</a>. SWIG provides a way to wrap almost any …</p><p class="subheader">Category: <a href="http://opengamestudio.org/category/news.html">News</a>
  233. </p>
  234. <a class="button radius secondary small right" href="http://opengamestudio.org/scripting-research.html">Read More</a>
  235. <hr class="gradient"/>
  236. </article>
  237. <!-- /#posts-list -->
  238. <div class="pagination-centered">
  239. <h6 class="subheader">Page 1 of 5</h6>
  240. <p>
  241. <a href="http://opengamestudio.org/index2.html">Next &raquo;</a>
  242. </p>
  243. </div>
  244. </div>
  245. <!-- End Main Content -->
  246. <!-- Sidebar -->
  247. <aside class="large-3 columns">
  248. <!--k
  249. <h5 class="sidebar-title">Site</h5>
  250. <ul class="side-nav">
  251. <li><a href="http://opengamestudio.org/archives.html">Archives</a>
  252. <li><a href="http://opengamestudio.org/tags.html">Tags</a>
  253. <li><a href="http://opengamestudio.org/feeds/all.atom.xml" rel="alternate">Atom feed</a></li>
  254. </ul>
  255. <h5 class="sidebar-title">Categories</h5>
  256. <ul class="side-nav">
  257. <li><a href="http://opengamestudio.org/category/news.html">News</a></li>
  258. </ul>
  259. -->
  260. <h5 class="sidebar-title">Ads</h5>
  261. <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
  262. <!-- ogs2 -->
  263. <ins class="adsbygoogle"
  264. style="display:block"
  265. data-ad-client="ca-pub-4473792248813084"
  266. data-ad-slot="9024247127"
  267. data-ad-format="auto"></ins>
  268. <script>
  269. (adsbygoogle = window.adsbygoogle || []).push({});
  270. </script>
  271. </aside> <!-- End Sidebar -->
  272. </div> <!-- End Main Content and Sidebar -->
  273. <!-- Footer -->
  274. <footer class="row">
  275. <div class="large-12 columns">
  276. <hr />
  277. <div class="row">
  278. <div class="large-7 columns">
  279. <p>Proudly powered by <a href="http://getpelican.com">Pelican</a>, which takes great advantage of <a href="http://python.org">Python</a>.</p>
  280. </div>
  281. </div>
  282. </div>
  283. <script type="text/javascript">
  284. var _gaq = _gaq || [];
  285. _gaq.push(['_setAccount', 'UA-3773114-1']);
  286. _gaq.push(['_trackPageview']);
  287. (function() {
  288. var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
  289. ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
  290. var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  291. })();
  292. </script>
  293. </footer>