Open Surge Forum

A fun 2D retro platformer inspired by Sonic games and a game creation system

You are not logged in.

Announcement

Our community has moved to Discord! https://discord.gg/w8JqM7m

#1 2009-03-10 08:14:36

Celdecea
Member
From: Southern Oregon
Registered: 2009-02-23
Posts: 147

Original Graphics: Ring Shields

The following is my attempt at improving the ring shield.  It is the same size but I think it looks better.  Also, I am experimenting with a fire shield but I am not happy with it yet.  wink

Ring_shields.png

A patch file is available here or you may follow the instructions below.  WARNING:  The developer has recommended against editing the sprite.def file.  Please make backups if you proceed.

To install this modification, save the image to your OpenSonic/images folder.  Then, open up config/sprite.def in a text editor.  Search for "SD_SHIELD" in the file, you will be taken to around line 1350 (as of version 0.1.2).

Change these two lines:

source_file     images/items.png
source_rect     0 233 230 42

To this:

source_file     images/ring_shields.png
source_rect     0 50 230 42

Fire shield alternative:

source_file     images/ring_shields.png
source_rect     0 92 230 42

You must restart OpenSonic in order for the changes to take affect.

This original graphical work has been created entirely by Celdecea for the OpenSonic project, and is hereby released under the Gnu General Public License version 2.  The vector-based original created in Fireworks MX 2004 is available upon request.

These ring shields (and any other that are added to the image) are a work in progress, and any updates will be posted here.

Last edited by Celdecea (2010-04-14 05:55:51)

Offline

#2 2009-03-11 03:06:14

lainz
Member
Registered: 2009-02-18
Posts: 202

Re: Original Graphics: Ring Shields

The first looks better than the shield of 0.1.1.

Offline

#3 2009-03-12 01:26:11

Alexandre
Administrator
From: Brazil
Registered: 2009-01-27
Posts: 3,304
Website

Re: Original Graphics: Ring Shields

Thank you! Your ring shield is nice, but I think it gets even better if we increase the animation speed a little bit (from 12 fps to 24 fps) smile

config/sprite.def

; Shield
sprite SD_SHIELD                                                                                                                           
{
    source_file     images/ring_shields.png
    source_rect     0 50 230 42
    frame_size      46 42
    hot_spot        23 19

    ; default
    animation 0
    {
        repeat      TRUE
        fps         24
        data        0 1 2 3 4
    }
}

s012.png

Offline

#4 2009-03-15 02:08:06

Celdecea
Member
From: Southern Oregon
Registered: 2009-02-23
Posts: 147

Re: Original Graphics: Ring Shields

I tried an experiment with the fire shield and I think it looks a bit better.

Offline

Board footer

Powered by FluxBB  hosted by tuxfamily.org