Solved Are there Disavantages for using Drawmethod Remap _ ?

Question that is answered or resolved.

Bruce

Active member
Hello everyone,

First of all, I know how this drawmethod remap function works, but I just wanted to make sure it is not causing any problems later on.
It comes to the situation where I need to use this method because I am capturing the frames from another game

If I use this code below very often in the game, will there be any performance or memory issue?

Code:
anim    freespecial6
    hitflash    flash
    hitfx    data/sounds/beat.wav
    fastattack    1
    attackone    0
    offset    589 938
    drawmethod remap 6
    delay     3
    frame    data/chars/Dante/shoot01.png
    frame    data/chars/Dante/shoot02.png
    frame    data/chars/Dante/shoot03.png
    frame    data/chars/Dante/shoot04.png
    frame    data/chars/Dante/shoot05.png
    frame    data/chars/Dante/shoot06.png
   @cmd projectile 1 "ShootFX" 0 0 0
    frame    data/chars/Dante/shoot07.png
    frame    data/chars/Dante/shoot08.png
    frame    data/chars/Dante/shoot09.png
    delay     5
    drawmethod remap -1 
    frame    data/chars/Dante/idle01.png

Basically, I change to palette 6 whenever I am using the shoot skill.
After it is done, I switch it back to the selected color.

Thank you so much for your help.
 
Solution
Hello everyone,

First of all, I know how this drawmethod remap function works, but I just wanted to make sure it is not causing any problems later on.
It comes to the situation where I need to use this method because I am capturing the frames from another game

If I use this code below very often in the game, will there be any performance or memory issue?

Code:
anim    freespecial6
    hitflash    flash
    hitfx    data/sounds/beat.wav
    fastattack    1
    attackone    0
    offset    589 938
    drawmethod remap 6
    delay     3
    frame    data/chars/Dante/shoot01.png
    frame    data/chars/Dante/shoot02.png
    frame    data/chars/Dante/shoot03.png
    frame    data/chars/Dante/shoot04.png
    frame...
Hello everyone,

First of all, I know how this drawmethod remap function works, but I just wanted to make sure it is not causing any problems later on.
It comes to the situation where I need to use this method because I am capturing the frames from another game

If I use this code below very often in the game, will there be any performance or memory issue?

Code:
anim    freespecial6
    hitflash    flash
    hitfx    data/sounds/beat.wav
    fastattack    1
    attackone    0
    offset    589 938
    drawmethod remap 6
    delay     3
    frame    data/chars/Dante/shoot01.png
    frame    data/chars/Dante/shoot02.png
    frame    data/chars/Dante/shoot03.png
    frame    data/chars/Dante/shoot04.png
    frame    data/chars/Dante/shoot05.png
    frame    data/chars/Dante/shoot06.png
   @cmd projectile 1 "ShootFX" 0 0 0
    frame    data/chars/Dante/shoot07.png
    frame    data/chars/Dante/shoot08.png
    frame    data/chars/Dante/shoot09.png
    delay     5
    drawmethod remap -1
    frame    data/chars/Dante/idle01.png

Basically, I change to palette 6 whenever I am using the shoot skill.
After it is done, I switch it back to the selected color.

Thank you so much for your help.

As long as you plan around it, there's no issue at all. All the drawmethod is really doing is instructing OpenBOR to use the fifth palette from the entity model's palette list, then the -1 tells it to go back to whatever palette it would have used.

DC
 
Solution
Back
Top Bottom