3DS Amiga Amstrad CPC Apple II Arcade Atari 7800 Atari Lynx CD-i ColecoVision Computer Dreamcast DS Game Boy Game Boy Advance Game Gear GameCube Genesis Master System Mobile MSX Neo-Geo Neo-Geo Pocket NES Nintendo 64 Nintendo Switch PC-98 PlayStation PlayStation 2 PlayStation 3 PlayStation 4 PlayStation Portable PlayStation Vita Saturn Sega 32X. Opening wooden front door with stone frame isolated on white background. Cartoon set of house entrance, brown closed, ajar and open doors. Illustration for sprite animation or 2d game upklyak 942 50.
- Free Video Game Sprites
- Sprites For Games
- Free Game Assets
- Video Game Sprite Sheets
- Video Game Character Sprite Sheets
Platformer With Sprite Sheets
Sprite comics are a kind of webcomics that use sprites instead of drawings. These sprites can be from preexisting video games or custom made for the comic. The oldest known sprite comic is neglected Mario characters which dates back to 1998 but the first widely known and popular webcomic was Bob and Gorge which debut in 2000 which was followed by the most popular and well known sprite comic.
Example code for this example can be downloaded here: spritesheet_example.zip
A quick video of our final program is below, and at the bottom of the page is a video explanation of the program.
This example shows a platformer game using sprite sheets. A good 2D game can involve a lot of graphics. Rather than create and manage a file for each image, games will use a large image made up of several smaller images. For example, this sprite sheet has multiple frames of a player character walking all in one image:
The sprite sheet was downloaded from the ``Platformer Art Deluxe' package at OpenGameArt.org and was created by author Kenney. Here is another sprite sheet that our game uses to build the world:
In addition, I've created a couple backdrops for my game. You can't interact with the backdrops, but I think it is more interesting to have a backdrop than just have a solid color. The backdrop was created using the Tiled Map Editor and Kenney's Buildings sprite sheet.
This is the backdrop for Level 2.
Finally, the code! This code builds off the other platformer examples on this website. I've divided the code up into several files to make it easier to navigate.
Free Video Game Sprites
The first file just has some variables that represent constant values. It makes the code easier to read by using variables like WHITE and allows me to change the screen size easily.
This class pulls smaller images out of the large sprite sheet. Create an instance of the class and pass in the file name as a parameter to the constructor. Then call getImage with the x, y location of the upper left corner of yorur sprite along with its height and width. You can use a drawing program to get the location of the sprite images you are intersted in.
This next file defines platforms we can jump on or run into. At the beginning of the file we create lists for each image we want to use. The lists contain the x, y location of the sprite, along with the width and height. Next is the Platform class that defines a non-moving platform. There isn't much to it. The class passes along the image x, y, width, and height and uses the SpriteSheet class to grab the image.
If you want moving sprites, the next class MovingPlatform adds functionality to its parent class Platform. The class keeps track of its boundaries that it stays in, along with the velocity. The update is complex because a moving platform can 'bump' the user and move him/her. It also needs to keep track of how far the world has scrolled to the left or right.
This file defines each level in the game. There is a parent Level class that all levels should inherit from. Things that all levels have (like a list of platforms) are defined in this parent Level class. After that there is a class for each level.
The player class. This class could be simple, but we will make this player have an animation as he/she moves left and right.
This is the main program to run:
English version by Paul Vincent Craven
Spanish version by Antonio Rodríguez Verdugo
Russian version by Vladimir Slav
Turkish version by Güray Yildirim
Portuguese version by Armando Marques Sobrinho and Tati Carvalho
Dutch version by Frank Waegeman
Hungarian version by Nagy Attila
Finnish version by Jouko Järvenpää
French version by Franco Rossi
Korean version by Kim Zeung-Il
Chinese version by Kai Lin
What Is A Character Sprite?
A character sprite is a simple 2D video game graphic included as part of a broader environment. For example, The characters in Final Fantasy VI, The Legend of Zelda, Pokemon Red, and Castlevania are all sprites. They are 2D bitmaps included in the overall game world and move independently of the game’s environment.
How Do Sprites Work?
Sprites animate on the screen, apart from the game’s environment. Characters, animals, and even particle effects like explosions and more are animated independent of the environment.
Where Can I Get Free Sprites?
There are several great places to get sprites. Some of the best options are OpenGameArt, which hosts thousands of different sprites and designs for use. Other than OpenGameArt, it would be best if you merely searched for what specific sprites you are looking for to find them easily.
Sprites For Games
How Big Is A Character Sprite?
It depends on the project you are working on. The standard sizes for sprites are 16×16, 24×24, 32×32, and 64×64. If you are having difficulty determining the best format for a character, decide based on your resolution.
Why Is A Sprite Called A Sprite?
It was a term coined back in the 1970s by Daniel Hillis. Since sprites moved independently of the bitmap, they seemed to float around, as ghosts called ‘sprites’ were rumored to do.
What Do Sprites Do?
Sprites fill your game world and help complete games. Without sprites, classic games like the Legend of Zelda: A Link to the Past wouldn’t exist.
Can You Make Your Own Sprites in RPG Maker?
Yes, RPG Maker allows you to paint your own sprites or import from a paint program after editing the sprites to your liking.
Is There A Free Version of RPG Maker?
Yes, you can use RPG Maker VX Ace Lite instead of the paid version. They encourage first-time developers to engage with RPG Maker VX Ace Lite, especially if you have a busy schedule and are new to game development. You can upgrade at any time to the full version for more features.
How to Create A Sprite Sheet
What Is A Sprite Sheet?
Sprite sheets display a ton of different spirit images in a grid format. They usually contain all of the different perspectives you can see a sprite from, and what actions they can do. This provides the user with all they need to create their own games and characters.
You can easily create your very first sprite sheet or tileset by downloading the free version of TexturePacker. Even the free version easily allows you to flex your sprite-creating muscles.
Animation Strips: Outline Your Actions
These are some of the easiest sprites to create. Draw or paint the different actions a sprite takes, resembling an animation.
Free Game Assets
Tilesets: Making the World Around Your Game
Video Game Sprite Sheets
Tilesets are what sprite sheets are to game characters; they make up the game’s environment.
Optimize Your Sprite Sheets!
It’s all about saving memory when developing games. What can you sacrifice for better performance? Optimizing sprite sheets is a great way to do this. You are trimming the sprites down and saving a ton of memory in the long run.
Game Assets (Where to Get Sprites)
Video Game Character Sprite Sheets
Here are but a few fantastic resources where you can download a variety of sprites for free. These aren’t the only resources, so make sure you explore more!