Thread Rating:
  • 1 Vote(s) - 1 Average
  • 1
  • 2
  • 3
  • 4
  • 5
problem with stage mode
#1
i am having littl' problem on my stage mod...

i play everythin normal until 3-1...

when i finish that level GO sign shows up to go to next lvl.

but...
when i come to end of bg it keeps running on the same spot...like there is a invisible wall wich is stopping me to go next...

here is the code if it helps:

Code:
<stage> id: 24  #stage 3-5
        <phase> bound: 2200
                id: 50  hp: 1000 <boss>
                id: 34 hp: 100 <soldier>
                id: 34 hp: 100  ratio: .3
                id: 3000 hp: 50  ratio: 1
                id: 3000 hp: 50  ratio: .5 <soldier>
                id: 32  hp: 200  times: 2
                id: 32  hp: 200  ratio: .25 <soldier>
                id: 33 hp: 150   <soldier>
                id: 33 hp: 150  ratio: .2 <soldier>
        <phase_end>
<stage_end>

<stage> id: 23  #stage 3-4
        <phase> bound: 1500
                id: 122  x: 100  #milk  ratio: 2
                id: 123  x: 100  #beer  ratio: 1
                id: 3000 hp: 50  times: 1  ratio: 1
                id: 34 hp: 100  
                id: 34 hp: 100  times: 1  ratio: .5
        <phase_end>

        <phase> bound: 2200
                id: 1000  hp: 250 times: 5 <boss>
                id: 34 hp: 100 <soldier>
                id: 34 hp: 100  ratio: .3
                id: 3000 hp: 50  ratio: 1
                id: 3000 hp: 50  ratio: .5 <soldier>
                id: 32  hp: 200  times: 2
                id: 32  hp: 200  ratio: .25 <soldier>
                id: 33 hp: 150   <soldier>
                id: 33 hp: 150  ratio: .2 <soldier>
        <phase_end>
<stage_end>

<stage> id: 22  #stage 3-3
        <phase> bound: 1300
                id: 300 hp: 100 act: 40 x: 900  y: 0  reserve: 3
                id: 300 hp: 100 act: 50 x: 900  y: 0  reserve: 3
                id: 122  x: 100  #milk  
                id: 123  x: 100  #beer
                id: 122  x: 100  #milk  ratio: .5
                id: 123  x: 100  #beer  ratio: .3
                id: 3000 hp: 50  ratio: 1 <soldier>
                id: 32  hp: 200 times: 2  <boss>
                id: 32  hp: 200  ratio: .3
                id: 34 hp: 100  <soldier>
                id: 34 hp: 100   ratio: .3 <soldier>
        <phase_end>

        <phase> bound: 1400
                id: 122  x: 100 ratio: 1.4  #milk
                id: 123  x: 100 ratio: .7  #beer
                id: 3000  hp: 50
                id: 3000  hp: 50  ratio: 1  <soldier>
                id: 34  hp: 100  <soldier>
                id: 34  hp: 100 ratio: .3  <soldier>
                id: 33  hp: 150 times: 2  <boss>
                id: 33  hp: 150 ratio: .3
        <phase_end>
        
        <phase> bound: 1700
                id: 122  x: 100  #milk
                id: 123  x: 100  #beer
                id: 122  x: 100  #milk  ratio: .7
                id: 123  x: 100  #beer  ratio: .5
                id: 3000 hp: 50  ratio: 1
                id: 32  hp: 200
                id: 32  hp: 200  ratio: .2
                id: 34 hp: 100
        <phase_end>

        <phase> bound: 2200
                id: 1000  hp: 250 times: 3 <boss>
                id: 34 hp: 100 <soldier>
                id: 34 hp: 100  ratio: .2
                id: 3000 hp: 50  ratio: 1
                id: 3000 hp: 50  ratio: .5 <soldier>
                id: 32  hp: 200  times: 1
                id: 32  hp: 200  ratio: .2  times: 2
                id: 33 hp: 150 <soldier>
                id: 33 hp: 150  ratio: .3
        <phase_end>
<stage_end>

<stage> id: 21 #stage 3-2
        <phase> bound: 900
                id: 300 hp: 300 act: 20 x: 1100  y: 0  
                id: 300 hp: 200 act: 30 x: 1300  y: 0
                id: 3000 hp: 50  times: 1  ratio: 2
                id: 32  hp: 200
                id: 32  hp: 200  ratio: .4
                id: 34 hp: 100  
                id: 34 hp: 100  times: 1  ratio: .4            
        <phase_end>

        <phase> bound: 1200
                id: 122  x: 100  #milk
                id: 123  x: 100  #beer
                id: 3000  hp: 50
                id: 3000  hp: 50  times: 2  ratio: 1
                id: 34  hp: 100
                id: 34  hp: 100 times: 2  ratio: 1
        <phase_end>
        
        <phase> bound: 1700
                id: 122  x: 100  #milk
                id: 123  x: 100  #beer
                id: 122  x: 100  #milk  ratio: .5
                id: 123  x: 100  #beer  ratio: .3
                id: 3000  hp: 50  times: 1  ratio: 1
                id: 33  hp: 150
                id: 33  hp: 150 times: 1  ratio: .3
        <phase_end>

        <phase> bound: 2200
                id: 1000  hp: 250 times: 2 <boss>
                id: 34 hp: 100 <soldier>
                id: 34 hp: 100  ratio: .3
                id: 3000 hp: 50  ratio: 1
                id: 3000 hp: 50  ratio: .5 <soldier>
                id: 32  hp: 200  times: 2
                id: 32  hp: 200  ratio: .2
                id: 33 hp: 150 <soldier>
                id: 33 hp: 150  ratio: .2
        <phase_end>
<stage_end>

<stage> id: 20  #stage 3-1
        <phase> bound: 100
                id: 300 hp: 400 act: 10 x: 900  y: 0
                id: 300 hp: 400 act: 0  x: 1300  y: 0
                id: 3000 hp: 50  times: 1  ratio: 2
                id: 34 hp: 100  
                id: 34 hp: 100  times: 1  ratio: .5
        <phase_end>

        <phase> bound: 400
                id: 3000  hp: 50  times: 1
                id: 3000  hp: 50  times: 1  ratio: 1.3
                id: 34 hp: 100  
                id: 34 hp: 100    times: 1  ratio: .2
                id: 3000  hp: 50  times: 1  ratio: .2
        <phase_end>
        
        <phase> bound: 800
                id: 3000  hp: 50  times: 1
                id: 3000  hp: 50  times: 1  ratio: 1.0  
        <phase_end>

        <phase> bound: 1000
                id: 122  x: 100  ratio: .5  #milk  
                id: 3000 hp: 50  ratio: 1
                id: 3000 hp: 50  ratio: .3 <soldier>
                id: 32  hp: 200
                id: 33  hp: 150
                id: 34  hp: 100
                id: 1000  hp: 250 <boss>
                id: 32 hp: 50  times: 1  ratio: .2
                id: 33 hp: 150  times: 2  ratio: .3
                id: 34 hp: 100  times: 1  ratio: .3  <soldier>
        <phase_end>
<stage_end>

pls. help me...

OR I WILL KILL YOU EvilEvilEvil

(:D:D:D:D:D LOL I'M JUST KIDDING A BIT,NO OFFENCE :D:D:D)
Reply
Thanks given by:
#2
bound: 1000 - do you use the origianl backgrounds? if not is your background less then 1000 px wide?
[Image: random.php?pic=random]
www.lf-empire.de
Once I had a fortune, it said: "Leave now. Life is short. Time is luck"
Don't dream your life, live your dream!
Reply
Thanks given by:
#3
I've been experiencing that, too. In general, you should always use smaller bounds than your BG is wide. The logic behind it is actually quite simple (pseudo-code FTW :D):

if(player.x-coord < bound) do_nothing;
else goto.nextStage;

What I'm trying to say is this: you need to surpass the bound-value by going to the right side. However, because the width of the background prevents you from advancing any further, you're not able to trespass x: 1000. Means: you won't be able to trigger the go-to-next-stage command.

bla.
Silverthorn / Blue Phoenix
~ Breaking LFE since 2008 ~

"Freeze, you're under vrest!" - Mark, probably.

» Gallery | » Sprites | » DeviantArt
Reply
Thanks given by: Daymio
#4
this i used to have problem with it but i know how it works now ..
try and make sure the bound is not larger or smaller than your background..and also try and make the last bound the same bound number as the background .....sorry if am wrong am doing this on an empty mine just try it and see if am right..
Naruto: Dawn Of Era...begins a new era [Image: ndoe.png]own....
Reply
Thanks given by:
#5
Never use bounds that are two long then ur BG. U can see width in BG's data. Like this

name: Lion_Forest
width: 3200 zboundary: 365 505

Width: 3200 never exceed it.


Another tip

Never use same bound twice like u use bound: 1000 and another bound: 1000 after it. It cause problems and u can't go to next stage.
[Image: illidansig1.png]
Reply
Thanks given by: Daymio
#6
It's not the original backgrounds... we tried to set the code: bound, I don't even remember how many times, and it always fail-_-
And I think that backgrounds in stage 3,4 & 5 are less than 1000 px wide.
But I added again in stage 3 the original background(Great Wall), and it don't works anywayx_x!
why is that?
Reply
Thanks given by:
#7
Dude if ur using custom bgs look at it's data

name: The_Great_Wall
width: 2400 width of great wall is 2400 that means no bound should be above this value. Like this look at ur bg data and change the bounds in the stage.
[Image: illidansig1.png]
Reply
Thanks given by: Lord Anu
#8
I did it!!! Finally!!!:D Thank you guys, especially to you WoodySmasher...
Now we can finish this game...:)
Reply
Thanks given by:
#9
OK glad to help u. Now this can go to the solve section. Click the solve button.
[Image: illidansig1.png]
Reply
Thanks given by: Drahcir




Users browsing this thread: 1 Guest(s)