27) I'm following your tutorials thus so far. I just finished Tutorial 4_changingobjectstates.
I got everything to work just as you did, except for one thing. Getting separate animations to play for walking LEFT and RIGHT directions. I find the whole Manage Animations and Object Details sections very counter intuitive and confusing.
I understand that different walking directions need different animations, but in the way that it is done just confuses me big time.
For example, I made 3 animations,
1 walking left,
1 walking right,
1 idle
I made 3 different animations for these and named them in Manage Animations then I went to Object Details and under the Animations Tab there is a list of options. I find this to be logically flawed and here is my reasoning. It says that I have 3 animations types yet for each animation type I have options for Down, Down Right, Right, Up Right. So this doesn't make any sense to me. If I have an animation sequence that shows the player walking Right then it should only be 1 options for that.... and that is walking right. But it seems that I can have a walking animation that is for walking right, but assign that to BOTH walking Up, Down, Left and Right. Now I understand that maybe you want a game where there are only 2 states, 1 for moving and 1 for rest like in your example, but for most other games you don't want this.
But the whole thing is, is that Each animation has all of the directions associated with it and you can't just NULL something out, it has to be one of the animations. So if I have the walking right animation and I assign that to walking right then all of the other directions have other animations assigned to it.
It also seems to be a contradiction because I can select move right animation and all of my tabs can say move left and then I can select my move left animation and all of my tabs can be set to move left too. So then what happens when I move right and left then? It seems like things can be assigned too many ways.
Another thing. So I just created a animation that makes the player go up. I made the graphics, then went into Manage Animations and created named a Up animation, but then when I go to Object Details that Up animation is NOT there. So it is like you have to create or name the animations twice thus not making any sense to me.
In the Object Details window it is also called the Monster Animations Info. Having this named two different things is confusing. If I assign a state to an animation type and try and delete it, it says that I can't delete it. Well what if I need to delete it?
I used different action steps for idle, walking right and walking left. I gave them state 0, 1 and 2. And did the whole scripts and button inputs too. The character moves left and right but NEVER shows the specific left and right animations that I created. Maybe I'm not understanding something here, but I tried everything.
Also the bounding box confuses me. Do I need to set up a different bounding box for each different type of animation?
Also in the object details in the actions tab there is a action drop down which has "move 8 directions". Can I just use this instead of making this all happen manually?
I tried to write scripts to allow up and down movement. I took the code and replaced the X's with Y's and gave them a different RAM address or object state and it had problems compiling the code.
So apparently this code isn't allowed??
LDY player1_object
INC Object_y_hi,y
ChangeObjectState #$03
RTS
I got everything to work just as you did, except for one thing. Getting separate animations to play for walking LEFT and RIGHT directions. I find the whole Manage Animations and Object Details sections very counter intuitive and confusing.
I understand that different walking directions need different animations, but in the way that it is done just confuses me big time.
For example, I made 3 animations,
1 walking left,
1 walking right,
1 idle
I made 3 different animations for these and named them in Manage Animations then I went to Object Details and under the Animations Tab there is a list of options. I find this to be logically flawed and here is my reasoning. It says that I have 3 animations types yet for each animation type I have options for Down, Down Right, Right, Up Right. So this doesn't make any sense to me. If I have an animation sequence that shows the player walking Right then it should only be 1 options for that.... and that is walking right. But it seems that I can have a walking animation that is for walking right, but assign that to BOTH walking Up, Down, Left and Right. Now I understand that maybe you want a game where there are only 2 states, 1 for moving and 1 for rest like in your example, but for most other games you don't want this.
But the whole thing is, is that Each animation has all of the directions associated with it and you can't just NULL something out, it has to be one of the animations. So if I have the walking right animation and I assign that to walking right then all of the other directions have other animations assigned to it.
It also seems to be a contradiction because I can select move right animation and all of my tabs can say move left and then I can select my move left animation and all of my tabs can be set to move left too. So then what happens when I move right and left then? It seems like things can be assigned too many ways.
Another thing. So I just created a animation that makes the player go up. I made the graphics, then went into Manage Animations and created named a Up animation, but then when I go to Object Details that Up animation is NOT there. So it is like you have to create or name the animations twice thus not making any sense to me.
In the Object Details window it is also called the Monster Animations Info. Having this named two different things is confusing. If I assign a state to an animation type and try and delete it, it says that I can't delete it. Well what if I need to delete it?
I used different action steps for idle, walking right and walking left. I gave them state 0, 1 and 2. And did the whole scripts and button inputs too. The character moves left and right but NEVER shows the specific left and right animations that I created. Maybe I'm not understanding something here, but I tried everything.
Also the bounding box confuses me. Do I need to set up a different bounding box for each different type of animation?
Also in the object details in the actions tab there is a action drop down which has "move 8 directions". Can I just use this instead of making this all happen manually?
I tried to write scripts to allow up and down movement. I took the code and replaced the X's with Y's and gave them a different RAM address or object state and it had problems compiling the code.
So apparently this code isn't allowed??
LDY player1_object
INC Object_y_hi,y
ChangeObjectState #$03
RTS