Search found 2 matches

by noah.l
Tue Oct 10, 2017 4:09 pm
Forum: Support and Development
Topic: How to set limit to a table ?
Replies: 3
Views: 2682

How to set limit to a table ?

Hi guys ! I've 2 problems, I want to create a system inventory, so I have created an image which contains 48 places for items, and I want to say "If you have more than 48 items, you can't take this one !". Si I tried many things ... Here's my code : if hero.inventory[48] ~= nil then canGet...
by noah.l
Tue Oct 10, 2017 9:55 am
Forum: Games and Creations
Topic: InvadersLike
Replies: 4
Views: 3722

InvadersLike

Hey guys ! Firstly, sorry for my English, I'm French and I rarely speak English ^^' So I'm a beginner in development and I wanted to start with lua and the framework Löve2d. I created an Invaders-Like to train me to code, but I don't know what to add more in my game. Because my game is really boring...