Difference between revisions of "File:Spikes.png"

From Open Surge Engine Wiki
Jump to: navigation, search
(Installation: fix install instructions)
(uploaded a new version of "File:Spikes.png": Current version per suggestions)
(No difference)

Revision as of 09:37, 26 March 2010

These are some spikes I made which can be used with or without the poles included in the image.

Installation

To use this, add the following block of text to the bottom of any "*.brk" file, and the spikes will be available for you to use. If the numbers 1200 through 1203 conflict with existing bricks, you will have to change those numbers accordingly.



brick 1200
{
    type                OBSTACLE
    behavior            DEFAULT
    angle               0

    sprite
    {
        source_file     images/spikes.png
        source_rect     10 80 41 36
        frame_size      41 36

        animation
        {
            repeat      TRUE
            fps         8
            data        0
        }
    }
}

brick 1201
{
    type                OBSTACLE
    behavior            DEFAULT
    angle               0

    sprite
    {
        source_file     images/spikes.png
        source_rect     70 80 41 36
        frame_size      41 36

        animation
        {
            repeat      TRUE
            fps         8
            data        0
        }
    }
}

brick 1202
{
    type                OBSTACLE
    behavior            DEFAULT
    angle               0

    sprite
    {
        source_file     images/spikes.png
        source_rect     10 130 36 41
        frame_size      36 41

        animation
        {
            repeat      TRUE
            fps         8
            data        0
        }
    }
}

brick 1203
{
    type                OBSTACLE
    behavior            DEFAULT
    angle               0

    sprite
    {
        source_file     images/spikes.png
        source_rect     70 130 36 41
        frame_size      36 41

        animation
        {
            repeat      TRUE
            fps         8
            data        0
        }
    }
}

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current22:00, 8 March 2011Thumbnail for version as of 22:00, 8 March 2011167 × 122 (9 KB)Alexandre (Talk | contribs)
18:17, 5 September 2010Thumbnail for version as of 18:17, 5 September 2010167 × 122 (9 KB)Alexandre (Talk | contribs)
09:37, 26 March 2010Thumbnail for version as of 09:37, 26 March 2010167 × 122 (7 KB)Celdecea (Talk | contribs)Current version per suggestions
13:30, 23 March 2010Thumbnail for version as of 13:30, 23 March 2010164 × 180 (8 KB)Celdecea (Talk | contribs)Modifications per suggestions in the forum.
07:15, 22 March 2010Thumbnail for version as of 07:15, 22 March 2010200 × 220 (11 KB)Celdecea (Talk | contribs)These are some spikes I made which can be used with or without the poles included in the image. To use this, add the following to any ".brk" file: <pre> brick 1200 { type OBSTACLE behavior DEFAULT angle
  • You cannot overwrite this file.

There are no pages that link to this file.