Kasper Andersson Brandt


Game Programmer

GitHub LinkedIn CV


The Legend of Yuki


Action-adventure
4th project at The Game Assembly
TGA2D | C++


Download for Windows

Main Contributions



Player



Misc

switch (aMessage)
{
case MessageType::Up:
case MessageType::Left:
	if (myInputTimer > 0.0f)
	{
		break;
	}
case MessageType::UpOnce:
case MessageType::LeftOnce:
	myInputTimer = myInputDelay;
	//switch highlighted button
	break;
case MessageType::Down:
case MessageType::Right:
	if (myInputTimer > 0.0f)
	{
		break;
	}
case MessageType::DownOnce:
case MessageType::RightOnce:
	myInputTimer = myInputDelay;
	//switch highlighted button
	break;
case MessageType::Confirm:
	//activate highlighted button
	break;
default: break;
}