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 2015-09-07 22:08:31

CarlosTheHedgehog
Member
From: Entre Rios, Argentina
Registered: 2015-08-10
Posts: 30

Move Camera (Sonic 3 & Knuckles Style)

they saw in Sonic 3 & Knuckles Lava Reef level where is the battle with eggman and the camera moves to the target? Well, I could create the same, but is a prototype, here the script fails them

object "Move Camera Prototipe"
{
    requires 0.2.0
    hide_unless_in_editor_mode
    always_active
    state "main"
    {
        on_player_collision "part 2"
    }

    state "part 2"
    {
        request_camera_focus
        observe_active_player
        move 150 0
    }

    state "part 3"
    {
        drop_camera_focus
        destroy
    }
}

Last edited by CarlosTheHedgehog (2015-09-07 22:09:36)

Offline

#2 2015-09-10 07:53:58

TheSeventhEmerald
Member
From: Spain
Registered: 2010-04-19
Posts: 302

Re: Move Camera (Sonic 3 & Knuckles Style)

This should be in the "Games Assets" subforum.

Apart from that, I think that in the Sunshine Paradise, Act 3 (the Big Wolf boss) there's something similar. Take a look to that.


Piece of cake...!

Offline

Board footer

Powered by FluxBB  hosted by tuxfamily.org