Laserbrain Studios

Games Forum Blog Contact

Author Topic: Covers and crouching  (Read 10524 times)

Christian Knudsen

  • Administrator
  • Ace
  • *****
  • Posts: 3099
    • View Profile
Covers and crouching
« on: June 04, 2012, 12:01:43 PM »

This past week I successfully expanded the line-of-sight code to support covers. Objects in the game now have height, meaning that you can hide behind high enough objects – but so can NPCs, so your line-of-sight to a target can be partially obscured when aiming.


Click to enlarge


It’s of course a lot easier to hide behind cover if you can crouch, so that’s now in as well. Kind of. I haven’t made the animations and sprites for the crouching player character yet, so it’s just a stand-in sprite for now. Look at that creepy naked guy hiding behind a wall (he actually kinda looks like a Terminator that’s just arrived from the future!):


Click to enlarge


I won’t be making the proper sprites for crouching until after the pre-alpha v0.1 release, meaning that this is also what your crouching guy will look like when you actually get to try it out. Hopefully suddenly being in your underwear won’t be all too immersive breaking…


The reason for this is that the crouching animation is a special animation that only the player character will do. The randomly generated NPCs won’t have this animation. For these kind of special player animations (as well as NPCs with unique looks), I’ll be using a spriting system that’s a bit different from the one used for the randomly generated NPCs. As those are randomly generated by combining various clothing sprites, all the various body and clothing parts have to be in separate sprites. But when I’m making the sprites for a character with a fixed look, I don’t have to separate them quite as much as they don’t have to be combined randomly. Whereas each frame of a randomly generated character currently requires about 40 separate sprites, I only need about 5 for the unique characters. However, as I haven’t decided on the final look of the player character, I won’t be making his special sprites quite yet. That’ll probably be in the second pre-alpha release.


I’ve also been adding tooltips, shortcut keys, finishing the female hit and die animations, and working a bit more on the map editor in the past week. But I’ve definitely been most excited about covers and crouching, as that immediately added some fun gameplay elements – even as bare bones as the actual game part of the game is as the moment. It feels like it’s really starting to become a game now, as I’m able to crouch behind a wall to avoid being seen by a guard, and the second I stand up, he spots me. The AI still needs a bunch of work, though, as he can’t yet shoot at me or otherwise react except for “SPOTTED!” appearing above his head.


I’ll have a new development video up next Monday showing all the stuff that’s been added since the last video.



PJMendes

  • Guest
Covers and crouching
« Reply #1 on: June 04, 2012, 06:33:07 PM »

You’re probably at the point where you could sell your game in this alpha version on a service like Desura or similar, for a lower price… I think there would be interested buyers!


While I’m here, I’d like to comment on the aiming mechanic: the fact that the player has to “fight” the jittering cursor when using a less precise weapon might be physically tiring/painful/annoying for the player; I’d suggest removing the cursor jittering and instead having the aiming reticle expand or shrink according to the player’s accuracy (based on weapon, light level, distance and all the stuff you’ve nicely included), and the shot, when fired, would hit on a random point inside of the reticle (which would mean that firing while having a smaller reticle would be preferable, for the shot would most likely go where intended).


This is looking very interesting, maybe you could also start sending a press release to gaming sites (like Rock Paper Shotgun) if you haven’t already.



demonslay999

  • Guest
Covers and crouching
« Reply #2 on: June 04, 2012, 08:58:52 PM »

If that’s a male why are there breasts? Lol but aside from that nice work and by a fixed character does that mean there would be any customization to your character? Or will we be able to make him/her look different?



Christian Knudsen

  • Administrator
  • Ace
  • *****
  • Posts: 3099
    • View Profile
Covers and crouching
« Reply #3 on: June 05, 2012, 12:08:22 AM »

I might remove the jittering on the crosshairs if that proves too annoying. We’ll see after some testing. :)


And I’m not starting on proper marketing of the game yet, as the complete game won’t be finished in a year or two. Nor am I interesting in selling it quite yet.



Christian Knudsen

  • Administrator
  • Ace
  • *****
  • Posts: 3099
    • View Profile
Covers and crouching
« Reply #4 on: June 05, 2012, 12:10:43 AM »

The target in the first screenshot is a female character. And there won’t be any customization to your character. You may be able to slip into different outfits on certain missions for disguises, but that’ll be it.



demonslay999

  • Guest
Covers and crouching
« Reply #5 on: June 05, 2012, 10:10:00 PM »

ah i see that’s to  bad still looks good so im gussing this is something like hit man blood money? (the only one so far I’ve seen with something like a shop system)