conciergefoki.blogg.se

Texturepacker grid
Texturepacker grid




texturepacker grid
  1. #Texturepacker grid install#
  2. #Texturepacker grid update#
  3. #Texturepacker grid full#
  4. #Texturepacker grid pro#

Select the example and then configure the project. To keep things simple we’re going to work with the Simple Ninja Game Demo.

#Texturepacker grid update#

In order to get a basic idea of how TexturePacker works, we’re going to convert all of the image assets for one of Felgo’s Sample Games into a sprite sheet and then update our code to reflect these changes. The free version will work fine for what we’re about to do.

#Texturepacker grid pro#

TexturePacker is available as both a free tool and as a Pro version.

#Texturepacker grid install#

You can download TexturePacker here and install it.

#Texturepacker grid full#

This is a huge time saver in comparison to scaling and exporting all of your assets one by one.įor a full breakdown of the advantages of using TexturePacker, check out this comparison of native Qt components against Felgo’s TexturePackerAnimatedSpriteVPlay component. With TexturePacker you can easily export your finished sprite sheets with different scaling settings. As your game will be supported on multiple screen resolutions, you’ll need to provide images in 3 different sizes. TexturePacker offers a very simple workflow improvement for Felgo users. This is a huge performance increase considering all you have to do is process your image assets using TexturePacker. In our tests, we found that runtime performance increased by 1.5 – 2x. This is where the real benefit of TexturePacker lies. TexturePacker improves the runtime performance of your game as your device’s CPU will only have to make one draw call to the sprite sheet instead of multiple calls to each individual asset. Dithering then allows you to make up for the missing alpha channel by introducing randomized errors so the final product looks just as good as it would in RGBA8888 format. In cases such as this, TexturePacker allows you to use RGB565 image format, which uses a lot less memory. That kind of color palette isn’t always necessary.įor certain assets, such as background images, there’s no need for your image’s alpha channel. This means the standard pixel is capable of representing over 4 billion colors. Standard pixels use RGBA8888 image format they have 4 color channels with each being 8 bytes in size.

texturepacker grid

Pixel FormatsĪnother way in which TexturePacker optimizes game assets is by using varying pixel formats. This saving could mean the difference between your game running smoothly or failing to launch on lower-end devices. In fact, during our testing we estimated that using TexturePacker resulted in a 30% reduction in memory usage. Although the difference here isn’t likely to affect your game’s performance in any way, this extra memory usage will eventually start to take its toll if you have a large number of sprites featured on screen at the same time. Now, a 128×128 pixel sprite only uses 66kb, which isn’t a lot, but it’s still double the memory of a 90×90 pixel sprite, which is only 32kb in size. This means that the original sprite is now using over 100% more pixels to display the exact same image. This increase means an extra 8284 pixels for one sprite. The hardware will have to size up the sprite to at least 128×128 pixels to be displayed. Say you’ve created a sprite that measures 90×90 pixels but your hardware can only display sprites of a power of 2 size(64×64, 128×128,256×256, etc.) or squared sprites. Using sprite sheets instead of single sprites is a great trick to reduce the memory usage of your game. TexturePacker lets you combine all of your game assets into a single sprite sheet. The first thing you’ll notice when you start using TexturePacker is the performance benefits it offers. That’s why Felgo has a number of custom components dedicated to making TexturePacker integration a seamless process. TexturePacker is one of the most user-friendly and powerful sprite sheet creation tools available, making it an essential part of any game development stack. It’s available here and it’s fully supported by Felgo. TexturePacker is a free tool that turns your game assets into sprite sheets.

texturepacker grid

Using TexturePacker is one of the best ways to improve your game’s performance and your work flow at the same time.






Texturepacker grid