Jump to content
  • Advertisement

Project: Moonrise

Gameplay Fragment’s Moonrise | #21 The Lesser Dragon of Lightning

Yyanthire Studio




Welcome to our twenty-first blog post!


We’ve been working on some new boss mechanics and features, one of which includes a boss who can spellcast at great distances.



This gets a bit tricky given how our Fog of War system functions- since we have such huge Maps, we need a method of handling lots and lots of Units. In Fragment’s Moonrise, our Unit AI and all our various features necessary for the Unit to function are quite complicated. There are tons of lines of code that need to run per each Unit to handle all the various features on each Unit, and these need to run each frame.

As such, as part of our Fog of War system, Units that are in Fog are not only hidden, but fully disabled. This is important because we definitely do not want to run so many Units at once, we only want to run them when Player engages with them. This is coupled with the fact that there are features we still want to run on Units while their disabled, like HP Regeneration, so we utilize Time to ensure that as they are disabled, when they are re-enabled, those features run for the X amount of Time they were disabled for. This gives them the ‘sense’ that they were never truly disabled, without having to utilize the CPU.



Given that Units are only enabled if they are out of Fog, we need a way around this. Fortunately, the fix is incredibly simple: on desired Units (the Lesser Dragon of Lightning) have them completely ignore the fog. This means they are always enabled, which might sound bad on the CPU, but given that its only very specific and rare Units, its quite fine.

Now, we can take advantage of all the various features we want, like an elongated sight and attack radius to make it so this Dragon can strike from very far distances.



Onto the fight, Player must wade through a sea of enemies before they’ll be able to get to the boss. This means dodging is critical to surviving here, and bypassing some enemies just to get closer to the Dragon itself may be a good idea, even if you do procure a lot of damage in the process.



Given this new addition, the best thing to do with it is add it around to other various minibosses. Introducing the Kolhunter Toad, another long-range attacker, but this time, every strike it lands pulls the hit Unit towards it. There’s a lot of room for creativity in just this single variable, so we’re looking forward to designing even more interesting bosses, minibosses, and even creatures based around this concept.





Thank you for viewing our post! Support and interest for the project has been rapidly growing ever since we began posting here, and we're incredibly grateful for all the wonderful feedback so far! We hope this project interests you as much as we love developing for it, and please look forward to more updates coming in the very near future!

If you’re brand new, consider checking out our trailer and overall description of the game here.


Recommended Comments

There are no comments to display.

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 asmit10
      Read this first to not waste time
      Hey everyone! I'm basically brand new to game dev, specifically programming which is what I care to specialize in. Currently i'm working on a 3D Tile-based tower defense game in Unity. The plan is to plan for primary monetization on mobile, but it will come to PC too. I probably lack the most skills in the art department, primarily graphics work, but it's not like my modeling is great either. That being said, my main focus is programming so if you read further below and find yourself interested in the project and have a different interest, please let me know!
      Game Info
      TD Game ala Bloons TD
      Towers are based on tiles pre-placed on a grid (plan to add ability to buy tiles, so that tile scarcity can be more of a part of level design)
      No Russian dolling of enemies, different enemies following a difficulty gradient
       flying enemies that normally follow a different path
      Branching, occasionally choice making upgrade branches for each distinctly unique tower. (thinking something like 15 unique upgrades per turret, though that would be tough to come up with)
      Initially planning for 10 distinct level layouts not including an endless survival 'leaderboard' mode
      Seems like it would be silly to not include easy / medium / hard difficulties, just need to think of a way to reward the player for doing so
      Planning to have some long-term progression system. Maybe related to # of kills with a tower. Every 500 kills = 1% fire rate or something like that.
      All current art and models are place holders, screenshots of the project can be provided if you show interest
    • By phil67rpg
      well I am working a jumping algorithm. I got my sprite to move up and down irratically I want it to jump up and  down smoothly. let me know if you need more info.
      void spritejump() { if (state == false) { jump++; if (jump >= 20.0f) { state = true; } } else if (state == true) { jump--; if (jump <= 0.0f) { state = false; } } // cout << "jump: " << jump << endl; } void handleKeypress(unsigned char key, int x, int y) { int animate = 0; switch (key) { case 27: exit(0); break; case 32: animate = !animate; if (animate) { glutIdleFunc(spritejump); } else { glutIdleFunc(NULL); } break;  
    • By Joey Nigro
      How can I automatically match the color with the tag?
    • By RoKabium Games
      Excluding the Minimap you can also use specific background relics and ancient structures as landmarks to keep track where you are. On Metis the background has some ancient Statues, temples, huts and caves that could be useful to remember specific locations.
  • 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!