SoC Ideas SpriteSheets: Difference between revisions

From The Battle for Wesnoth Wiki
Crab (talk | contribs)
m Created page with '{{Template:SoC2010}}'
 
Crab (talk | contribs)
 
(15 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Template:SoC2010}}
{{Template:SoC2010Idea}}
 
=Description=
<h2>Allow wesnoth to support spritesheets</h2>
Page for the idea: [[SoC_Ideas_SpriteSheets]]
 
Wesnoth units are made of thousands of small png files, each containing the image of the unit in a given stance. This has the advantage of (arguably) being easier for artists. However this has a huge cost in term of memory usage. The point of this SoC would be to allow wesnoth to support spritesheets : huge images containing a mosaic of all images and related tools/code support
 
{{#dpl:
|resultsheader=''There are %PAGES% submitted student proposals for this idea''
|oneresultheader=''There is 1 submitted student proposal for this idea''
|suppresserrors=true
|noresultsheader=''There are no submitted student proposals for this idea''
|notcategory=SoC 2010 Not Submitted To Google
|category=Summer of Code 2010 Student Page&SoC Ideas SpriteSheets
|include=#Description
|mode=userformat
|format=,,<br/>See [[%PAGE%|%TITLE%]] for more information.<br/><br/>,
}}
 
=Additional Information=
 
currently, all the wesnoth unit animations are based on png images, each image representing the unit in a single pose. In a spritesheet approch, each unit is represented by a single,huge, image where all the unit images are put on a mosaïc pattern and the game knows where to look for a given image.
 
the spritesheet approch has huge gains in term of memory consumption, but there are a couple of problems that need to be solved
 
* how to build those huge sheets from our current images set
* Wesnoth does not have a fixed number of frames per unit, nor does it have a fixed size for each unit frame. A naïve approch to the problem will not work

Latest revision as of 22:56, 9 April 2010


This page is related to Summer of Code 2010
See the list of Summer of Code 2010 Ideas



This is a Summer of Code 2010 Idea



Description

Allow wesnoth to support spritesheets

Page for the idea: SoC_Ideas_SpriteSheets

Wesnoth units are made of thousands of small png files, each containing the image of the unit in a given stance. This has the advantage of (arguably) being easier for artists. However this has a huge cost in term of memory usage. The point of this SoC would be to allow wesnoth to support spritesheets : huge images containing a mosaic of all images and related tools/code support

There are no submitted student proposals for this idea

Additional Information

currently, all the wesnoth unit animations are based on png images, each image representing the unit in a single pose. In a spritesheet approch, each unit is represented by a single,huge, image where all the unit images are put on a mosaïc pattern and the game knows where to look for a given image.

the spritesheet approch has huge gains in term of memory consumption, but there are a couple of problems that need to be solved

  • how to build those huge sheets from our current images set
  • Wesnoth does not have a fixed number of frames per unit, nor does it have a fixed size for each unit frame. A naïve approch to the problem will not work
This page was last edited on 9 April 2010, at 22:56.
Cookies help us deliver our services. By using our services, you agree to our use of cookies.