Jump to content
Due to a recent security issue, we are now mandating Security Questions on all accounts until further notice. In addition to this, we urge everyone to change your passwords as soon as possible. ×
  • 0

About explod code


Risotto

Question

Hello people, this time I try to correctly position a pic for my B.I.G victory animation => in this animation he walk out the screen then a big pic of him appear on the opposite high corner of the screen (to surprise the player as if B.I.G has jumped on the screen), so my point is : the image position, I want it to position itself at the exact opposite top hand corner of the screen B.I.G depart too, however after many try the image (coded as an explod) dont position itself correctly as you can see on this pic : 

 

475775bigbug.png

 

In this case it should position at the top left hand corner of the screen however it is not the case and the image appears misplaced all the time in many stages so how can i manage to force it to appear exactly at the top hand corner of the screen ? 

 

Here the code I using : 

 

[state 183, 7]

type = Explod

trigger1 = Anim=182 && AnimElem=16

Anim = 186

id = 186

pos = 0,0

sprpriority = 100

 

Any help/advice would be greatly appreciated.

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

Explod has a postype parameter that you can set. Setting it as "back" will set it relative to the back edge of the screen. Setting it as "left" will position it on the left side of the screen. After setting the proper postype, you can mess with the position to get it how you want.

Check the docs: http://elecbyte.com/mugendocs/sctrls.html#explod

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...