Search found 5 matches
- Sun Sep 13, 2020 11:09 pm
- Forum: Support and Development
- Topic: Error main.lua:156: attempt to call field 'setBackroundColor' (a nil value)
- Replies: 2
- Views: 4435
Re: Error main.lua:156: attempt to call field 'setBackroundColor' (a nil value)
here are the assets, but i cant add another png to this reply
- Sun Sep 13, 2020 9:20 pm
- Forum: Support and Development
- Topic: Error main.lua:156: attempt to call field 'setBackroundColor' (a nil value)
- Replies: 2
- Views: 4435
Error main.lua:156: attempt to call field 'setBackroundColor' (a nil value)
I am having trouble implementing the background color into my game. Also, how do I switch the background of my pngs to the background I want? Here is my code.
- Wed Sep 02, 2020 2:35 am
- Forum: Support and Development
- Topic: How do i make the player shoot a gun and kill a zombie
- Replies: 1
- Views: 3491
How do i make the player shoot a gun and kill a zombie
I have been stuck on this for a while. How do i get the player to shoot a gun which fires a bullet to touch the zombie? This is my code so far. Help would be very much appreciated.
- Mon Aug 31, 2020 6:48 pm
- Forum: Support and Development
- Topic: Error main.lua:52: attempt to get length of global 'zombies' (a nil value)
- Replies: 2
- Views: 4024
Re: Error main.lua:52: attempt to get length of global 'zombies' (a nil value)
Yes thankk you very much @MrFariator. The reason i had zombies and zombie is because i needed to spawn in other "zombies" so now if i take away all the s from zombies i wouldnt get any to spawn. I don't know how to add zombies to my game i have the images and sounds. Im a beginner and do y...
- Mon Aug 31, 2020 2:57 pm
- Forum: Support and Development
- Topic: Error main.lua:52: attempt to get length of global 'zombies' (a nil value)
- Replies: 2
- Views: 4024
Error main.lua:52: attempt to get length of global 'zombies' (a nil value)
Hi so I have had problems making this zombie game and I have a particular error which is the title of this comment you could call it. I have been stuck for a long time and I was wondering if anyone could solve the mistake I will drop both of the files in here. they are both .lua I just compressed th...