25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

256 lines
11KB

  1. <!DOCTYPE html>
  2. <html>
  3. <meta charset="utf-8">
  4. <head>
  5. <link rel="stylesheet" href="../../style.css">
  6. </head>
  7. <body>
  8. <script data-goatcounter="https://services.opengamestudio.org:443/count" async src="//services.opengamestudio.org:443/count.js"></script>
  9. <div id="header">
  10. <div class="header2">
  11. <div class="menu">
  12. <a href="../../en/news/index.html">News</a>
  13. <a href="../../en/game/index.html">Games</a>
  14. <a href="../../en/tool/index.html">Tools</a>
  15. <a href="../../en/page/about.html">About</a>
  16. </div>
  17. <div id="lang">
  18. <a href="../../en/news/index.html">EN</a>
  19. <a href="../../ru/news/index.html">RU</a>
  20. </div>
  21. <div class="clear"></div>
  22. </div>
  23. </div>
  24. <center>
  25. <h1>News</h1>
  26. <div class="news_item">
  27. <h2 class="news_item_title">
  28. <a href="year24.html">Results of the year 2024</a>
  29. </h2>
  30. <p class="news_item_date">
  31. 2025-01-15 00:00
  32. </p>
  33. <div class="news_item_contents">
  34. <p><img src="../../images/2025_year24-en.jpg" alt="year24" /></p>
  35. <h1 id="results">Results</h1>
  36. <p>Let's see the results of the year 2024 quarter by quarter:</p>
  37. <ul>
  38. <li><strong>The first quarter</strong> (January - March):<ul>
  39. <li>(Swift) Implemented data bus for iOS to create common space of communication for fragmented code</li>
  40. <li>Introduced "Limited language model" term to describe portable code rules</li>
  41. <li>Python was selected as the anchor programming language from which to generate functional copies in other languages</li></ul></li>
  42. <li><strong>The second quarter</strong> (April - June):<ul>
  43. <li>(Python) Created the first version of Python -&gt; C++ translator. . .</li></ul></li>
  44. </ul>
  45. </div>
  46. <div class="news_item_more">
  47. <a href="year24.html">Continue reading</a>
  48. </div>
  49. </div><div class="news_item">
  50. <h2 class="news_item_title">
  51. <a href="lha-jvm-macos.html">The first Local Host Access working version</a>
  52. </h2>
  53. <p class="news_item_date">
  54. 2024-12-09 00:00
  55. </p>
  56. <div class="news_item_contents">
  57. <p><img src="../../images/2024_web-test.jpg" alt="web-test" /></p>
  58. <h1 id="localhostaccess">Local Host Access</h1>
  59. <p>Tiny web server called Local Host Access (<strong>LHA</strong>) is ready to replace
  60. Local File System Access (<strong>LFSA</strong>) on JVM and macOS: I've generated this
  61. very article with LHA on macOS. Thus, Kotlin prooved to be a good choice for
  62. cross-platform development with a minor limitation.</p>
  63. <p>The minor limitation is the fact that 99% of Kotlin is used on JVM. The
  64. remaining 1% is so-called Kotlin Native for iOS, Linux, macOS, and Windows.
  65. Thus, when one needs something as simple as to find out if a symlink. . .</p>
  66. </div>
  67. <div class="news_item_more">
  68. <a href="lha-jvm-macos.html">Continue reading</a>
  69. </div>
  70. </div><div class="news_item">
  71. <h2 class="news_item_title">
  72. <a href="pskov-again.html">Back to the development of "PSKOV"</a>
  73. </h2>
  74. <p class="news_item_date">
  75. 2024-11-14 00:00
  76. </p>
  77. <div class="news_item_contents">
  78. <p><img src="../../images/2024_lha-path.gif" alt="lha" /></p>
  79. <h1 id="pskovtoday">"PSKOV" today</h1>
  80. <p>Now, we have an old "PSKOV" version and we need an improved one.</p>
  81. <p>First, we should recall what "PSKOV" consists of:</p>
  82. <ol>
  83. <li>The <a href="https://opengamestudio.org/pskov/en/pskov_1.0.0.html">generator</a> itself in the form of HTML page with JavaScript</li>
  84. <li>Helper <a href="https://opengamestudio.org/lfsa/en/index.html">Python script</a> to save generated files to disk</li>
  85. </ol>
  86. <p>Helper script is used to bypass web page restriction to access
  87. local file system.</p>
  88. <p>The script itself is a tiny web server with the following commands:</p>
  89. <table>
  90. <thead>
  91. <tr>
  92. <th>№</th>
  93. <th>Command</th>
  94. <th>Details</th>
  95. </tr>
  96. </thead>
  97. <tbody>
  98. <tr>
  99. <td>1</td>
  100. <td><code>GET /path</code></td>
  101. <td>Get current working directory path</td>
  102. </tr>
  103. </tbody>
  104. </table>
  105. </div>
  106. <div class="news_item_more">
  107. <a href="pskov-again.html">Continue reading</a>
  108. </div>
  109. </div><div class="news_item">
  110. <h2 class="news_item_title">
  111. <a href="ht-sound.html">Sound support and the search for a new direction</a>
  112. </h2>
  113. <p class="news_item_date">
  114. 2024-10-11 00:00
  115. </p>
  116. <div class="news_item_contents">
  117. <h1 id="soundsupport">Sound support</h1>
  118. <video controls width="700">
  119. <source src="../../images/2024_sound.mp4" type="video/mp4"/>
  120. </video>
  121. <p>In September I implemented sound support. However, this was the last
  122. work for "Tail and Shadow" project, because the project's story writer -
  123. Eugene - left.</p>
  124. <h1 id="thesearchforanewdirection">The search for a new direction</h1>
  125. <p>In September I also noticed the loss of interest in the project by the
  126. audience. I linked this to the fact that the project's functional and
  127. graphical results did not match that of the audience.. . .</p>
  128. </div>
  129. <div class="news_item_more">
  130. <a href="ht-sound.html">Continue reading</a>
  131. </div>
  132. </div><div class="news_item">
  133. <h2 class="news_item_title">
  134. <a href="ht-scenes.html">Switching scenes</a>
  135. </h2>
  136. <p class="news_item_date">
  137. 2024-09-06 00:00
  138. </p>
  139. <div class="news_item_contents">
  140. <h1 id="august">August</h1>
  141. <video controls width="700">
  142. <source src="../../images/2024_scenes.mp4" type="video/mp4"/>
  143. </video>
  144. <p>In August I implemented scene switching, which allowed me to do the following:</p>
  145. <ul>
  146. <li>pressing "Start the game" button in the splash screen takes the player to a level with three floors</li>
  147. <li>selecting a door takes the player to another floor</li>
  148. <li>selecting a TV set focuses the player on the TV set with a remote control</li>
  149. <li>switching TV channels results in different images being shown</li>
  150. </ul>
  151. <p>Thus, scenes are good both for focusing on items and moving the player around.. . .</p>
  152. </div>
  153. <div class="news_item_more">
  154. <a href="ht-scenes.html">Continue reading</a>
  155. </div>
  156. </div><div class="news_item">
  157. <h2 class="news_item_title">
  158. <a href="rethinking.html">Rethinking</a>
  159. </h2>
  160. <p class="news_item_date">
  161. 2024-08-12 00:00
  162. </p>
  163. <div class="news_item_contents">
  164. <p><img src="../../images/2024_rethinking.jpg" alt="Game" /></p>
  165. <p>When July started my initial plan was to make the instrument support Python to
  166. JavaScript code translation. However, this did not happen because tasks with
  167. higher priority emerged.</p>
  168. <p>Which task is more important than develpment of the instrument?
  169. Development of a game, of course! Now, let's go back to the beginning of
  170. July 2024…</p>
  171. <h1 id="gamejam">Gamejam</h1>
  172. <p><a href="https://dtf.ru/games/2783053-nachni-igru-ocenka-videorolikov">"Start the game"</a> 3-day gamejam finished in the beginning of July 2024.
  173. I participated in the jam to validate the instrument under development and. . .</p>
  174. </div>
  175. <div class="news_item_more">
  176. <a href="rethinking.html">Continue reading</a>
  177. </div>
  178. </div><div class="news_item">
  179. <h2 class="news_item_title">
  180. <a href="memory-gui.html">"Memory" GUI</a>
  181. </h2>
  182. <p class="news_item_date">
  183. 2024-07-04 00:00
  184. </p>
  185. <div class="news_item_contents">
  186. <h1 id="memorygui">"Memory" GUI</h1>
  187. <p>In June I implemented GUI for "Memory" game in Python with the help of
  188. <a href="https://arcade.academy">Python Arcade</a>.</p>
  189. <p>While searching for the most convenient tool to create resources (assets), I found
  190. notebooks lined with graph paper to work the best:</p>
  191. <p><img src="../../images/2024_memory-gui_notebook.jpg" alt="Texture of a notebook" /></p>
  192. <p>To see the portable code architecture in real life, I participated in the 3-day long
  193. gamejam of <a href="https://dtf.ru/games/2783053-nachni-igru-ocenka-videorolikov">"Start the game"</a>. "Memory" game was used with a customized look to satisfy jam requirements.</p>
  194. <p>Here's how the customized version looks like (<a href="https://ims.cr5.space/app/p/4FvJS4fk/Вредные-продукты/about">Windows64 build</a>):. . .</p>
  195. </div>
  196. <div class="news_item_more">
  197. <a href="memory-gui.html">Continue reading</a>
  198. </div>
  199. </div><div class="news_item">
  200. <h2 class="news_item_title">
  201. <a href="memory-text-ui.html">"Memory" text UI</a>
  202. </h2>
  203. <p class="news_item_date">
  204. 2024-06-14 00:00
  205. </p>
  206. <div class="news_item_contents">
  207. <h1 id="memorytextui">"Memory" text UI</h1>
  208. <p>In May I implemented text UI for "Memory" game in Python. And converted it to C++
  209. by the instrument under development.</p>
  210. <p>Game logic cycle implementation lead to the creation of a controller that manages
  211. context. Creating the controller in Python was straightforward. C++ version took
  212. some time, because the controller needs <a href="https://en.cppreference.com/w/cpp/utility/any">std::any</a>, which is part of C++17.
  213. The instrument under development is limited to C++11 in order to support OpenWrt.</p>
  214. <p>Here's how much code I wrote (in lines):. . .</p>
  215. </div>
  216. <div class="news_item_more">
  217. <a href="memory-text-ui.html">Continue reading</a>
  218. </div>
  219. </div><div class="news_item">
  220. <h2 class="news_item_title">
  221. <a href="memory-logic.html">"Memory" game logic</a>
  222. </h2>
  223. <p class="news_item_date">
  224. 2024-05-03 00:00
  225. </p>
  226. <div class="news_item_contents">
  227. <h1 id="memorygamelogic">"Memory" game logic</h1>
  228. <p>In April I implemented "Memory" game logic in Python as limited language model and successfully converted the code to C++ by the instrument under development.</p>
  229. <p>Limited language model assumes the following architecture of two parts:</p>
  230. <ol>
  231. <li>state context</li>
  232. <li>pure functions without side effects working only with the context</li>
  233. </ol>
  234. <p>Game logic state context in Python currently looks like this (<a href="https://git.opengamestudio.org/kornerr/research-portable-memory/src/commit/6fcd542daa6242c8c23dddb88d04cda74a730328/v3/memory_Context.h">C++</a>):</p>
  235. <p>```python
  236. class memory_Context:
  237. def <strong>init</strong>(self):
  238. self.hiddenItems = []. . .</p>
  239. </div>
  240. <div class="news_item_more">
  241. <a href="memory-logic.html">Continue reading</a>
  242. </div>
  243. </div>
  244. <p class="pagination_title">Page 1 of 8</p>
  245. <p>
  246. <a href="index2.html">Older »</a>
  247. </p>
  248. <div id="footer">
  249. The site has been generated by <a href="http://opengamestudio.org/pskov">PSKOV</a>
  250. from <a href="http://github.com/ogstudio/site-opengamestudio">this source code</a>.
  251. </div>
  252. </center>
  253. </body>
  254. </html>