1

(9 replies, posted in General)

I maded minor changes in source code, but I can't compiled it. I readed this article -
http://opensnc.sourceforge.net/wiki/ind … ource_Code - but if I follow the instructions, it leads to error.

Screenshort:
https://img-fotki.yandex.ru/get/766539/159624077.2/0_198b97_e4d9c2a5_orig.png

Is there a simple way to compile?

So, I have this situation.
Boss and other objects is placed on the level.

Object BOSS
<....>

Object A
<....>

Object B
<....>

etc.

I need to specify coordinates of objects A and B depending on the position of the object BOSS. BOSS is moving ----> A and B is moving too.
How I can made it? What API-variable should I use?

I'm already studying this article. It's strange that I did not see her before in Wiki. A lot of questions are really solved.
Sorry for the large number of questions.

Thank you for link on API, this article gave a lot of useful information on programming

I working on a boss and I have small problems.
I created level and I need that player passed througth level and defeated the boss. The boss must be activated when player will approach him.

How I can get or set X/Y coordinates of the boss or other objects?

And how I can block so that the player does not go beyond the boss arena and then unlock and continue the game?

Tails and Knuckles will lose their skills, but you can find scripts here in the forum.

Thank you for Tails andKnuckles scripts.

But I have a problem. I need that Knuckles can walking on the wall. Through what command to implement it?
My script:

on_right_wall_collision "Wall"

<...>

    state "Wall" // Collision with a wall
    {
        set_player_animation "SD_KNUCKLES" 22
        set_player_yspeed 0
        set_player_xspeed 0
        on_button_pressed "up" "Wall_up"
        on_button_pressed "down" "Wall_down"
    }
   
    state "Wall_up" // Knuckles go up
    {
        set_player_animation "SD_KNUCKLES" 17
        set_player_yspeed -20
        on_button_pressed "up" "Wall_up"
        on_button_pressed "down" "Wall_down"
        change_state "Wall_stop"
    }
    state "Wall_down" // Knuckles go down
    {
        set_player_animation "SD_KNUCKLES" 17
        set_player_yspeed 20
        on_button_pressed "up" "Wall_up"
        on_button_pressed "down" "Wall_down"
// ? ? ? on_wall_down "falling" ? ? ?  // Knuckles reached the bottob of the wall and falling
        change_state "Wall"
    }

    state "Wall_top" // Knuckles reached the top of the wall
    {
        set_player_animation "SD_KNUCKLES" 16
        set_player_yspeed -20
        set_player_xspeed 10
        change_state "main"
    }

But it is dont working. Can you help me?

So, I need that Tails can flying and carried Sonic and I don't know how to do it. But this is not so important, if I can't made it, I can add moving platforms on my level.

I working over the rest levels from Sonic-3-Competetion. So, I created Azure Lake and Chrome Gadget Zones, they has various textures in my mod. Azure Lake has are day and night levels. Chrome Gadget Act 2 has railway themes. Also, there are underwater and underground places in levels from my mod. When I completed all 5 Zones, I will be porting levels on Open Surge and publish on this forum.

https://img-fotki.yandex.ru/get/893194/159624077.2/0_196e2b_1f00426d_orig

8

(61 replies, posted in General)

Advanced features

Is this script necessary for levels with a large map and a large number of objects?
I think It can be tested in a virtual machine with Windows 98 or 2000.

Alexandre, thank you for your feedback!

It is my first levels, I created Desert Palace and Endless Mine. I played your Open Sonic levels from 2011 year and I really liked your levels (Exotic Paradice and Blue Ocean), but now I wanted to create my mod with new levels. This levels is a study of the development environment. Yes, I will be porting to Open Surge, but it need time to learn it.

After Endless Mine, I created the full-fledged "Desert Palace" level from Sonic 3 Competetion. It is the mod for Open Sonic 0.1.4.

Act 1 is usualy Sonic's level with varios routes, secret places and traps.
https://img-fotki.yandex.ru/get/768352/159624077.2/0_1966da_bc0ede75_orig

Act 2 is quest.
https://img-fotki.yandex.ru/get/768352/159624077.2/0_1966db_a31df94b_orig

Act 3 is boss arena, but boss will be in text version.
https://img-fotki.yandex.ru/get/516848/159624077.2/0_1966dc_b13facc1_orig

Download mod: https://yadi.sk/d/F0eOn6Am3R5Xi5 .
For install this mod, you should copy files from this folder in folder with Open Sonic game on your computer. Files from DPZ_MOD\images should be placed in folder Open Sonic\images, files from DPZ_MOD\levels should be placed in Open Sonic\levels etc.

Open "opensonic.exe", select "Extras", then select "Desert Palace".

If you finded bugs, glitches or if you have wishes and advice, then you can posted comment on this page.

I wish you a pleasant game!

SGWaS, thank you for your feedback!

Yes, this level is linear level with maze-type zone, you can see it on level map (Act 2):
https://img-fotki.yandex.ru/get/3609/159624077.2/0_19618b_55d2846e_XL.png

I wanted to created act 1 as linear level and act 2 as quest with maze sectors. And I think that I can realize other levels from "Competetion mode Sonic 3" with bosses in version 0.2.0. Thank you for help!

I like Endless Mine Zone and I wanted to play it on full-fledged level. I propose my mod for Open Sonic 0.1.4.

Act 1 is usualy Sonic's level with varios routes, secret places and traps.
Act 2 is quest.
Act 3 is battle with many enemies.

https://img-fotki.yandex.ru/get/3800/159624077.2/0_1962ee_9316c2ac_orighttps://img-fotki.yandex.ru/get/104403/159624077.2/0_1962ef_8da3472d_orig
https://img-fotki.yandex.ru/get/3800/159624077.2/0_1962f0_9a062497_orighttps://img-fotki.yandex.ru/get/369434/159624077.2/0_1962f1_53fcfd19_orig

Download mod: https://yadi.sk/d/hhXbNXnX3Qvey9 .
For install this mod, you should copy files from this folder in folder with Open Sonic game on your computer. Files from EMZ_MOD\images should be placed in folder Open Sonic\images, files from EMZ_MOD\levels should be placed in Open Sonic\levels etc.

Open "opensonic.exe", select "Extras", then select "Endless Mine Zone".

If you finded bugs, glitches or if you have wishes and advice, then you can posted comment on this page.

I wish you a pleasant game!


I ran into problems:
1. I could not created a boss. I do not know how to do it.
2. I could not realised working loops: character rests against the wall and "Loop -->"  "Loop OFF" blocks doesn't worked. How to properly place them?