In Progress Double Dragon Masters of Sousetsuken

The project is currently under development.

alemasper

Member
Hello everyone !!
I have a problem with my game, it is with the water effect.
I am creating a screen above a ship and the player does not move with respect to the panel.
That is, the panel moves up and down and the player does not.
Can someone help me on this?
I uploaded my game there so you can see it.
Thank you!!
 
 
@alemasper I looked your game, according to the manual the water image appear below the background image, but once you can't adjust the Z layer for it you need to remove the bottom part of the background image in order for the water image to appear below.

1716441984330.png

Before
1716442099167.png

After (I didn't remove the entire blue part to left at least some lines with the transparent color)
1716442136243.png

Result

You also need to fill the bottom part of the panel in order to cover the repeated background, or you can configure the zRepeat parameter to make the background don't repeat below, like this.

background data/levels/C1_st10/back.gif 0 0 0 0 0 0 -1 1 1 0

1716442801158.png

In addition, I suggest to change the second parameter of the noquake command to zero in all your character headers otherwise they will not follow the rock command movement (the boat up/down movement).

noquake 1 0

As an alternative method you can just configure the water image as a bglayer and apply the watermode to it. Below i applied the same watermode parameter I'm using in the SOR2 stage 5 (the boat).

bglayer data/levels/C1_st10/water.gif 0.5 0 0 160 0 0 -1 1 1 0 1 4 10 0.4 2

Here's the background/bglayer parameters.
1716443482960.png

Result
 
Hi, friend!!!
Brilliant !!
I was able to achieve it, thank you very much for your help.
you earned a place in the credits!!
A big hug and I'll be uploading previews of my game!! ;)
 
Back
Top Bottom