Search found 11 matches

by Sonic
Sat Jan 13, 2018 11:10 pm
Forum: Support and Development
Topic: Enemy Bullet Error
Replies: 1
Views: 2485

Enemy Bullet Error

Hello, I am having trouble coding my game so the enemy will shoot bullets towards the player. I have looked through videos and the forum to no avail. If you could help me out, I'd appreciate it. Here is my code: platform = {} player = {} enemy = {} enemies = {} enemies_controller = {} enemies_contro...
by Sonic
Sat Jan 13, 2018 3:04 am
Forum: Support and Development
Topic: Platforms in Game Error
Replies: 1
Views: 1801

Platforms in Game Error

I have been working on this for a while now but I received an error stating that the platform is nil. Error: game.lua:17: bad argument #2 to 'rectangle' (number expected, got nil) Full Code: -- main tables platform = {} player = {} enemy = {} -- enemy controller tables enemies = {} enemies_controlle...
by Sonic
Fri Jan 05, 2018 6:48 pm
Forum: Support and Development
Topic: Syntax error, I have no idea where it is
Replies: 1
Views: 3701

Syntax error, I have no idea where it is

I have a syntax error in my STI init.lua file, i dont know where its is and how to fix it (error at line 44)

Full code: https://gist.github.com/BansheeSonic/9b ... 4c79ac2082
by Sonic
Thu Jan 04, 2018 6:40 pm
Forum: Support and Development
Topic: Trying to load a Tiled map with STI
Replies: 15
Views: 9008

Re: Trying to load a Tiled map with STI

Thanks for the help! I'll try my best!
by Sonic
Thu Jan 04, 2018 5:01 pm
Forum: Support and Development
Topic: Trying to load a Tiled map with STI
Replies: 15
Views: 9008

Re: Trying to load a Tiled map with STI

Here's the Winrar file. i hope this is the one (this was before i made some of the changes) (also im bad at drawing)
by Sonic
Thu Jan 04, 2018 4:45 am
Forum: Support and Development
Topic: Trying to load a Tiled map with STI
Replies: 15
Views: 9008

Re: Trying to load a Tiled map with STI

anything i have to fix or add in?
by Sonic
Wed Jan 03, 2018 6:58 pm
Forum: Support and Development
Topic: Trying to load a Tiled map with STI
Replies: 15
Views: 9008

Re: Trying to load a Tiled map with STI

I cant send you the whole file containing everything, if you need another file from me just tell me.
by Sonic
Wed Jan 03, 2018 6:37 pm
Forum: Support and Development
Topic: Trying to load a Tiled map with STI
Replies: 15
Views: 9008

Re: Trying to load a Tiled map with STI

I saw another post where someone added an addition folder to put the original STI file in, the only errors he had was just some typos. Thats why I tried the same thing but with my file names. I guess i'm wrong.

Heres the project: http://www.mediafire.com/folder/i7c4a8brwodf9/game
by Sonic
Wed Jan 03, 2018 6:10 pm
Forum: Support and Development
Topic: Trying to load a Tiled map with STI
Replies: 15
Views: 9008

Re: Trying to load a Tiled map with STI

I've been actually using that tutorial for my game, thats how I found out about STI. I still got an error on the same line: loader/sti/init.lua:44: attempt to call a nil value, is this one of the new errors that would pop up?
by Sonic
Wed Jan 03, 2018 4:57 pm
Forum: Support and Development
Topic: Trying to load a Tiled map with STI
Replies: 15
Views: 9008

Re: Trying to load a Tiled map with STI

where do i put them?