Jump to content

gamecreator

Members
  • Content Count

    4,927
  • Joined

  • Last visited

Everything posted by gamecreator

  1. Very true. It's difficult to be creative and sell people on it. But it's not impossible. Usually it involves combining familiar mechanics in a new way. Deep Rock Galactic does this very well (FPS, RPG, procedural generation, fully destructible world, etc.).
  2. Very cool. Not to nitpick but maybe the vegetation render distance could be farther out, especially the bush (which seems to pop in very close). Otherwise it's already starting to look like parts of a game. Reminds me a lot of GTA.
  3. Whoa! Thank you! I'm gonna read through it. I don't have a specific one in mind but this opens up a lot of possibilities, if it's as straightforward as it seems. Josh moved it to the programming forum but here's the link: Thanks again!
  4. It would be great to have a simple tutorial or walkthrough for this process as I know nothing about shaders but I'm pretty comfortable learning by modifying.
  5. Right. The host would still be authoritative and could check that the client didn't cheat. But that's down the line. Right now I'm just trying to get to step 1: making sure the client is where the host was.
  6. Well yes, that's the plan. But I'm trying to figure out how the client would have the proper position for the character, since you can't just use GoToPoint() on the client (I think). The ideal way to do it would be for the host to not need to send anything to the client, once it sent the client the start and end points of the navigation (with timestamps). The client should then be able to calculate where the character needs to be at any given time. Yes. I was debating whether to include that but it demonstrated well that the controller might not even be where we expect. Probably s
  7. I was just theorizing about how to make sure that a pathfinding character on a host ends up correctly in the same position for a client. Actual network code would come later. And yes, I call GoToPoint only once (when I hit the spacebar). Ignore that it's possible to hit space multiple times in that code.
  8. I'm trying to figure out how to do pathfinding over the network and I'm not having any luck so far. I found this nice thread and post where you could supposedly get the navmesh points. I threw together a project using it but my tests weren't too promising. The problem is that if the character is going fast enough, he'll miss points entirely, kind of acting like it's drunk, making all but the start and end points useless for network prediction/interpolation. Here's the video: The red markers represent all the points that FindPath returns (10 points + beginning and end). Note
  9. You can detect if two objects collide with Collision but I don't think it'll give you the shape of the collision. Might be able to do it with Newton somehow.
  10. 480p? Get some 4K, or at least 1080p going. That said, great progress.
  11. I'd be really curious what it would look like at a good bitrate and as video instead of a GIF. As a GIF it looks a bit weird. But if it's just to give us an idea, then mission accomplished and pretty exciting.
  12. Neat. Would this work with multiple hazes, separated by objects?
  13. You're a few months late: Also, the article you linked says how they do it. They stream it in from an SSD, which is a newer version and reads faster.
  14. That was an issue in the past. Using GetSpeed isn't accurate so your game won't play the same on different computers.
  15. Say a game is a fixed 60fps and you want to add that blur effect I talked about over 5 seconds. effect->SetProperty("strength", bluramount); bluramount += 1.0 / 60 / 5; // Adds a fraction of blur per 60fps frame and 5 seconds Edit: Actually, isn't this what SetFloat does now? I don't know much about shaders but would this be a uniform?
  16. That would be a great step toward flexibility but I wonder: is this not something that can be manipulated in memory? Can you alter shaders after you load them from a file? Guessing that you can't from what you're saying. Oh man. Didn't even know this was an official function. Testing it now... thanks! Edit: it works! Yay!
  17. Do you mean that these will be able to be changed by code? Like you could create an effect where you blur the screen more and more as someone gets more and more drunk or dizzy? Or use it as a fade in/out effect for menus? I'd love for this to be the case in the new engine. Yes! Thank you for asking. A shader you need to project a camera view onto a surface, like a TV or a screen. I was just researching how to do this and saw on the forums other people trying to do it. If you know shows like Star Trek, I was thinking of putting on screen the view of a camera in space looking at a
  18. That might work. You can also try just not including collision meshes/shapes for your models.
  19. It's pretty straightforward with the directions you can find online but you can either right-click an exe (like Steam) and run that program through Sandboxie (shell extension) or you can run Sandboxie and find a program to run through it directly. There's maybe one or two more extra steps but that's basically all there is to it. It's kind of like a virtual machine, if you've ever used those.
  20. You don't even need a second computer. I've tested it with a free program called Sandboxie ("open-source sandboxing program for Microsoft Windows") and I was able to run a second Steam account on the same computer.
  21. This might help: I tried to look at the Lua code but I couldn't really understand how it's supposed to connect people. I don't know if you use Lua or C.
  22. The FizzBuzz test.  Different people do this simple code differently:

     

    1. Show previous comments  1 more
    2. Josh

      Josh

      Doing a modulus operation seems very inefficient for this.

    3. gamecreator

      gamecreator

      Modulus is maybe more readable but I wonder if it's any faster or slower.  I also wonder how much simple code versus flexibility (like being able to switch the code to other multiples quickly) the interviewers expect.  Probably can't hurt to ask during the interview.

    4. aiaf

      aiaf

      For me was this:

       for(int i=1; i<=100; i++) {
              bool is_fizz = false;
              bool is_buzz = false;
              
              if(i%3 == 0) {
                  is_fizz = true;
              }
              
              if(i%5 == 0) {
                  if(is_fizz) {
                      printf("fizzbuzz\n");
                      continue;
                  } 
      
                  printf("buzz\n");
                  continue;          
              }        
              
              if(is_fizz) {
                  printf("fizz\n");
              } else {
                  if(!is_fizz && !is_buzz) {
                      printf("%d\n", i);
                  }
              }
          }

       

  23. True, I was thinking about how I could just substitute different models directly. It's not really hard to do. The only real difficulty is turning vegetation into normal models without billboards. I don't think that's possible now.
  24. To speed up development, I sometimes use a separate barebones map that still lets me test character changes. It helps to not have to wait for all the normal assets to load every time I run the program. But I was wondering if we could implement (or do we already have?) a sort of model substitution system. This would still allow the loading of the normal map but all the trees, rocks, houses, whatever would be substituted by low-poly meshes of our choice. For example: tree01.mdl -> treelowpoly.mdl tree02.mdl -> treelowpoly.mdl tree03.mdl -> treelowpoly.mdl tree04.mdl ->
  25. Did you see if it detects just the entity if you don't check for the key?
×
×
  • Create New...