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 2018-02-22 11:27:25

G.E.R.
Member
From: Russia, Krasnodar
Registered: 2017-12-26
Posts: 177

Tails (fly, swim, carry), Knuckles (fly, climbing) scripts + Sonic

There are files for introduction Sonic, Tails and Knuckles to Open Surge engine.
Just unpack archive on your folder and set the characters names in level-file.

It is modifications of CarlosTheHedgehog's scripts.

Tails can fly (singly or with the parthner) and swin (only singly), but control in this game differs from control in original Sonic's games. Press SPACE button once to take off and press it again to land. Tails flying during 10 sec and swimming during 30 sec. If he swim, he does not require air bubbles (he don't die).

Knuckles can plane, climbing, and destroy some bricks. This control similar controls from original games.
The wall destroying is released as hidden object, which make Knuckles rolling.

When Tails or Knuckles uses their abilities, they are invulnerable for the enemies (because the engine processes the script in the process of jumping).

Download pack:
https://yadi.sk/d/qvx_-ztkR_aqLA

Unpack it on folder with your project, then open file \objects\startup\default_startup.obj and write the selected lines in [object ".default_startup" --- state "main]


object ".default_startup"
{
    requires 0.2.0
    always_active

    state "main"
    {
        hide

// ----------------------------------------------
        let "$_Play_Knuckles = 0"
        let "$_Play_Sonic = 0"
// ----------------------------------------------

        create_child ".default_startup.opening_animation"
        create_child ".default_startup.level_cleared"
        create_child ".default_startup.switch_character"
        create_child ".default_startup.camera"
        create_child ".default_startup.water"

Last edited by G.E.R. (2018-09-20 12:11:30)

Offline

Board footer

Powered by FluxBB  hosted by tuxfamily.org