- Nov 4, 2017
- 570
- 834
I tried to send you a PM, but seems you deactivated it, so I post it here anyway.
First: Looks like I can't save my alterations and send to you because my RPG Maker is lacking something, I think it's the dll of increased resolution thing, on mine last time I tried, it caused a severe fps loss ingame and I ended up not using it. Because of that there will be things I can't show you ingame, but rather have to describe.
Second: I am not sure, but I'll assume the resolution you are using is 800/600, that is the resulution of Nicci's pictures in question. You must understand two things when showing pictures. First where is the point the game is holding the picture when it moves or show the picture, and those are the Center or the Superior Left Corner. You select this in the "show image" or "move image" window. Looking at your code, I saw sometimes you hold by one and sometimes by the other, that's why the thing is going up. That point the game is holding is the point it will align with the point you specify in position X (horizontal) and Y(vertical)(both are mesured in pixels). which means, if you select the center and have X and Y = 0, the game will get the center point of the image and show it at the superior left corner of the screen (point X and Y = 0), hiding 3/4 of image outside the screen.
Third. You don't need many images to show simple movement. You can use the "move image" command. Show the image initial point, and ask the game to move it to the end point. I have edited "nicci_bounce_1_1" image to remove the transparency at the sides, but I left the transparency above the head, so I know the height of the image is the same height of the game. Now show the image at the posion you want. Let's say half the screen. I know the image have 600 height, so, I leave the Y = 0 and select the "Superior left corner" option. I also know that half of the width of the screen is 400 (since the total is 800), but nicci will be picked by the superior left corner, not the center, so I can't simple put 400 in X. Looking at her picture now, I see she have 203 width, so I get half of this, 101 and subtract from the half of the screen, so in X (400 - 101 = 299). I put 299. Since I want this to be smooth, I will set her oppacity to 0. Then I select "Move image", set the same values, including the holding point but set the oppacity to 255 (full oppacity) and the time to 60 frames (1 second). Now since I want the image to move left, I will use the "Move image" command again, this time setting the end point in the XY section (the coordinates of the move command are from the end point you want the image to be). Let's say between the corner of the screen and nicci's first pixel I want a small distance, like 90 pixels. so I set X to 90 and leave Y to 0, remembering that the drag point is (origin, I think it's wrote like that) to superior left, opacity 255, and ajust the time that I want, let's say a second (60 frames). Now the image will show at the center and move left without that drag effect. Now at the end of the movement, let's make the bouncing animation. simple use the "show image" command to show the nicci_bounce_1_8 (also removing the transparency at the sides, but leaving the transparency above the head to keep the height) at the same image slot (slot 80 in your code) and position you did with the other picture (not the center of the screen, but the position she is now, from the last move command, X = 90 Y = 0), the game will simply replace one image with the other. Also use the the SE when the image change. Now set a "wait command" for the frames you want this image to stay, and use another "show image" command to show nicci_bounce_1_1 again, same values as last time. To make it vanish, simply move the image to the same point (X - 90 Y - 0) with oppacity 0 in the time you want (60 frames for example) and erase the image at the end with the "Erase image" command. Remember that "wait finish" option must checked or things would happen simultaneously and not one after other as we want it for this case.
Fourth: I wouldn't use this animation like that since it makes no sence. What about make the come from the inferior left corner of the screen? it's more simple and might work well. Simple show the image as I said in the X = -90 (I'm guessing the values, I can't test it here) and Y = 150 and oppacity = 0 and move it to the end point X = 90 Y = 0 oppacity 255 in a single movement, just insert those values in the move command and the RPG Maker will make it happen, for the animation you do the same replacing teh image in teh same place. The vanishing could be returning to the begining point, simple move the image to the X = -90 and Y = 150 oppacity 0 in the time you want and erase it later.
This file whose link I'm sending is the the demo of some scripts of Atelier RGSS website, they have a good way to show images of a conversation. In that there is a conversation example that can be done without scripts, similar to what I explained, but with two portraits. Take a look at the demo and get any script you think it could be good for your game, it is free.
Here is the link for the demo
Here is the link for the website of them
I hope you understood how show image and move image works here, so you can have your own ways to deal with it. I'm sorry if I was too harsh, but good things require work and effort, and I didn'r see much here. If you have doubts about functions ask me, I am making a game too. I also could recommend some good scripts for you to use. Like yanfly message system which has a namebox. anyway, this is too long already. Good luck.
First: Looks like I can't save my alterations and send to you because my RPG Maker is lacking something, I think it's the dll of increased resolution thing, on mine last time I tried, it caused a severe fps loss ingame and I ended up not using it. Because of that there will be things I can't show you ingame, but rather have to describe.
Second: I am not sure, but I'll assume the resolution you are using is 800/600, that is the resulution of Nicci's pictures in question. You must understand two things when showing pictures. First where is the point the game is holding the picture when it moves or show the picture, and those are the Center or the Superior Left Corner. You select this in the "show image" or "move image" window. Looking at your code, I saw sometimes you hold by one and sometimes by the other, that's why the thing is going up. That point the game is holding is the point it will align with the point you specify in position X (horizontal) and Y(vertical)(both are mesured in pixels). which means, if you select the center and have X and Y = 0, the game will get the center point of the image and show it at the superior left corner of the screen (point X and Y = 0), hiding 3/4 of image outside the screen.
Third. You don't need many images to show simple movement. You can use the "move image" command. Show the image initial point, and ask the game to move it to the end point. I have edited "nicci_bounce_1_1" image to remove the transparency at the sides, but I left the transparency above the head, so I know the height of the image is the same height of the game. Now show the image at the posion you want. Let's say half the screen. I know the image have 600 height, so, I leave the Y = 0 and select the "Superior left corner" option. I also know that half of the width of the screen is 400 (since the total is 800), but nicci will be picked by the superior left corner, not the center, so I can't simple put 400 in X. Looking at her picture now, I see she have 203 width, so I get half of this, 101 and subtract from the half of the screen, so in X (400 - 101 = 299). I put 299. Since I want this to be smooth, I will set her oppacity to 0. Then I select "Move image", set the same values, including the holding point but set the oppacity to 255 (full oppacity) and the time to 60 frames (1 second). Now since I want the image to move left, I will use the "Move image" command again, this time setting the end point in the XY section (the coordinates of the move command are from the end point you want the image to be). Let's say between the corner of the screen and nicci's first pixel I want a small distance, like 90 pixels. so I set X to 90 and leave Y to 0, remembering that the drag point is (origin, I think it's wrote like that) to superior left, opacity 255, and ajust the time that I want, let's say a second (60 frames). Now the image will show at the center and move left without that drag effect. Now at the end of the movement, let's make the bouncing animation. simple use the "show image" command to show the nicci_bounce_1_8 (also removing the transparency at the sides, but leaving the transparency above the head to keep the height) at the same image slot (slot 80 in your code) and position you did with the other picture (not the center of the screen, but the position she is now, from the last move command, X = 90 Y = 0), the game will simply replace one image with the other. Also use the the SE when the image change. Now set a "wait command" for the frames you want this image to stay, and use another "show image" command to show nicci_bounce_1_1 again, same values as last time. To make it vanish, simply move the image to the same point (X - 90 Y - 0) with oppacity 0 in the time you want (60 frames for example) and erase the image at the end with the "Erase image" command. Remember that "wait finish" option must checked or things would happen simultaneously and not one after other as we want it for this case.
Fourth: I wouldn't use this animation like that since it makes no sence. What about make the come from the inferior left corner of the screen? it's more simple and might work well. Simple show the image as I said in the X = -90 (I'm guessing the values, I can't test it here) and Y = 150 and oppacity = 0 and move it to the end point X = 90 Y = 0 oppacity 255 in a single movement, just insert those values in the move command and the RPG Maker will make it happen, for the animation you do the same replacing teh image in teh same place. The vanishing could be returning to the begining point, simple move the image to the X = -90 and Y = 150 oppacity 0 in the time you want and erase it later.
This file whose link I'm sending is the the demo of some scripts of Atelier RGSS website, they have a good way to show images of a conversation. In that there is a conversation example that can be done without scripts, similar to what I explained, but with two portraits. Take a look at the demo and get any script you think it could be good for your game, it is free.
Here is the link for the demo
You must be registered to see the links
Here is the link for the website of them
You must be registered to see the links
where you can find more scripts. I hope you understood how show image and move image works here, so you can have your own ways to deal with it. I'm sorry if I was too harsh, but good things require work and effort, and I didn'r see much here. If you have doubts about functions ask me, I am making a game too. I also could recommend some good scripts for you to use. Like yanfly message system which has a namebox. anyway, this is too long already. Good luck.