Submit Your Article


 
RPG Maker

Welcome Guest ( Log In | Register )


  Games Resources RPG Maker VX RPG Maker XP Scripts Tutorials Downloads

 
Reply to this topicStart new topic
> stand still and walking, a walking/stand still sprite change problem
mavsith
post Sep 7 2012, 12:44 PM
Post #1


Level 2
Group Icon

Group: Member
Posts: 19
Type: None
RM Skill: Advanced




Hi people,

I think I have another difficult problem. I'm wondering if anyone knows how to fix this.
The problem is:
In a charset rpg maker 2003 only handles 3 posses of the character but sometimes the "stand still" pose combined when
walking with the charcater (hero) can look very stupid like the character is limping or whatever.

So the question is:
Is there a way that when you press one of directional keys you can change your character sprite with a better walking sprite and when the
key is "unpressed" the character sprite changes back to a standing stiil sprite. It's obvious you'll need 2 character sprites.

It's a little bit difficult to explain but if someone follows me do you know a way to fix this?
Looking forward for any comments.

Thanks in advance!
Go to the top of the page
 
+Quote Post
   
Shaddow
post Sep 7 2012, 01:02 PM
Post #2


The Eventer Inventor
Group Icon

Group: Local Mod
Posts: 1,250
Type: Event Designer
RM Skill: Masterful
Rev Points: 90




This is all hypothetical as I'm not too familiar with 2k3, but it seems you could set a common event that is triggered by pressing a certain key, which would allow it to swap out your character graphic. Simply set up a conditional branch for each direction, then on the 'else' have it swap back to it's normal sprite. I'd provide more details, but as I said, I'm unfamiliar with how eventing works in 2k3


__________________________




I support these projects! -------------





Go to the top of the page
 
+Quote Post
   
mavsith
post Sep 7 2012, 01:35 PM
Post #3


Level 2
Group Icon

Group: Member
Posts: 19
Type: None
RM Skill: Advanced




QUOTE (Shaddowval @ Sep 7 2012, 02:02 PM) *
This is all hypothetical as I'm not too familiar with 2k3, but it seems you could set a common event that is triggered by pressing a certain key, which would allow it to swap out your character graphic. Simply set up a conditional branch for each direction, then on the 'else' have it swap back to it's normal sprite. I'd provide more details, but as I said, I'm unfamiliar with how eventing works in 2k3


Thanks for your reply. Your option works but it seems that when your walking the event triggers so fast that the character rapidly changes from sprite now and then. It still needs some sort of "wait" option or something.

But we're a lot closer in finding the solution. Thanks.
Go to the top of the page
 
+Quote Post
   
Shaddow
post Sep 7 2012, 02:29 PM
Post #4


The Eventer Inventor
Group Icon

Group: Local Mod
Posts: 1,250
Type: Event Designer
RM Skill: Masterful
Rev Points: 90




There should be a wait option under events, each 1 wait is 1/60 of a second, so 60 wait is 1 second...I believe it's still that way it works in 2k3.


__________________________




I support these projects! -------------





Go to the top of the page
 
+Quote Post
   
Zinx10
post Sep 8 2012, 03:18 PM
Post #5


Master of Darkness
Group Icon

Group: Revolutionary
Posts: 1,194
Type: Developer
RM Skill: Advanced
Rev Points: 5




There are more ways to do this rather than charsets. You could also do pictures. I did this in a Sonic platformer. The only problem I found is that when the screen stops scrolling (hit the map edge), the picture lags according to your movement speed. I put part of the common event into a picture. It is a parallel process common event and the variables are:
Var 2 = Hero X
Var 3 = Hero Y

Part of the event (1 animation frame):


This post has been edited by Zinx_therpgmaker: Sep 8 2012, 03:19 PM


__________________________
My Games
Phelxyre: Time Unbound (Current Project)
Game Thread
A game where you start in the future, but you go to the past, to make things right, hopefully.

The Hidden World
Game Thread
An Arcade-style game where you must go through various puzzles to see if you go home.

Here are all the things I Support (They Include Links!)




Go to the top of the page
 
+Quote Post
   
Rukiri
post Sep 9 2012, 09:59 AM
Post #6


emerge -avt awesome! Wait... it brings me.... HERE?!
Group Icon

Group: Revolutionary
Posts: 1,723
Type: Scripter
RM Skill: Advanced




Here's a simple method, use labels.

Setup 2 labels, if no key is pressed set label to standing, if a key is pressed set it to walking.
You could also throw in running if you have a double tap or a key for extra functionality.


__________________________
Xeilsoft
- Follow your dreams to the very end..

Kits that I'm working on.
[Unity3D 4.0] LTTP/Minish Cap - I don't have time for custom gfx like what the pze folks are doing but I will try and work on some enhanced LTTP graphics.

Main PC
Core i7 3820 overclocked @ 4.8GHZ
Galaxy: Nvidia Geforce GTX 680 GDDR5 2GB
Asrock X79 Extreme9 w' creative sound
64GB corsair platinum @ 1600MHZ
Muchkin 128GB SSD(boot), OZKIN 2TB SSD, Western Digital GREEN 1TB HDD.
Rosewill Lightning 1000W PSU
OS: Funtoo Linux, Windows 8 (Virtual Machine)

iMac (March 2013)
3.4GHz Quad-core Intel Core i7, Turbo Boost up to 3.9GHz
16GB 1600MHz DDR3 SDRAM - 2X8GB
1TB Serial ATA Drive @ 7200 rpm
NVIDIA GeForce GTX 680MX 2GB GDDR5
Go to the top of the page
 
+Quote Post
   
mavsith
post Sep 9 2012, 12:53 PM
Post #7


Level 2
Group Icon

Group: Member
Posts: 19
Type: None
RM Skill: Advanced




QUOTE (Zinx_therpgmaker @ Sep 8 2012, 03:18 PM) *
There are more ways to do this rather than charsets. You could also do pictures. I did this in a Sonic platformer. The only problem I found is that when the screen stops scrolling (hit the map edge), the picture lags according to your movement speed. I put part of the common event into a picture. It is a parallel process common event and the variables are:
Var 2 = Hero X
Var 3 = Hero Y

Part of the event (1 animation frame):

Thanks. I'll take a look at it.

QUOTE (Rukiri @ Sep 9 2012, 09:59 AM) *
Here's a simple method, use labels.

Setup 2 labels, if no key is pressed set label to standing, if a key is pressed set it to walking.
You could also throw in running if you have a double tap or a key for extra functionality.


Thanks.
I've never used labels before. But I'll give it a try.
Go to the top of the page
 
+Quote Post
   
Zinx10
post Sep 14 2012, 03:08 AM
Post #8


Master of Darkness
Group Icon

Group: Revolutionary
Posts: 1,194
Type: Developer
RM Skill: Advanced
Rev Points: 5




Within the picture I posted, I use labels in it. Basically a label is like a "page." Whenever you have a "jump to label" command with the value equal to the label value, it goes to that "page" and executes that "page's" code.

This post has been edited by Zinx_therpgmaker: Sep 14 2012, 03:10 AM


__________________________
My Games
Phelxyre: Time Unbound (Current Project)
Game Thread
A game where you start in the future, but you go to the past, to make things right, hopefully.

The Hidden World
Game Thread
An Arcade-style game where you must go through various puzzles to see if you go home.

Here are all the things I Support (They Include Links!)




Go to the top of the page
 
+Quote Post
   

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 22nd May 2013 - 11:53 PM
RPG RPG Revolution is an Privacy Policy and Legal
eXTReMe Tracker