Search found 6 matches

by subtledemise
Fri Dec 13, 2013 4:43 pm
Forum: Support and Development
Topic: Syntax error in my tables
Replies: 5
Views: 1636

Re: Syntax error in my tables

Sorry to double post, but I have a new issue and don't want to make another thread for something that's also quite simple to solve that I'm just missing, but now I get an error saying
main.lua:36: attempt to index field 'slime' (a boolean value)
by subtledemise
Fri Dec 13, 2013 4:26 pm
Forum: Support and Development
Topic: Syntax error in my tables
Replies: 5
Views: 1636

Re: Syntax error in my tables

Of course, I always miss the simplest things. Thanks so much! :)
by subtledemise
Fri Dec 13, 2013 4:16 pm
Forum: Support and Development
Topic: Syntax error in my tables
Replies: 5
Views: 1636

Syntax error in my tables

On one of my tables, I get a syntax error when I try to test run my game. The error is as follows: https://love2d.org/imgmirrur/95hL8sZ.png The table in question looks like this: enemies = { bat = require "enemy/bat" bigworm = require "enemy/bigworm" eyeball = require "enemy...
by subtledemise
Tue Dec 10, 2013 5:16 pm
Forum: Support and Development
Topic: Need help with anim8
Replies: 5
Views: 2833

Re: Need help with anim8

Thanks for the help. I realized most of my mistakes laying in bed last night. I was taking something simple and making it overly complicated. I was thinking of each frame as individually numbered entities, like the top left as 1, and the row below as 10 -18 and so on. Anyway, thanks for the hints on...
by subtledemise
Tue Dec 10, 2013 9:16 am
Forum: Support and Development
Topic: Need help with anim8
Replies: 5
Views: 2833

Re: Need help with anim8

Ok I fixed up the code a lot. I was using some outdated tutorials. I'm now having a problem with my grids I think: Error anim8.lua:35: There is no frame for x=20,y=3 local anim8 = require 'anim8' local player function love.load() local walk = love.graphics.newImage("image/player/male_walkcycle....
by subtledemise
Tue Dec 10, 2013 2:03 am
Forum: Support and Development
Topic: Need help with anim8
Replies: 5
Views: 2833

Need help with anim8

I'm trying to play animation while the player is moving; however, I keep getting these error messages: BHesdhs.jpg My code: local anim8 = require 'anim8' local player function love.load() local walk = love.graphics.newImage("image/player/male_walkcycle.png") local g = anim8.newGrid(64, 64,...