I've been working on a game and just the last few times I've tried compiling and running it nothing happens. When I open task manager it shows that Dream Seeker is running but the actual game I'm making doesn't appear. Rebooting my computer doesn't work. Is there something I can do to fix this?
|
Aug 11 2012, 2:36 pm
|
|
Does this happen with all projects you have compiled and ran from Dream Maker, or just a specific one?
|
In response to Stephen001
|
|
Just this one.
|
I'll move this to developer help, as I think it's actually a programming issue with that specific game. Can you shows us your code for world/New(), and describe what kind of things you've changed in world/New() recently?
|
In response to Stephen001
|
|
I haven't changed a thing.
|
Well, presumably you were changing something, as you were re-compiling the world and re-running it.
"I've been working on a game and just the last few times I've tried compiling and running it nothing happens." What did you change just before this started happening? |
In response to Stephen001
|
|
Oh, I see what you mean now. I simply added a proc in for NPC AI.
|
ai() |
Remove NPC AI and compile and run again, at least you can then narrow it down to being for sure in NPC AI somewhere.
Seems to me though, if it was working before and doesn't throw a compile error, perhaps a run-time one? ai() Sorry, you must have posted as I was posting, try to use the dm tags <> as indention matters and makes it easier to read. Try another break before the else? Though I don't see why that would stop the whole program but perhaps it is locking up immediately in the for loop. As far as I can tell this would only happen if you start the program within 1 of src,M |
In response to Stephen001
|
|
I'm not sure how to show coding in comments spaced out correctly, but that's basically it.
|
I tried removing that portion of coding and it still didn't work, so I un-checked the .dm file it was in from the entire source and still nothing happened when I ran it.
|
Can you show me where ai() is called? I guess it's called in New() for your NPC enemies?
|
mob |
I have used that exact same AI system in other environments before though and ran in to no problems at all.
|
In response to NNAAAAHH
|
|
It worked, thank you.
|