games50 / pong

Atari's 1972 classic, implemented in Lua with LÖVE
843 stars 1.12k forks source link

pong1 #37

Open Abhiab3012 opened 4 years ago

Abhiab3012 commented 4 years ago

i have been facing the problem . how to get push library functions

Error

main.lua:2: module 'push' not found: no field package.preload['push'] no 'push' in LOVE game directories. no file 'push' in LOVE paths. no file '.\push.lua' no file 'C:\Program Files\LOVE\lua\push.lua' no file 'C:\Program Files\LOVE\lua\push\init.lua' no file 'C:\Program Files (x86)\Lua\5.1\lua\push.luac' no file '.\push.dll' no file 'C:\Program Files\LOVE\push.dll' no file 'C:\Program Files\LOVE\loadall.dll'

Traceback

[C]: in function 'require' main.lua:2: in main chunk [C]: in function 'require' [C]: in function 'xpcall' [C]: in function 'xpcall'

Screenshot (22)

help me out

rinklea commented 4 years ago

Create the push.lua file in the same folder as main.lua.The push source code is already uploaded so copy that.

mdnzn04 commented 3 years ago

I am facing this problem

Error

boot.lua:575: No code to run Your game might be packaged incorrectly. Make sure main.lua is at the top level of the zip.

Traceback

[C]: in function 'error' [C]: in function 'xpcall' [C]: in function 'xpcall'

seifAlbaghdady commented 2 years ago

I am facing this problem if anyone can help me

Error

Syntax error: push.lua:1: '=' expected near 'to'

Traceback

[love "callbacks.lua"]:228: in function 'handler' [C]: at 0x7ffeb74d31d0 [C]: in function 'require' main.lua:1: in main chunk [C]: in function 'require' [C]: in function 'xpcall' [C]: in function 'xpcall'