🤑 Indie game store🙌 Free games😂 Fun games😨 Horror games
👷 Game development🎨 Assets📚 Comics
🎉 Sales🎁 Bundles


tiny computer for making, playing and sharing tiny games · By Nesbox

Compliments to the Creator

A topic by ZombieShock created Jan 28, 2017 Views: 249 Replies: 3
Viewing posts 1 to 4

I just wanted to say how much I love TIC, and appreciate the work you've put into it, I can see from other threads that your dedicated and I find it quite admirable.

While I have a topic open, I was a bit curious about how the btn command works, specifically which btn(#) pertains to which key.

(I am very new to LUA so I apologize if this is a constant within the language, Im still reading in on how the language works.)

I will be sure to try to contribute to the ever growing collection of TIC made games once I learn the language more, create, and then thoroughly test my current project.

Thank you in advance,

and again, really love what your acomplishing here.


So, TIC supports two gamepads each with 6 buttons:

0-up 1-down 2-left 3-right 4-a 5-b        first gamepad
8-up 9-down 10-left 11-right 12-a 13-b second gamepad

BTN(id) function returns true if button is pressed in current frame, BTNP(id) if pressed in current and wasn't pressed in previous frame.

Default keyboard mapping for player #1:ARROWS [a]-Z [b]-X (or <,>)

for player#2: RFDG [a]-A [b]-S

But there will be a configuration tool to remap keyboard buttons.

Thanks for the words of appreciation :)


Also there is KEY TEST PROJECT https://itch.io/t/57242/a-key-test-project made by @Rain_Effect

I appreciate the fast response, this was a huge help.