Games to code using Only HTML

Today i wanted to dive into something other than web development and design, most of us in today era game, whether we play them or watch them, the concept is rather the same, we find them interesting, I thought it would be neat to share somethings that go back to the very basics of coding and gaming all together. Coding a game just using HTML, while some games need more than one language, there’s a way to get by with just using the 3 basics, which are HTML, CSS, and Javascript. Today I’ll be showing tutorials along with listing some of the top games to create with HTML. (with and without JavaScript).

Let’s start with a basic HMTL game tutorial with a basic game we all know called snake, yes snake, but from this we work our way towards better games that’ll be listed further down, it’s simple but with some patience and coding knowledge it can be done.

 

Let’s talk about SPRITES! sprites are little gif animations which you can use in your game content for FREE! (given permission)

I’ll be listing some sites for those too.

Free Sprites

The following are websites that provide Sprites and similar content.

16 Sites Featuring Free Game Graphics for Game Developers

Overview:

  1. Kenney.nl
  2. OpenGameArt.org
  3. Untamed.wild-refuge.net
  4. Crateboy.itch.io
  5. HasGraphics.com
  6. Gameart2d.com
  7. Wigdetworx.com
  8. GlitchtheGame.com
  9. Dumbanex.com
  10. Reinerstilesets.de
  11. Sharecg.com
  12. Roenica.com
  13. Blogoscoped.com
  14. Lostgarden.com
  15. Subtlepatterns.com
  16. Openclipart.org

 

1. Kenney.nl

free_game_graphics_Kenney.nl

Kenney.nl is based in the Netherlands and is producing some fantastic art for game developers.   There are some really cool free assets on this site which have been made part of the public domain, meaning you can do anything you want with them. The free game graphics can be browsed according to their category so you can find your game art really quickly.  Kenney.nl also makes sounds and game sources available for free which could also be pretty useful for some readers. On top of all that, it’s a really beautifully designed site.

 

2. OpenGameArt.org

free_game_graphics_OpenGameArtscreen2

This website has to be first on anyone’s list of places to go in search of free game graphics.OpenGameArt.org is a large site offering all kinds of graphics and even has a selection of sounds for game devs to use.  It can be browsed according to category and all of the art is clearly displayed. It has a huge selection of 2D and 3D elements and is also home to a very active forum. The site is constantly being updated with content from its users and is ranked so you can find the most popular graphics of the month or go in search of some lesser used assets.

 

3. Untamed.wild-refuge.net

free_game_graphics_Untamedrefugescreen

This site is a huge resource of free game graphics for anyone looking to make their own RPG. Untamed.wild-refuge.net is home to Sithjester’s RMXP resources, a collection of image assets that are free to download and use how you like. The highlight of this site is the giant collection of 2D game sprites that you can browse all on one page. Clicking on a character you like brings you to a webpage where you can download a .png of the character from all angles, perfect for making your own sprites!

 

4. Crateboy.itch.io

free_game_graphics_Crateboyscreen2

This collection of image and sound assets is brought to you by Crateboy. The best part of this collection is the 8 bit city resource files. Crateboy advertises that there will be enough 16×16 tiles for you to build an entire city and there really are. This is some really great work and all Crateboy asks is that you credit him in your game. If you end up using these tiles a lot he also accepts a ‘pay what you like’ option. The use of colour tone in this artwork really makes it stand out from the crowd and could really help to define the look of your project.

 

5. HasGraphics.com

free_game_graphics_Bagfullofwrongscreen

HasGraphics.com is a handy little site, filled with a variety of sprites and graphics. Check out the free sprites category to get started and find something to brighten up your next mobile game. As usual, make sure to check the licensing of any assets you want to use in your game!

 

6. Gameart2d.com

free_game_graphics_gameart2dscreen2

Gameart2d.com is home to some amazing image assets. This website is run by Zuhira Alfitra a.k.a pzUH. He’s an Indonesian game developer with a real eye for great game graphics. The majority of the assets on this site are for sale but there is a freebies section where you’ll find more images like those featured above. As well as these sprites, there is also a selection of tilesets, GUI assets and many more assorted images for you to choose from. They’re also completely free.

 

7. Wigdetworx.com

free_game_graphics_Widgetworxscreen

If you need some sprites for your game, you should check out this website. Wigdetworx.com has made a great collection of static and animated sprites available for free in the SpriteLib project. While it’s not the biggest collection of sprites in this list, there is definitely something here for everyone. The pack includes a plethora of landscapes and characters that would look at home in any 2d game. All it takes is a click to download, so why not browse the assets yourself and get some free game graphics.

 

8. Glitchthegame.com

free_game_graphics_Glitchscreen2

Some readers will know Glitch as the web-based, collaborative, massively multiplayer game. Having been shut down in 2012 after two years online, the game’s developers have decided to release the game’s artwork into the public domain. There are over 10,000 assets to download and they’re all amazing quality. If you already like the look of these graphics, you’re in luck as you can download the entire package with one click and peruse them for yourself offline.

 

9. Dumbanex.com

free_game_graphics_DumbanexScreen3

Dumbanex.com is another site that has made some really cool artwork available to game developers. It’s all free to use as long as you credit them somewhere in your game. There’s a really rich collection of sprites and tilesets on this site and a lot of them can be downloaded quickly in .zip format. This site is run by Brent Anderson, who works professionally as a freelance game designer and developer. These free game graphics would be perfect for a mobile sidescroller or platformer.

 

10. Reinerstilesets.de

free_game_graphics_Reinerstilesetscreen2

This website is run by Reiner “Tiles” Prokein and is brimming with free assets for game developers. Reiner himself is a hobby game developer who has produced a number of games. When he started out developing he couldn’t find the graphics he wanted, so he started making them himself. Ever since then he’s been sharing them online and they’re all available to you to use for free. He’s got a great selection of 2D and 3D images as well as some brilliant tutorials.

 

11. Sharecg.com

free_game_graphics_sharecgscreen

Sharecg.com is primarily a site for artists to upload and share their work. It’s really worth a look if you’re after 3D or 2D art or if you want to find an artist to work with on some new ideas. The art is licensed under different terms so it’s important to check and make sure it can be used freely before you incorporate it into your games. There’s some really great indie art showcased on this site and you can also find tutorials, audio and software to use.

 

12. Roenica.com

free_game_graphics_Roenicascreen2

This is a cool site for indie and casual game developers and they have a nice collection of free game graphics for devs. Their assets are categorized according to game theme and can be downloaded as .zip files. The artwork on this site has been made available by a variety of artists so license types may vary but roenica.com states that all details should be clarified within the .zip files. Roenica hosts both 2D and 3D graphics so there should be something here for everyone.

 

13. Blogoscoped.com

free_game_graphics_blogoscopedscreen

Now it’s time for something completely different. The next site on our list is actually a blog about Google and everything related to Google. So then why is it included on our list? It’s included because in 2006 blog contributor, Philip Lenssen, posted a collection of almost 700 game spritesthat you can use under a Creative Commons License. The sprites are all character avatars from a game he was working on called ‘Last Guardian’. If you’re working on something that looks similar, then you definitely should check his stuff out.

 

14. Lostgarden.com

free_game_graphics_Lostgardenscreen2

Lostgarden.com is a little bit different to most of the other sites featured in this article. It’s the blog of Daniel Cook, a game designer working for Spry Fox. Daniel dedicates a section of his blog to game art and likes to update it periodically with free game art for developers. This site is also home to some great essays on game design in general and it would definitely be worth a look, if not to gain the insight of an industry professional, then purely for interest’s sake.

 

15. Subtlepatterns.com

free_game_graphics_Subtlepatternsscreen

Subtlepatterns.com offers some of the most beautiful work out of all the websites listed in this article. This website is run by Atle Mo, who designs and curates patterns for the site. He has made all of these wonderful patterns available to use under a creative commons license, so all you have to do is provide him with some credit in exchange for using his patterns. There is a lot of content on this site and it’s all of a very high standard. These patterns would make great UI backgrounds or could even be used in your game levels.

 

16. Openclipart.org

free_game_graphics_OpenClipArtscreen2

The great thing about this website is that absolutely every piece of art that they share is completely free to use in every way. Openclipart.org is a great community dedicated to sharing free art to everyone that wants it. But let’s not forget the art itself. There’s some really great looking clipart on this site and a lot of it would definitely look at home in your next 2D game. Another great feature of this website is that you can make requests of the users and get tailor made clipart.

 

How to Use Static Images and Sprites in V-Play

All of these free graphics won’t be much use unless you know how to use them in your game!

With V-Play, adding both Static Images and Sprites to your game is as simple as ever.

Sprites can be added to your game using V-Play’s SpriteSequenceVPlay element. This is a great element if you have a game entity that can have multiple exclusive states like walking and jumping.

Below is an example of the SpriteSequenceVPlay Element at work.

import VPlay 2.0
import QtQuick 2.0

GameWindow {

  Scene {
    // GameWindow & Scene allow multi-resolution support
    width: 480
    height: 320
	
    SpriteSequenceVPlay {
      id: girlAnimation
	  
      property bool pointingRight: true // set this property to true to make the character point right
      mirrorX: pointingRight

      anchors.centerIn: parent // center it in the screen

      width: 100 // width of the image in the game
      height: 100 // height of the image in the game
      
	  defaultSource: "../assets/shootingGirl.png" // path to the spritesheet file     

      SpriteVPlay {
        name: "shootAnimation" // you can switch animations by name later
        frameCount: 3 // number of frames in the animation
        frameRate: 10 // how fast animation plays
        frameWidth: 640 // width of 1 frame
        frameHeight: 540 // height of 1 frame
      }
    }
  }
}

This animates our sprite like so:

free_game_graphics_shootingGirl

If you’d just like to insert a static image, a simple Qt Image Element should do the trick.

The following code will show our image frozen in place:

import VPlay 2.0
import QtQuick 2.0

GameWindow {

  Scene {
  
    Image {
        id: shootingGirl
        anchors.centerIn: parent
        width: 100 // width of the image in the game
        height: 100 // height of the image in the game
        source: "../assets/shootingGirlOneFrame.png" // path to the image
    }
  }
}

 

Just like this:

free_game_graphics_shootingGirlOneFrame

And there you have it. If you know of any other great free game graphics for game devs, let us know in the comments section. And don’t forget to like, share or retweet if you think one of your friends would be interested in this list too!

Check out V-Play highlights:

More Posts like This

game sounds

User Acquisition

tutorials capture

References

10 basic yet cool HTML games

A list of pretty cool games, make sure to check out the source to understand how they work.

1. The Convergence

Control two characters at the same time and try to let them meet. The hard part is that they walk in opposite directions, so you’ll need some coordination to open the doors. Play!

2. Sketch out

Defend your planet against incoming meteorites. Fight back and bounce the projectiles straight into the enemy sphere. Play!

3. Free Rider HD

Addicting simple game where you race with a stick figure in levels designed by other users. Play!

4. Sinkhole

Your hero has fallen into a sinkhole and has a broken arm. You have to try to get him out of the sinkhole before his torche’s batteries run out. Play!

5. Game Boy emulator

Not exactly a game, but a game emulator that gives you access to old games that you’ve probably missed. Time to replay some Zelda, Megaman, Mario, Kirby,… Play!

6. Project Blaze Zero

A shoot-em-up with cool isometric 3D graphics. Pretty intense if you ask me. Play!

7. Geometry Wars

A game created by Kevin Roast. Fly with your geometric figure and shoot around. Play!

8. Command & Conquer

This is a recreation of the original Command and Conquer, a popular real time strategy game. Play!

9. Frozen Defence 2

A pretty entertaining tower defence game. Play!

10. zType

My favorite game in the list and the one with the most creative gameplay (in my opinion). Type the words that are coming down to shoot them. Best way to practice your typing. Play!

Building HTML5 games

Enough inspiration, now it’s time to get started with what’s under the hood and how to proceed to create a game.

Physics for lazy game developers

For those who, like me, have been sleeping through physics classes and forgot pretty much everything about basic physics principles. This page is a good reminder about what you need to know in physics for game development.

A simple game with HTML5 Canvas by Michal Budzynski

A great serie of tutorials that walks you through the creation of a simple Doodle Jump clone.

5 tips for your HTML5 games

A presentation by Ernesto Jimenez to make you aware of a few important things you’ll need to know when creating HTML5 games. The presentation on Slideshare.

Developing Your First HTML5 Game

A serie of tutorials on Script Tutorials, good for beginners.

Some tools to help you build your HTML5 game

Why bother recreating what’s been done well before you? These tools should help you to create your HTML5 games faster.

Construct

This is the tool you’ll need if you don’t know anything about javascript or HTML5 and still want to create HTML5 games. In short, a tool for designers to create games. They have free and paid versions of the tool.

Jukebox by Zynga

The Jukebox is a component for playing sounds and music with the usage of sprites with a special focus on performance and cross-device deployment. Download on Github.

Spaceport

A tool to build multi-platform optimized HTML5 games. They also let you import your old flash games. Try it.

Game engines table on github

Great resource, a huge list of HTML5 frameworks and javascript engines. Check it out.

GameSalad creator

A drag-and-drop tool to create your HTML5 games easily. And it’s free!

Funsize Coding

Recently, some of my classmates gave presentations on sites to check out to learn code for free. right, how interesting. I’ve been looking into a few of them myself. They have a lot of useful tools and educational vids. things of that sort. But what if you are like one of the many people (me) who practically live on their smartphones. well, yeah my life is on my smartphone, not only as a developer per say but I have a few apps and gismos that enhance the way I do things.

That being said, it would be really neat to find an app or two that allows one to learn code from a mobile smartphone. I mean they do so much already and are capable of many practicalities right? why not use theme to learn code? Many schools and businesses now a days are joining the smartphone bandwagon. What I wanted to post was a few quick apps that will help anyone on the go utilize their time with quick lessons here and there from the following useful apps.

Besides we already learn languages, solve equations, find grammar, and challenge ourselves with brain stimulating activities. coding does all of this and more. We’re in an era where that is going to someday be useful to us whether we’re building a website a portfolio, or even the next trend in social media or game. We learn from Code.

What better way to stimulate the mind than by learning through gaming or enjoying what your learning through fun/entertainment.

The following are apps worth checking out prices range from free + up.

I’ll also be listing some apps for none mobile users, just because it’s understandable that not everyone is as enthusiastic about smartphones and they would prefer an alternative.

*(if your ever bored and are looking for something to do over the summer remember this presentation.)*

Type/color key:  Apple (Iphone/Ipod)/  Android/ PC (website)

 

Code.orgVisit Website: http://www.code.org

Popular games, big names get kids/beginners introduced to code by playing fun games with familiar characters.
Rated E (Beginner)
TYPE Website
PRICE Free

Rated E (semi-beginner)
Type Website
PRICE Free to Try, Paid

Rated T (intermediate)
PRICE Free, Free to Try
PLATFORMS
Mac, Windows

CodeaPublisher: Two Lives Left

Well-thought-out coding platform for real game programming
Rated T (intermediate)
PRICE$ 14.99
PLATFORM iPad
Codecademy: Code Hour App Poster Image

Codecademy: Code

Hour of LEARNING

 Quick-hit lessons cover the basics in a fun, easy way.
Rated E
PRICE$ FREE
PLATFORMS Iphone/Ipad
cfbot

CODEFIGHTS

Test your skills to see how well you are against others coding your way through battle!

Rated E-T
PRICE$ FREE
PLATFORMS Website

to be continued, I’m still waiting for android devs to come up with a codecademy app, so when that happens, yeah stay tuned. for now I hope everyone got the most out of the few apps and sites I found which I thought would be a fun alternative to learning code. Or for the people on the go it would be helpful if anyone wanted to learn code through their smartphones.

I’ll be updating this list every so often with new resources.

stay tuned!

Happy Coding everyone!

Code Gamer

Coding and Gaming have always gone hand in hand in web development but never for the purpose of learning it in a casual setting, for fun. It’s always been creating for entertainment and vise versa. I, being a gamer myself, was excited when discovering this new gismo listed in Mashable’s list of coolest techy toys of 2016 from this years toy fair.

Code Gamer ranks in at #3.

Basically Thames & Kosmos’ Code Gamer controller connects to a tablet and allows you to play through video game levels that teach the basics of Arduino coding, which is an open-source prototyping platform based on easy-to-use hardware and software. Arduino boards are able to read inputs – light on a sensor, a finger on a button, or a Twitter message – and turn it into an output – activating a motor, turning on an LED, publishing something online. You can tell your board what to do by sending a set of instructions to the microcontroller on the board. To do so you use the Arduino programming language (based onWiring), and the Arduino Software (IDE), based on Processing, introducing to players the interactions between hardware and software.

Believe it or not, gaming has always been a fundamental way of the learning curve, incorporating anything  which can be taught into a more innovative and creative way of teaching. Depending on how well this toy does it may lead to similar projects further down. Developers are always striving for something that pursues growth and sets a trend, Mario Maker, changed the way we game by allowing players to build and create their own levels, this might just allow us to not only have a better understanding of code but who knows, maybe even introduce us to someone who could do wonders in the tech field as well. starting at $150 it’s definitely a smart investment.

 

Ask a Dev: Q&A’s for WebDevs

Ask a Dev is a channel I recently stumbled upon on Youtube which is a segment by Mashable and Mutual mobile where they take some of the top coders and developers in the industry and answer questions which are useful to anyone looking to get into the field.

Here’s how it works.

They take developers, for example like the guy featured in the video above, and answer questions tweeted based on the content and subject to give viewers answers to questions they’d like to know. knowledge in learning code, tech, or overall improving their craft or just brushing up on their techniques at hand.

todays video featured focuses on Android apps and how developers can get in on the latest tech trends in creating the next best app.

Every now and then i’ll be posting one of these in class for quick as a quick insight or reference.

 

Infusing Design with Developement

How InVision Is acquiring a suite prototype Design Tool for Macaw,

InVision, still in it’s prototypes stages, is a tool where Designers can upload their work to the system, add some animations and connective fiber to various screens, and immediately share an active prototype with other parts of their team and even a group of beta users.

Since the company first started it has grown to see over 500 enterprise customers, ranging from 100 seats per company to 1,200 seats per company, with more than 3,000 new user sign-ups each day. (clients such as Uber, AirB&B, and twitter). The company has just surpassed the one million user mark.

Back in the day, designers worked alongside coders to build out prototypes and products, and that collaboration was limited to a small inner-circle of people. InVision allows designers to jump ahead of engineers and build something that looks, feels and acts like a real application or product without waiting on the back-end technology to be in place. And now, expected to be a part of the latest update, using the essentials from Macaw will help users to achieve their goal of bridging the design-to-development gap by implementing Macaw’s “design to code” features into InVision’s products, Infusing both elements will give both developers and designers a sense of freedom and more of an overall appeal towards their client needs. They are planning to name it Motion, sort of like a modern more flexible version of Dreamviewer only targeted to both sides of the spectrum.

Because of this, engineers (and the finance department, and the sales team, and the marketing team, and even some users) are able to weigh in on prototypes and offer feedback far earlier in the process. Thus so far tons of users subscribed to both websites have started to sign up for the upcoming Beta project as well as offering any of their former applications and software free to the public until they have successfully finished designing their prototype.

 

 

 

Smart toys; Code-a-pillar

Code-a-Pillar is an adorable toy that teaches 3-year-olds the basics of coding.

Fisher Price, a toy company well known for their interactive toys which help toddlers & young children learn, is taking the learning curve one step further with one of their latest gizmos called Code-A-Pillar. 

The toy teaches kids ages 3 to 8 problem solving and sequencing by directing the caterpillar to move in a certain pattern, it reinforces skills associated with writing code.

Here’s how it works.

The toy comes with eight segments which feature a unique command icon on its surface. Each command programs the Code-a-Pillar to move in a certain way (forward, left, right, spin, make a noise and so on). The segments hook together via a USB port and the kids can select the order.

Code-a-Pillar

IMAGE: MASHABLE, ELIZABETH PIERSON

Once the segments are connected and the start button is pressed, the Code-a-Pillar will take the programmed route. While there isn’t any actual computer programming taking place, the bottomline concept is similar to coding.

The toy works as a standalone, and it also comes with a companion app that encourages users to partake in challenges or experiment with different patterns.

Code-a-Pillar

IMAGE: MASHABLE, ELIZABETH PIERSON

The toy is a part of a larger trend to introduce computer skills to a demographic at a very young age. For example, a board game called Robot Turtles recently has drawn attention for its method of teaching kids the basics of coding: the child has to “write code” by using directional cards for an adult to follow and get a cartoon turtle to a jewel.

Code-a-Pillar

IMAGE: MASHABLE, ELIZABETH PIERSON

The Code-a-Pillar will officially launch in Fall 2016 and cost $49.99 for the set of eight segments (additional segments will be sold separately for an unannounced price).

 

Article by

SAMANTHA MURPHY KELLY

photos by

ELIZABETH PIERSON

 

 

Code Deck; playing cards for Developers

Want a better way to learn coding? Do you think your code savvy enough to know what it takes to play this game? Whether your a beginner or an expert within developing this coding card game takes coding to the next level.

A startup company from Bulgaria. Varianto:25  that creates innovative and fun products directed towards developers prominently featured code in 13 different programming languages with playing cards.

In addition to showing cards in the traditional graphical format displaying letters, numbers and suits, the deck shows how the symbols would be coded in various programming languages both prominent and wacky.

Each card value (twos, threes, Jacks, etc.) has a different coding language associated with it, so the deck covers a total of 13 programming languages. The code for each particular card is found in a black box in the center of the card, with the programming language featured on the top, right-hand corner above the box.

The programming language associated with each card value is as follows:

  • 2: Assembly
  • 3: Bash
  • 4: C++
  • 5: Brainfu*k
  • 6: Python
  • 7: Objective-C
  • 8: C#
  • 9: JAVA
  • 10: PHP
  • Jack: JavaScript
  • Queen: CSS
  • King: HTML
  • Ace: SQL

The results are some pretty slick-looking playing cards that might also teach you a bit about coding if you aren’t already a skilled developer. If nothing else, they’d make a fun talking point for your next geeky game gathering.

The code:deck playing cards are available for $10 (about £6.50, AU $14) plus $5 shipping and handling to anywhere in the world (about £3, AU $7) from the Varianto:25 store.

Article & sources by

Anthony Domanico

Breaking the glass ceiling

for women looking to get into coding, this school is an none-profit organization that helps women in the coding field

Designz by Leslie

Women make up about 12 percent of programmers and developers in today’s workforce.

In former times women developers were at a disadvantage from making the same salary, as their male counter parts.

Forbes cities the study where males made  $ 95,000 and women made $ 87,000 a year.

Screen Shot 2015-11-04 at 8.22.13 AM

Along with the study by Dice, Smithsonian.com highlighted another study by the American Association of University Women that found pursing a career in computer sciences, as well as with engineering and health care, has some of the greatest earning potential for women. A chart from this study shows that from 2007 to 2008, one year after graduation, there was no significant difference between the income of men and women who majored in computer sciences; both made an average annual income of $48,485.

On the other hand, Dice said it still may appear that men make more than women. In 2012-2013, an average…

View original post 230 more words