Jump to content

cassius

Members
  • Posts

    2,834
  • Joined

  • Last visited

Everything posted by cassius

  1. I have never played a game with hundreds of buildings but I would imagine some of them are not models but just background drawing like hills in a skybox.
  2. Well your graphics card looks ok. I am getting a steady 60 fps from a level with 8 buildings and a terrain sized 512 by 512. I have the screen set at 1024 by 768 Fullscreen. I have only one spotlight so far but there will be many more. pointlights can be heavy on fps. Most of my textures are 512 by 512 with a couple at 1024.
  3. in my game if he main character is killed the game ends. I use TIME delay of 5000 then "Exit"
  4. Yeah, you are probably right. I did a google search and found that some clips held 12 to 15, but 8 would be ok for gameplay.
  5. I am working on a fps game. How many bullets woild an autopistol mag hold these days.
  6. Thanks I will take a look.
  7. Sorry. I got my thread wrong. Its not a light its a sprite I am using as a gun muzzleflash. I DID have a light as well but got rid of it until I could get the sprite to show then hide. I think if you put Show) and Hide() next to each other they act too fast and you see nothing.
  8. Hi Whats the best way to do a light that flashes on and off quickly. I tried Show and Hide functions but nothing showed.
  9. I have a sprite and a light set up for my muzzleflash although its not quite in correct position yet. Whats the best way to make it flash on and off? Will show hide be ok or do I need to put a delay between them? Thanks.
  10. There are several games on the game launcher which are too dark on my pc.The only thing I can suggest is to increase the ambient light providing it does not spoil your game idea.
  11. Yeah. I can understand it ok. Looks a lot more comprehensive than I intended but I can use it
  12. Forgot to mention I am using c++ but I will take a look.
  13. Whats the best way to get a muzzleflash for a gun. I see that there is a muzzleflash texture with the engine but can't figure how to use it.
  14. That would be World pick I imagine?
  15. I got my gun animations working after a long session but now I need to know how to fire bullets and check they have hit the target? Should I use bullets visibly moving or fake it in some way. The gun fires 6 single shots.
  16. Got it working. Thanks everyone for your help.
  17. Thanks mack. My own one shot routine is taken from my other game and works ok when a character is killed. I am trying to adapt it to reloading a gun, but it does not work from a Keydown or a KeyHit so I am trying to make it a little remote or indirect from those.
  18. How to make a one shot animation that works once. Can anyone show me? Thanks.s Is it possible to use KeyHit to trigger an animation. I am getting nowhere with this.
  19. if I hold down the R key the animation now works but I feel I should be using KeyHit not Keydown but that does nothing. With KeyDown the anim stops unfinished when I let go the key.if I keep pressing R it repeats until I let go.
  20. Thanks for reply. I will do it later.
  21. I wrote the function below [ in c++] to reload a gun which before had been in idling anim mode.The problem is it works great but ONLY ONCE. If I press R key after first time it does not respond; Can anyone help? frame = 0 at start. animlenght is 53. void reload_gun() { if (gun.frame < gun.animlength) { gun.model->SetAnimationFrame(gun.frame, 1, gun.seq); gun.frame = gun.frame + 1.0; } if (gun.frame >= gun.animlength) { idle = true; done = true; }
  22. Whats the best way to make a gunfire muzzle flash? Is it just a spotlight or something more?
  23. I have changed my mind about having footstep sounds. My character is walking on soft grass anyway so footsteps would not be audible., but I need to get rid of the gliding effect as the character walks. A slight movement of the gun arms might be enough.What do you think?
×
×
  • Create New...