GameMaker (2.0 - 2.2.x)
Icon

key_to_string Converter

m1s3ry

You must be logged in to obtain assets

Description

Hello!

This is a very small script yet very useful. Simply put, what it does is convert a key char into a string.

Let's say you're making remappeable controls for a game. You'll want the player to know what key they are putting, but when you put a control like "vk_left", it will return "27". Enter this script. With this, all you have to do is put key_to_string(vk_left) and it will return a simple, legible "Left Arrow".

This will save some small headaches and a little bit of time :)

If you like this, please support me with my other assets. Also, follow me on https://www.facebook.com/MadwolfStudiosGames/ for more little things (and not so little) like this one

Bye for now! <3

More info

End User Licence Agreement (EULA).

Age Rating: 4+

Version

GMS2 - Version 1.0.0. Published March 5, 2019

Loading, please wait

Package contents

Loading, please wait

What is the issue?

Loading, please wait