I'm new here to the forum, so if I do anything wrong, just tell me :).
I want to make a simple game, and for that i need a piece of code that checks if 2 buttons are pressed, like the Up-button and the X-button.
Would this code do:
Code: Select all
if pad:cross() and pad:up() then screen:print(100, 250, "Blablabliboe", blue) screen.flip() end
I'm just a beginner (a bit better then newbie :p), so I don't know how to use If-statements that wel.
So, if anybody knows how i should do this, please tell me :).
Thanks in advance, MacorgaZ.