Pesquisar na Comunidade
Mostrando resultados para as tags ''linguagem de programação lua''.
Atualmente, o índice de pesquisa está sendo processado. Os resultados atuais podem não estar completos.
Encontrado 1 registro
-
PROJETO PACMAN - CRIADO 100% COM CHEAT ENGINE-LUA
CHEATSGAMESRL postou um tópico no fórum em Outras linguagens
JOGO: PAC-MAN LINGUAGEM USADA: LUA DOWNLOAD: MEGA [Hidden Content] VIRUSTOTALSCAN: [Hidden Content] [Hidden Content] [email protected] Essa é a primeira parte do projeto do jogo PAC-MAN UDF2.Show() --> (maior) ou < (menor) local pacman = UDF2.pacman pacman.top = 418 pacman.left = 141 local speed = 3 local paredeQtd = 42 local form = UDF2 for i = 1, paredeQtd do form["parede" .. i].visible = false end function mover() if isKeyPressed(VK_UP) then local colidiu = false for i = 1, paredeQtd do local parede = form["parede" .. i] if pacman.left + pacman.width - 2 >= parede.left and pacman.left + 2 <= parede.left + parede.width then if pacman.top - 1 <= parede.top + parede.height and pacman.top + 1 >= parede.top then pacman.top = parede.top + parede.height colidiu = true end end if colidiu then break end end if not colidiu then pacman.top = pacman.top - speed end elseif isKeyPressed(VK_DOWN) then local colidiu = false for i = 1, paredeQtd do local parede = form["parede" .. i] if pacman.left + pacman.width - 2 >= parede.left and pacman.left + 2 <= parede.left + parede.width then if pacman.top + pacman.height + 1 >= parede.top and pacman.top + pacman.height - 1 <= parede.top + parede.height then pacman.top = parede.top - pacman.height colidiu = true end end if colidiu then break end end if not colidiu then pacman.top = pacman.top + speed end end if isKeyPressed(VK_LEFT) then local colidiu = false for i = 1, paredeQtd do local parede = form["parede" .. i] if pacman.top + pacman.height - 2 >= parede.top and pacman.top + 2 <= parede.top + parede.height then if pacman.left - 1 <= parede.left + parede.width and pacman.left + 1 >= parede.left then pacman.left = parede.left + parede.width colidiu = true end end if colidiu then break end end if not colidiu then pacman.left = pacman.left - speed end elseif isKeyPressed(VK_RIGHT) then local colidiu = false for i = 1, paredeQtd do local parede = form["parede" .. i] if pacman.top + pacman.height - 2 >= parede.top and pacman.top + 2 <= parede.top + parede.height then if pacman.left + pacman.width + 1 >= parede.left and pacman.left + pacman.width - 1 <= parede.left + pacman.width then pacman.left = parede.left - pacman.width colidiu = true end end if colidiu then break end end if not colidiu then pacman.Left = pacman.Left + speed end end if pacman.left >= form.width - 2 then pacman.left = 0 - pacman.width + 2 end if pacman.left + pacman.width < 2 then pacman.left = form.width - 2 end end if t then t.destroy(); t=nil end t=createTimer() timer_setInterval(t, 10) timer_onTimer(t, function() local status , msg = pcall (mover) if status == false then print(err) if t then t.destroy(); t=nil end end end) function CEImage1MouseDown(sender, button, x, y) UDF2.dragNow() end function CETimer1Timer(sender) UDF2.FormStyle = "fsSystemStayOnTop" end- 1 resposta
-
- 14
-
-
-
-
- pacman
- cheat engine
- (e 2 mais)
