Jump to content
  • Advertisement

Java Tower Defense Indie Game Dev Blog #5: New turret and enemy types



This week

Hello everyone! This week, as always, I fixed few bugs, did few tweaks and implemented small features. Here's a list of things I've done this week:

  • Tweaked enemy prices and levels.
  • Added object picking
  • Added sounds and music
  • Tweaked audio gains for different sounds and music
  • Added capability of selling towers
  • Added new cursor
  • Implemented support for multiple enemy waves
  • Added new enemy: Tank
  • Added new turret type: Rocket turret


Screenshot from 2018-06-03 17-29-52tank_meshtank_textured


Important decision

Yesterday I came to important realization while making my game. I realized that I need to build a fully working prototype of the game, figure out all the mechanics, implement all the tower and enemy types first and only then continue doing the minor things and polishing things up. I also realized that I should spend less time on music and 3D models. All these things will be done, but not now. I need to make my game fun first, and only then worry about all the assets. I don't want to repeat same mistake which I did with my previous games where I spent too much time on graphics, sounds, performance optimizations and too little time for actual gameplay mechanics.


There's one problem which I currently face, and it has to do with the "Tesla Coil" tower. As of now it slows down the enemies in its range, but there's a problem with that. The problem arises when you put the tower at the very end of the maze. When you do that, it not only slows down the enemies in its range, but it also slows down any enemies which came before them. This is because of the obstacle avoidance which makes it so that the enemies couldn't go through each other like some sort of ghosts. The only solution which I can think of right now is to remove this type of tower and replace it with something else.

Next week

This coming week I'll start thinking of and implementing all the different tower and enemy types. I might do some very basic 3D models to use as placeholders as well.


That's all for now, thanks for reading :)


Twitter: https://twitter.com/extrabitgames
Facebook: https://www.facebook.com/extrabitgames
Website: http://extrabitgames.com


Recommended Comments

Good going Eddie! I have a slow down tower but yes my enemies walk through each other like ghosts lol. Don't know a good solution yet. :)

Share this comment

Link to comment
23 minutes ago, lawnjelly said:

Good going Eddie! I have a slow down tower but yes my enemies walk through each other like ghosts lol. Don't know a good solution yet. :)

Thanks! It seems that you are progressing very quickly with your game. Are you using some kind of premade engine, or are you writing it in OpenGL/DirectX? Because most of my time is spent getting through my mess which I call code :D

Share this comment

Link to comment

Hi I like your lowpoly models, but I was wondering why do your wheels and other circural shapes (like canon) have so many polygons? Your models are pretty small on screen, and since you are using blender, you could use fewer polys, and when you use soft shading it wont be even noticable with texture. I think it could improve your performance when you instantiate a lot of models (especially tanks).

Keep up the good work! Darthy

Share this comment

Link to comment
18 hours ago, EddieK said:

Thanks! It seems that you are progressing very quickly with your game. Are you using some kind of premade engine, or are you writing it in OpenGL/DirectX? Because most of my time is spent getting through my mess which I call code :D

Sorry Eddie I took a while to get back, am currently trying to find / buy a new house so have only been able to spend a few days at a time on the Tower Defence, I probably won't get to do too much more before the end day (June 30th I think it was?), maybe implement some more game modes.

Although I am normally an OpenGL / low level guy, I forced myself to learn Unity from scratch for the challenge (and c#). It seems very much for rapid development and to be beginner friendly, and makes certain things a lot easier as long as you keep it very simple. I'll try and do a full review of Unity etc when I do a post mortem. And my code for the game is definitely messy too, I will have to clean it up majorly afterwards so it will make any sense to a reader, especially as it is sprinkled liberally with comments like 'c# sucks monkey b*lls'.

Share this comment

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
  • Advertisement
  • Blog Entries

  • Similar Content

    • By Alexander Winter
      Introducing Jumpaï! A game made using LibGDX. It's been 21 months the game is in development and we just released version 0.3! It's an online game, there's a server running at http://jumpai.net/ and everyone can join! Registering is easy, username password and you are good.

      The point of the game is to make your own level! There's an easy to use, integrated editor allow you to make your levels and they same automatically on the cloud. You can then join them online to play with your friends.  A lot of cool mechanics, portals, powerups, items... Check it out!
      Also, you can join us on discord  https://discord.gg/R4ZafEw


    • By LexGameDev
      We have a small team of 3 developers working on an puzzle adventure game similar to Legend of Zelda that we are creating. Currently on the team with have 2 experienced coder and a 2D artist. We are hoping to find one or two 3D modeller who can do model, rig and animate 3D models for creatures and humans. The game will have a fairly low poly simplified aesthetic. We are hoping to sell this game therefore we are open to rev share options as is normal in this forum.
      If you are interested or have any questions please contact me and I will be glad to answer.
    • By sprotz
      I know that there are Vehicle and Car blueprints all over the net on almost every car model that exists and has existed, but surprisingly few textures. To be precise, photo textures of side view, front view and rear view of even common car models is hard to find. Even raster graphics drawn textures are rare. The best that could be found is on the Google Warehouse and typing 'textured car' in the search box. This will give you some good numbers of textured cars and car textures. Google warehouse is also excellent for finding textured buildings and building textures for any region. But where on earth are the vehicle textures?
    • By AireSpringfield
      We know that it is possible to modify the pixel's depth value using "System Value" semantic SV_Depth in this way:
      struct PixelOut { float4 color : SV_Target; float depth : SV_Depth; }; PixelOut PS(VertexOut pin) { PixelOut pout; // … usual pixel work pout.Color = float4(litColor, alpha); // set pixel depth in normalized [0, 1] range pout.depth = pin.PosH.z - 0.05f; return pout; } As many post-effect requires the depth value of current pixel (such as fog, screen space reflection), we need to acquire it in the PS. A common way to do that is to render the depth value to a separate texture and sample it in the PS. But I found this method a bit clumsy because we already have depth value stored in the depth-stencil buffer, so I wonder whether it is possible to access from NATIVE depth buffer instead of ANOTHER depth texture. 
      I found this on MSDN:  https://docs.microsoft.com/en-us/windows/desktop/direct3dhlsl/dx-graphics-hlsl-semantics

      that mentions READ depth data in shader. I tried this in Unity:
      half4 frag (Vert2Frag v2f, float depth : SV_Depth) : SV_Target { return half4(depth, depth, depth, 1); } However it turns out to be a pure white image, which means this depth values in all pixels are 1. So is that MSDN wrong? Is it possible to sampling a NATIVE depth buffer?
    • By Brandon Sharp
      This is my TMNT party wagon. I know its super messed up but it was my first real big project car. I found a blueprint of the car on a Episode of TMNT and when i uploaded it to my 3D program I noticed it was centered. So thank you to whoever rendered that one frame, because its all I needed. I made some custom textures and a UV layout from scratch. It's not exact but hey i think it looks cool. I will defiantly go back in and redo this now I have better knowledge of topology. 


Important Information

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

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!