Thank you for your answer RG but I can not upload the project because I am waiting for approval of copy right registration of the mechanics of the App. When I receive the document, I would be willing to upload it. I could do a similar module with the same code and different variables that work the same but I would be looking for the error in a new App, not in the existing one. It’s a work of almost 2 years. I have designed each of the objects and as a graphic designer I took on the task of trying to take my art to mobile phones and to the world thanks to Corona SDK. I just ask for some basic rules, because I’m not a code expert, I should be overlooking. I do not want anyone to write me a code or give me a fix, I just want to learn to solve the problem on my own. When there is something I do not understand, I come here to ask the experts.
I understand and I appreciate all the good intentions to help but I would be letting you see in code and design the work of two years. I hope you can understand.
Thanks again.
You can always PM me a link. I have no interest in the code, just closing this post.
PS - If you do PM me, be sure to give instructions on how to reproduce the issue.
There is no such thing as “copyright of code”, otherwise there would be only one candy crush and not millions of clones!
You can trademark a logo or certain game assets (for example sonic or mario) but otherwise you are completely unprotected.
Please don’t pay any money to anyone claiming to protect your work… you will be throwing money down the drain.
I will try to read a little more and do some tests, if I can not solve I send you a PM.
I’m not going to register a code, I’m going to register an intellectual property, the problem is that the ideas can’t be registered because only they exist in the mind and anyone can think them, we have to take something that makes the idea came to live, a painting, a construction, a software, something that brings that idea to reality, I’m not going to register the code but the mechanics of App that shows what my idea reflects. That’s just that I’m going to register, an idea demonstrated in an app.
Thanks for all your help and your time.
Just a note: Our Corona community is international. Copyright, trademark, and patent laws are going to vary from country to country. Legal questions should be referred to an intellectual property lawyer to get answers appropriate for your local.
Rob
The error disappeared
After doing several tests with the if statement I just wrote display.remove(object) for everything without the if/then/end and the errors are over. The error seemed to be that the if statement was looking for something that did not exist and the display.remove(object) seems to already do the same thing.
I am not an expert programmer but I deduce that this is what happens. I share how I solved the problem so that other people who want to write a similar module with the same mechanics can read and try if my solution solves the problem.