What's up guys
I made a video to explain how Lua works - in Persian
and this game is the result
only in 20min you can make a wonderful game
In Persian "khabis" means bad guy.
Khabis and mario try to get fruits and avoid bombs.
a simple senario and addictive game :)
In physics, a collision is any event in which two or more bodies exert forces on each other in a relatively short time.
function collision(a,b,x,y) if (a <= x and a+8 >=x or x <= a and x+8 >=a) and (b <= y and b+8 >=y or y <= b and y+8 >=b) then return true end return false end
Mario vs Khabis
This game is part of a tutorial
Github source code:
P#119095 2022-10-14 12:30 ( Edited 2022-10-26 10:20)
[Please log in to post a comment]