• Vulkan Drawing Loop: The First Triangle

    At the core of every game is its render loop – the loop that renders each frame that is then displayed to the player. The API Vulkan exposes is vast, which means there is no single right way to implement a render loop in Vulkan. In this article, I’ll describe the loop presented in the Drawing section of the Vulkan tutorial.

    This is the third article in the series where I share my impressions after following the Vulkan’s tutorial using Scala 3 – here is the first article. For every chapter, I implement an example in a separate file. The examples repository is available on GitHub: anatoliykmetyuk/Vulkan-Tutorial-Scala. In its structure, it follows the Java implementation, so it is also a good chance to compare how Scala and Java approaches to the same task differ.

    Read on →

  • Vulkan Graphics Pipeline

    In this article, I’d like to summarize and share my impressions after going through the Vulkan tutorial’s Presentation and Graphics pipeline basics sections.

    This is the second article in the series where I share my impressions after following the Vulkan’s tutorial using Scala 3 – here is the first article. For every chapter, I implement an example in a separate file. The examples repository is available on GitHub: anatoliykmetyuk/Vulkan-Tutorial-Scala. In its structure, it follows the Java implementation, so it is also a good chance to compare how Scala and Java approaches to the same task differ.

    Read on →

  • Vulkan setup in Scala

    Vulkan is a modern API to access graphics cards and use them for rendering and other purposes. An OpenGL successor, it is an essential component driving many modern games.

    Read on →

  • Context Function for DSL Design in Scala

    A strong side of Scala is its DSL capability. DSLs, or domain-specific languages, are programming languages designed for convenient expression of operations in a certain domain. An example of such a DSL is the one I designed for Simple Rockets 2 – SR2 Compiler. That DSL can be used to program a rocket in the game.

    Read on →

  • Launching Rockets with Scala

    If you’re an aerospace hobbyist, there’s a good chance that you’ll have a ton of fun with Simple Rockets 2.

    Read on →