Jump to a question:
In the code editor, write:
function _init()
text = "Hello World"
x = 20
y = 20
color = 10
end
function _draw()
log("Hello World", x,y,color)
end
This should print "Hello World" to the screen when you hit run.
Another great way to get started is to import an existing project from the explorer- these are little demos to show how it all works. If you make a cool project, send it to me and I'll upload it for everyone to see!
Yeah you probably have a bug.
You can debug in Handsome Console really easily by using hlog("Some text")
If hlog, doesn't print anything, your bug is somewhere before hlog gets called! Just put a few of them in your code and see which ones get called and you should be able to see your error pretty quickly.
Handsome Console is admittedly a little unforgiving when it comes to typos, if enough people express interest in the project I'll put in a syntax checker!
Email me if anything sucks to use, I will fix it but I can't fix it if I don't know there's a problem! Don't be shy, I'm friendly and love user feedback.
You need to implement the _update() callback. The standard for down, up, left, right is this:
function _init()
x = 0
y = 0
color = 1
end
function _update()
-- down
if (btn_d) then
y = y + 1
end
-- up
if (btn_u) then
y = y - 1
end
-- left
if (btn_l) then
x = x - 1
end
-- down
if (btn_r) then
x = x + 1
end
-- "A" button
if (btn_a) then
hlog("A pressed yo")
color = color + 1
end
-- "B" button
if (btn_b) then
hlog("B pressed yo")
color = color - 1
end
end
function _draw()
-- Clear screen first!
cls()
-- Fill a 10x10 square with top left corner
-- at position (x,y) using the color variable
-- as the color
rectfill(x, y ,x + 10 y + 10, color)
end
You caught me, I'm actually an idiot and don't know how to implement that using the Lua Virtual Machine I'm using (Kahlua2 by Krka, awesome job mate, couldn't have done it without you https://github.com/krka/kahlua2)
Just use y = y + 1 and y = y - 1 like a caveman okay?
Last updated: 27/01/2026
This Privacy Policy explains how we collect, use, and protect information when you use our app, including the feature that allows users to share projects with others.
When you use our app, we may collect the following information:
Email Address
If you choose to email a project to us, we collect your email address so we can receive the project and communicate with you if necessary.
User-Created Project Data
This includes the content, files, or data that you voluntarily submit when you email a project created using the app.
We do not collect personal information unless you voluntarily provide it.
We use the information you provide for the following purposes:
To receive and review projects submitted by users
To make submitted projects available for download by other users within the app (if approved)
To contact you regarding your submitted project, if necessary
To maintain and improve the app
We do not use your email address or project data for advertising or marketing purposes.
Submitted projects may be shared with other users only within the app.
Your email address is not shared with other users.
We do not sell, rent, or trade your personal information to third parties.
We may disclose information if required by law or to protect our legal rights.
Submitting a project via email is entirely optional. By emailing a project to us, you consent to:
Our receiving and storing the project
Making the project available to other users in the app
If you later wish to have your project removed, you may contact us using the email address below.
We take reasonable steps to protect the information you submit. However, no method of electronic storage or transmission over the internet is 100% secure, and we cannot guarantee absolute security.
We retain submitted projects only for as long as they are needed to provide app functionality or until removal is requested.
Our app is not intended for children under the age of 13, and we do not knowingly collect personal information from children.
We may update this Privacy Policy from time to time. Any changes will be posted within the app or on our website, and the “Last updated” date will be revised accordingly.
If you have any questions about this Privacy Policy or wish to request removal of your project, you may contact us at:
Email: info@audimancy.com
App Name: Handsome Console