Can someone tell me what is going wrong with my game. The way to get to the bug is by starting a game then clicking on the go to genetics lab arrow. My Project – Google Drive This is the link to download the project. Ignore the graphics i know they are bad and i will fix them in the future.
Sorry for temprary editing the link, it felt a bit suspicious as it was posted for a newcomer and first poster. Still, the project contains prebuilt executables…
i promise it is just a defold project. this is my first post as i have not had any other issues that i cant solve. i am uploading the project because i cant see any errors in my code and i thinks its something to do with the setup of the project
No no, you can’t expect anyone to download and run an unknown executable. Why not explain what is wrong instead? Do you get an error? If so what kind of error? Share screenshots and explain in text what you need help with. You mention collection proxies. Are they not unloading or loading properly? Show the code where you handle load and unload.
These screenshots show part of the on_message function. When the game object containing this recieves a message telling it to load a proxy, it sends a load message to the appropriate proxy. The issue is with trying to load the geneticsproxy. I believe it tries to load the boatproxy again but I am not sure. The proxies are shown here:
It’s better if you post source code as text. You can use the three backticks ` to wrap your code:
```lua local hello = 0 ```
Becomes:
local hello = 0
Hmm, not sure if you have one or two issues. The “out of resources” error might be one thing, while also trying to load two collections with the same name (or one twice). Have you double checked that you don’t have two collections named “boat”?
I definitely do not have two collections named boat
If you are comfortable sharing your project with me (bjorn@defold.se) I can take a look.
I have sent it now
oh my god im so dumb. Thanks for you help