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 :)
Collision Detection
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:
https://github.com/peymanx/Mario-vs-Khabis
[8x8] | |
[8x8] | |
[Please log in to post a comment]