Fireball Producer for Metrovania 4.5.9.

tbizzle

Well-known member
I miss having these little boogers at my disposal. Joe talks about in the Platformula tutorial at the 1:20:10 mark. Would be cool to get it in the Metrovania 4.5.9. module.
 

Jonny

Well-known member
Spawning object settings...

fireball settings (1).gif

'Fireball Repeater' AI action...

Code:
    TXA
    STA tempx
    LDA Object_x_hi,x
    STA temp
    LDA Object_y_hi,x
    STA temp1

    CreateObject temp, temp1, #53, #$00
 
    LDA #$00
    SEC
    SBC #$09
    STA Object_v_speed_hi,x
    LDA #$00
    SEC
    SBC #$50
    STA Object_v_speed_lo,x
    LDX tempx
 
    RTS

Note: This does not destroy the fireball. I just have mine set so it drops off the screen and is destroyed that way.

You'll want to change the object (#53) here and set the Object_v_speed to what you want and the timing in monster setup.

fireball settings (2).gif
 
Last edited:

tbizzle

Well-known member
@Jonny "Spawning Object Settings", is that for a "Game Object" or an actual "Monster" that you made? If it is a Game Object, which slot do you use? What does "object (#53) stand for?
 

Jonny

Well-known member
For the CreateObject macro the arguments are x position, y position, the object you want to create, and the last one is the objects starting action step. In this example 53 is my fireball object. Your will be different. The object that's actually running the code as its AI action is invisible. It's just there to keep 'making' the fireball.
 
Top Bottom