Jump to content
  • Advertisement


  • Content Count

  • Joined

  • Last visited

Everything posted by DeadStack

  1. Another strategy is simply allot some time each frame for path-finding. Run the jobs in parallel at that time but wait for all path-finding jobs to complete before continuing. No locking necessary. Time cost would roughly be that of the slowest job. That will be cheaper than running all your path-finding jobs one after the other in the frame, but different to running them in the background (which requires a snapshot of map data). You would have to benchmark to see how long your jobs are taking to work out the best way. Actually, when I think of path-finding, I don't see how locking is useful at all. If you've locked the map against writing, then you can't be doing any updates in that time, so you might as well just be doing your path-finding. And if all you're doing is path-finding then you don't need to lock the map. The real issue is not locking the map and preventing it from being changed, but recognizing that it may be changed, and that your path-finding result may be incorrect by the time it is executed or during it's execution. Once you accept that the map may change then it doesn't matter that a path-finding job produce an incorrect result. Because a failed navigation can simply trigger a fresh path-finding job.
  2. Copy the map chunks around the pathfinding entities. And give each pathfinding job it's own data. Run each job asynchronously. The entities can each grab the completed knowledge as it completes.
  3. DeadStack

    Character Writing

    You can show that you're determined to become a writer by publishing books, independently or through a publisher. How many short and full length novels have you written? Do you have anything that you think might be publishable?
  4. DeadStack

    Game with 2D and 3D

    Mario Odyssey has 2d sections in a 3d world.
  5. DeadStack

    Godot or not?

    "Are you confusing it with something else?" - No, I'm not confusing it with anything else. It may be in version 3.x but I had a number of problems with it that made it completely unusable. Maybe the C# version was in alpha, as discussed above. But even if I could get it to be stable enough to do work with, which I wasn't able to, it's obviously written by Android developers, it uses GLES exclusively, and it doesn't even have DirectX support on Windows - which should be the first API targeted on this platform. It's not a good Windows engine. There are several others that beat it hands down. It doesn't actually deserve it's current popularity.
  6. Maybe you should do some artwork and write up some more details about your idea. And maybe download Visual Studio Community Edition and try making a C# console game, then you can think about programming something bigger and wonder at the life of a game developer.
  7. DeadStack

    Godot or not?

    You're probably right. I was using the C# version. My mistake.
  8. DeadStack

    Godot or not?

    Does it sound like opinion? That being said, I can't actually find the page that says that. I don't think I'm mistaken, except that it doesn't look like it was on the front page.
  9. DeadStack

    Engine UI

    There seems to be some confusion about what the engine is. The project editor or scene editor is not the engine. The engine runs in your game - it's a set of API's. To have your game run inside an editor - well, you might not even want to do this. It's fine to build your game and also side by side build a world editor. But if you do want to run the game - or even partially run it. You have to consider how your editor works and also how your engine works and just integrate them as makes sense. I have an engine/framework in UWP, and that makes it easy, because I just have to create a Xaml application with a SwapchainPanel control. My engine can be started using two different application types .. 1) a XamlWindow applicaiton or 2) a CoreWindow application (no xaml). So to have an editor host the engine output I construct the engine with the XamlWindow's swapchain panel. I start up the engine thread. I setup the scene graph and that's it. I have the game view running inside an editor. I then use UWP Xaml to make the editor. That all being said, it's a work in progress.
  10. DeadStack

    Godot or not?

    Godot is in alpha and it shows. Edit: take a look at Xenko https://xenko.com/ it's more mature than Godot. And thanks for the downvote, just sharing my opinion, I've had Godot on my system for a few weeks and I'm yet to even be able to get it to run, it's not ready for prime time. They even say on the front page - Don't use this for commercial projects - It's not ready.
  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!