<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Web Game Guy</title>
    <description>The latest articles on DEV Community by Web Game Guy (@webgameguy).</description>
    <link>https://dev.to/webgameguy</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1299098%2Fd8c3d046-824f-44ca-ab8b-ae7e7a530f43.jpg</url>
      <title>DEV Community: Web Game Guy</title>
      <link>https://dev.to/webgameguy</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/webgameguy"/>
    <language>en</language>
    <item>
      <title>Robot Street Ultra Upgrades open source HTML5 game</title>
      <dc:creator>Web Game Guy</dc:creator>
      <pubDate>Sun, 17 Mar 2024 11:34:55 +0000</pubDate>
      <link>https://dev.to/webgameguy/robot-street-ultra-upgrades-open-source-html5-game-14kg</link>
      <guid>https://dev.to/webgameguy/robot-street-ultra-upgrades-open-source-html5-game-14kg</guid>
      <description>&lt;p&gt;Robot Street Ultra Upgrades is a top down open arena rouge like 360 shooter. Random upgrades are available based on how many coins the player has. The game was made using &lt;a href="https://www.tabageos.com"&gt;Tads Basic Game Objects&lt;/a&gt; and is completely open source.&lt;/p&gt;

&lt;p&gt;There is a &lt;a href="https://www.youtube.com/watch?v=VpfC4jqJ8KM"&gt;video&lt;/a&gt; overview of the coding of the game in time lapse.&lt;br&gt;
And the complete source and images are available on &lt;a href="https://github.com/tabageos/tabageos/tree/main/RobotStreetUltraUpgrades"&gt;github&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;With the help of the library the whole main game is only about 1200 lines of code, and has full touch support and game pad support. On a mobile device it becomes like a hand held game, with touch controls below the screen of the game, the full game screen in view.&lt;/p&gt;

&lt;p&gt;The library is primarily tile based and has methods and classes for easy blit operations from a sprite sheet. Generally everything on screen is thought of as an animation, copying from parts of the sprite sheet onto a constantly refreshed HTML5 canvas.&lt;/p&gt;

&lt;p&gt;You are free to reuse the code to make your own version of the game. Have fun!&lt;/p&gt;

</description>
      <category>gamedev</category>
      <category>opensource</category>
      <category>javascript</category>
      <category>programming</category>
    </item>
    <item>
      <title>Open source web game Adventures in Tmenya</title>
      <dc:creator>Web Game Guy</dc:creator>
      <pubDate>Sat, 24 Feb 2024 19:12:51 +0000</pubDate>
      <link>https://dev.to/webgameguy/open-source-web-game-adventures-in-tmenya-917</link>
      <guid>https://dev.to/webgameguy/open-source-web-game-adventures-in-tmenya-917</guid>
      <description>&lt;p&gt;Adventures in Tmenya is an 8bit adventure platform web game.&lt;br&gt;
Utilizing the GameSkeleton Class and ControllerPad Class of the Tabageos JavaScript library it automatically displays touch controls below the game when on a touch enabled device.&lt;/p&gt;

&lt;p&gt;You can play the game &lt;a href="https://tadgames.itch.io/adventures-in-tmenya"&gt;here&lt;/a&gt; &lt;/p&gt;

&lt;p&gt;And the complete source code and images for the game are&lt;br&gt;
on &lt;a href="https://github.com/tabageos/tabageos/tree/main/AdventuresInTmenya"&gt;github&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Feel free to reuse the games code for your own projects.&lt;/p&gt;

</description>
      <category>gamedev</category>
      <category>javascript</category>
      <category>tabageos</category>
      <category>opensource</category>
    </item>
    <item>
      <title>Of Web Games</title>
      <dc:creator>Web Game Guy</dc:creator>
      <pubDate>Sat, 24 Feb 2024 18:38:06 +0000</pubDate>
      <link>https://dev.to/webgameguy/of-web-games-5905</link>
      <guid>https://dev.to/webgameguy/of-web-games-5905</guid>
      <description>&lt;p&gt;Web games, games that run in the browser, and that normally have minimal load time. &lt;/p&gt;

&lt;h1&gt;
  
  
  History
&lt;/h1&gt;

&lt;p&gt;In the early web there were Java applets, browsers could load and play them, and there were communities of applet developers and applet game players.&lt;/p&gt;

&lt;p&gt;And then there was what was known as flash, a plugin that every browser supported. From about 2006 to 2010 flash games boomed, overshadowing any other form of browser game.&lt;br&gt;
Games such as angry birds were born out of that era.&lt;br&gt;
By 2017 browsers began to no longer support flash,&lt;br&gt;
as of today it is no longer supported,&lt;br&gt;
and many of the communities associated with flash games&lt;br&gt;
have grown thin. &lt;/p&gt;

&lt;p&gt;Web games are now generally made with HTML5 and JavaScript,&lt;br&gt;
using the HTML5 canvas element one can make games by drawing and redrawing on it. Communities that survived from the flash era,&lt;br&gt;
such as Newgrounds did so by accommodating the new HTML5 format.&lt;/p&gt;

&lt;h1&gt;
  
  
  Business
&lt;/h1&gt;

&lt;p&gt;During the flash era there were many sites one could upload your flash games to and get paid from the site simply for number of views. Today there are sites such as Gamemonetize, CrazyGames, Poki for direct monetization of HTML5 games and a community of developers that make many games for those sites. During the flash era there were at least 100 such sites of equal caliber, today only a handful.&lt;/p&gt;

&lt;p&gt;But there are other ways one can generate income from a HTML5 game. One of the best ways is to make a multiplayer browser game.&lt;br&gt;
People like interacting with other people. &lt;br&gt;
And you simply place ads during the game, your game operates just like a website and because of the multiplayer nature, each new player drives even more new players to the game.&lt;/p&gt;

&lt;p&gt;Another general way is to have links in your game,&lt;br&gt;
simply distributing the game on all possible places&lt;br&gt;
will generate views of your site, and on that linked site&lt;br&gt;
you can have your own ads.&lt;/p&gt;

&lt;p&gt;HTML5 games can also be easily packaged as Android applications,&lt;br&gt;
using a little Java you can compile your game into an apk.&lt;/p&gt;

&lt;p&gt;Also an HTML5 web demo is a great way to advertise a larger&lt;br&gt;
console or laptop/desktop game.&lt;/p&gt;

&lt;h1&gt;
  
  
  Programming
&lt;/h1&gt;

&lt;p&gt;Today one of the most popular tools for making web games is Unity.&lt;br&gt;
Other tools include Godot and Construct.&lt;br&gt;
If you feel comfortable using C# in Unity,&lt;br&gt;
you will likely also feel comfortable making a game from scratch&lt;br&gt;
using just JavaScript and HTML5. And there are libraries&lt;br&gt;
that aim to reduce the amount of JavaScript code you will need such as &lt;a href="https://phaser.io"&gt;Phaser&lt;/a&gt; and &lt;a href="https://tabageos.com"&gt;Tads Basic Game Objects&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;For basic 2D games you no longer need to utilize webgl,&lt;br&gt;
a regular 2D canvas will perform well in modern devices.&lt;br&gt;
Therefore using just JavaScript and HTML5 to make a game&lt;br&gt;
can be easy and rewarding.&lt;/p&gt;

&lt;p&gt;For a multiplayer back end, you have many options&lt;br&gt;
such as Socket io or to simply communicate with a server using your language of choice and HTML.&lt;/p&gt;

&lt;h1&gt;
  
  
  Fun
&lt;/h1&gt;

&lt;p&gt;Ultimately making any game is fun, and web games are a good place to start if you've never programmed a game before.&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>javascript</category>
      <category>html</category>
      <category>gamedev</category>
    </item>
  </channel>
</rss>
