Jump to content

[WIP] Clash of the Daemons


yahiko
 Share

Recommended Posts

screenshot20160828c.png

 

Link : http://yahiko.developpez.com/apps/ClashDaemons/

Controls:

  • Arrow keys to move
  • CTRL for melee attack
  • SHIFT for ranged attack

This is a hack 'n slash based on a prototype for an AI implementation of behavior trees, which is the main reason of this project.

Sprites of monsters come from OpenGameArt.org. The title screen and the HUD were made by myself.

 

Features implemented so far:

  • 2D circle based collisions
  • AI (cf. below)
  • Pathfinding (not enabled for now)
  • Respawn of monsters

 

AI behaviors implemented so far:

demonsample.png : Melee attack

demonsampleorange.png : Ranged attack

demonsamplekhaki.png : Hit and run

demonsampleyellow.png : Just wandering

 

Technologies:

  • Written in TypeScript
  • Powered by Phaser Framework

 

If anyone serious enough is interested to improve this game (game design, game play, graphics, optimizations), feel free to contact me.

screenshot20160829.gif

 

Link to comment
Share on other sites

  • 2 weeks later...

Hi everyone!

Here are some news about my little project which can be tested here: Clash of the Daemons.

  • We can now move and attack at the same time. More generally, the input handling has been improved with implementation of multiple commands assignement for a keystroke as well as a delay before repeat.
  • We can go back to the title screen after the game over.
  • Behaviors can now be assembled together.
  • High-level behaviors have been redesigned, especially ranged attack and hit-and-run.
  • A new behavior, sneak attack, has been implemented (Fig. 2).
  • A character (pawn) can have a set of weapons (inventory). Current weapons are claw (melee) and fireballs (ranged). Only one weapon can be active at a time. Each weapon has a charging time (time needed before activation), an activation time (time the weapon is active as well as its effects) and a cooldown time (time during which the weapon is unsusable).
  • Key mapping has been changed accordingly. CTRL to attack, and TAB to switch to the next weapon.
  • Debugging mode has been improved. These following informations can be displayed: FPS, grid, velocity vector, obstacle detector, hitbox, collisions, simplified sprites (Fig. 3).
  • Improved the build process with the automation of graphical assets compilation (mainly the spritesheet).
  • Title screen has been updated and improved a little bit (Fig 1.)

Bug fixes:

  • Attack animations run to their last frame.
  • A memory leak in the AI module has been fixed.
  • When the player loses a life, the HP bar now updates accordingly.
  • Monsters will not be spawned at the same location of another game object anymore.

369944screenshot20160911.png
Fig. 1: Title screen

266966behaviorAttackMeleeBehind.gif
Fig. 2: Sneak attack behavior

308884screenshot20160911.gif
Fig. 3: Displaying debug mode informations

There is a lot of room for improvements (and bug fixes! ^_^) of course. 

Still, if there is anyone serious enough interested in this project, for improving its game design, gameplay, graphics, sounds, musics, background story, programming also, feel free to contact me.

Best,

Yahiko

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...