Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / Error with same game

Author
Message
Hsoj
15
Years of Service
User Offline
Joined: 6th May 2011
Location:
Posted: 16th May 2011 20:15


So I found out how to make it go to the next level, but now it gives me this error where it says the matrix already exists as well as I cannot just copy level one rename the section LevelTwo and just go on like I did in the first game I worked on in the class. I don't know what's wrong with the code and why it won't let me just copy & paste then just re-edit level two to be different in a way so it's not the same as level one. Can somebody please help, I posted the whole code so you could find what is wrong with my game. Thanks.
Hsoj
15
Years of Service
User Offline
Joined: 6th May 2011
Location:
Posted: 18th May 2011 19:09
and I think I failed because nobody will help....
Scraggle
Moderator
23
Years of Service
User Offline
Joined: 10th Jul 2003
Location: Yorkshire
Posted: 18th May 2011 20:47 Edited at: 18th May 2011 21:27
Really? You're blaming your failure on the entire population of the world for not helping you?

I would help but you have posted an enormous amount of code with no real specifics about the problem. Try to isolate where your code is going wrong and just ask for help with that area. You are much more likely to get help then.

The reason I'm not offering help at the moment is because I don't have the time or desire to go through all of your code, and I'm sure most people feel the same way. So, like I said: Break down your code and try to isolate exactly where the error is, then if you still need it, ask for help again. But you may find that in breaking down your code, you will be able to solve the problem yourself.

That said, since the error is 'matrix already exists' Then the obvious fix would be to change this line

To this


Penfold
22
Years of Service
User Offline
Joined: 3rd Dec 2003
Location: RED postbox houses of parliment
Posted: 18th May 2011 20:51
Dude when you try to run the game what error code does it give? so we can at least try to look at where the area of the problem is.

'Ooh 'eck chief'...'crumbs'
Hsoj
15
Years of Service
User Offline
Joined: 6th May 2011
Location:
Posted: 19th May 2011 19:23
Thank you scraggle and sorry for posting such a long code.

Login to post a reply

Server time is: 2026-07-10 19:48:51
Your offset time is: 2026-07-10 19:48:51