04-01-2011, 12:14 PM | #1 |
adorable
Join Date: Sep 2007
Posts: 12,950
|
Adventure Game Studio Help
Anyone here use Adventure Game Studio? I'm messing with it, and I'm trying to make it so that the character faces towards the person they're talking to. I'm currently trying to do this with the following code:
Code:
if ((cZero.Speaking) && (cZero.x > 330)) { cZero.Frame = 0; } if ((cZero.Speaking) && (cZero.x < 330)) { cZero.Frame = 1; }
__________________
this post is about how to successfully H the Kimmy
|
04-01-2011, 12:52 PM | #2 | |
Blue Psychic, Programmer
Join Date: Feb 2007
Location: Home!
Posts: 8,814
|
I have it, but never used it much. Do you mean the main character? Pretty sure you have to use "ego" for that.
__________________
Quote:
Journal | Twitter | FF Wiki (Talk) | Projects | Site |
|
04-01-2011, 02:32 PM | #3 | |
So we are clear
|
Quote:
__________________
"don't hate me for being a heterosexual white guy disparaging slacktivism, hate me for all those murders I've done." |
|
04-01-2011, 07:42 PM | #4 | |
adorable
Join Date: Sep 2007
Posts: 12,950
|
Uh, nope. That's only if your main character is named Ego in the game maker, as it is in the tutorials, but is not required to be.
Quote:
__________________
this post is about how to successfully H the Kimmy
|
|
04-01-2011, 11:51 PM | #5 |
adorable
Join Date: Sep 2007
Posts: 12,950
|
Or I could not be an idiot, overcomplicating this, and just have the character walk to a certain part of the screen before talking to the other.
FUCKIN' DERP
__________________
this post is about how to successfully H the Kimmy
|
Thread Tools | |
Display Modes | |
|
|