Jump to content

Compatibility question with Pixi particles plugin and Rpg maker MZ


nio_kasgami
 Share

Recommended Posts

I had an interest in using the PIXi particles plugins since well it's offers a built-in particles options.

 

Although I would like to know if PIXI would accepts the way rpg maker load sprites in generals. (It's load the texture through bitmaps which I think return a bitmaps.

 

so doing this

let textures = []
 for(let i = 0; i < img.lenght(); i++ {
 textures.push( ImageManager.loadTitles1(img[i]));
 }

var emitter = new PIXI.particles.Emitter(this /* the current scene */, textures , options etc);

this.addChild(emitter)

emitter.emit();


// then proceed to update etc

or it would just not works? 

 

I feel I would have to references the bitmap.texture?

 

thanks for any further answer

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...