예제 #1
0
u8 JGE::GetAnalogY()
{
	if (JGEGetKeyState(VK_UP)) return 0;
	if (JGEGetKeyState(VK_DOWN)) return 0xff;

	return 0x80;
}
예제 #2
0
u8 JGE::GetAnalogY()
{
	if (JGEGetKeyState('W')) return 0;
	if (JGEGetKeyState('S')) return 0xff;

	return 0x80;
}
예제 #3
0
u8 JGE::GetAnalogX()
{
	if (JGEGetKeyState(VK_LEFT)) return 0;
	if (JGEGetKeyState(VK_RIGHT)) return 0xff;

	return 0x80;
}
예제 #4
0
u8 JGE::GetAnalogX()
{
	if (JGEGetKeyState('A')) return 0;
	if (JGEGetKeyState('D')) return 0xff;

	return 0x80;
}