SoC Ideas Sprite Sheets2011 Sajal

From The Battle for Wesnoth Wiki
Revision as of 04:35, 30 March 2011 by Sagi (talk | contribs) (IRC)


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



This is a Summer of Code 2011 student page



GSOC- 2011 Idea of representing images using sprite sheets.


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



This is a Summer of Code 2011 student page



ATTENTION

GSOC- 2011 Idea of representing images using sprite sheets.

Description

Sajal- Implementation of images using spritesheets

The idea is to implement a spritesheet for loading images instead of individual png images.Basically, the idea is to design two seperate spritesheet - one for the characters and the other for objects in the environment.It would be flexible and have multiple-sized images.

The 2 spritesheets would be a large png image. If possible,a tool to merge images into a spritesheet would be created, so as to skip the "copy-paste" process . This will also enable other users to add the characters of their choice- which they could design via photoshop/other image-editing programs.

IRC

_sagi,sagi

IDEA

I am a student of Computer engineering and passionate about game developing. I am developing my own game as a college project in C++ using SDL libraries. I have too implemented the spritesheets in my project as to animate the objects. Using the spritesheets, decreases your loading time appreciably. This would be noticeable on running games on mobile OS platforms such as Android.

Problems

The only issue which i found is :

Once a spritesheet is made, it becomes tedious for the developers to edit the images packed in it. For the initial stage we can define Macros arrays(of size 4) containing the x-y coordinates and their respective width and height.This way devs will become aware of the frames and their images. Later , we could work upon developing a widget to select the frames from the given image-spritesheet.By selecting the frame , Devs could work upon the particular image.

May be we could use GTK+ to create widget. We will modify the source codes of particular image-editing program to our own needs. It would be quite helpful. I have worked upon GTK+ in Gnome contibution.

Questionnaire

TODO: fill out this questionnaire SoC_Information_for_Google#Does_your_organization_have_an_application_template_you_would_like_to_see_students_use.3F_If_so.2C_please_provide_it_now._Please_note_that_it_is_a_very_good_idea_to_ask_students_to_provide_you_with_their_contact_information_as_part_of_your_template._Their_contact_details_will_not_be_shared_with_you_automatically_via_the_GSoC_2011_site.