Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: [WIP] Racod's Lair - a coop dungeon crawler [Demo Released]  (Read 97440 times)

0 Members and 3 Guests are viewing this topic.

Glocke

  • Sr. Member
  • ****
  • Posts: 289
  • Hobby Dev/GameDev
    • View Profile
[WIP] Racod's Lair - a coop dungeon crawler [Demo Released]
« on: September 20, 2014, 06:36:11 pm »

Racod, scourge for mankind, escaped to its lair to regenerate for his next decade of terror.
You and your brave fellows are willed to find and defeat Racod.


Genre: Coop Dungeon Crawler / Hack'n'Slash RPG

Target platforms: Windows, Linux


Core features:
  • Procedurally generated dungeons, enemies and loot
  • Cooperative gameplay via splitscreen and/or shared camera
  • Mod-friendly through XML-based content and Lua-based AI scripting

What is used: C++11, SFML, Thor, Boost, Sol2

« Last Edit: January 04, 2018, 06:04:57 pm by Glocke »
Current project: Racod's Lair - Rogue-inspired Coop Action RPG

Tex Killer

  • Full Member
  • ***
  • Posts: 242
    • View Profile
Re: Rage - a "modern" rogue-like
« Reply #1 on: September 20, 2014, 07:02:00 pm »
Interesting!

Are you planning on releasing it? What about other platforms?

Anyway, congratulations on the project, seems nice so far.

Glocke

  • Sr. Member
  • ****
  • Posts: 289
  • Hobby Dev/GameDev
    • View Profile
Re: Rage - a "modern" rogue-like
« Reply #2 on: September 20, 2014, 07:17:56 pm »
Are you planning on releasing it? What about other platforms?

Well, it's a pure hobby-based project. So, if it will be ready one day, I will release it for free. So I cannot state about possible platforms. But I'm thinking about versions for linux and windows (hopefully 32 and 64 bit). I don't have experiences in other platforms like MacOS or various mobile systems, yet.

Anyway, congratulations on the project, seems nice so far.

Thanks!
Current project: Racod's Lair - Rogue-inspired Coop Action RPG

AFS

  • Full Member
  • ***
  • Posts: 115
    • View Profile
Re: Rage - a "modern" rogue-like
« Reply #3 on: September 21, 2014, 02:56:16 am »
Looking good! (sorry for not having something more useful to say).

I'll keep an eye on this, it looks really interesting. Good luck with the project ;)

Glocke

  • Sr. Member
  • ****
  • Posts: 289
  • Hobby Dev/GameDev
    • View Profile
Re: Rage - a "modern" rogue-like
« Reply #4 on: September 21, 2014, 10:57:08 am »
I implemented a first approach of reducing the field of view to a limited area. tiles out of this view are rendered dimmed by applying another sf::Color. Also objects are only rendered if they are within the area. So the entire scene gets more atmosphere.



The field of view isn't correct, yet - and the field is rendered very awkward, because I can only apply a color per tile. This might be changed later (a lot later, I guess) when introducing shaders .. one day ^^
Current project: Racod's Lair - Rogue-inspired Coop Action RPG


Cirrus Minor

  • Full Member
  • ***
  • Posts: 121
    • View Profile
Re: Rage - a "modern" rogue-like
« Reply #6 on: September 22, 2014, 08:59:45 am »
Hi Glocke,

looks good, and rogue games are very good to learn game dev !

Your dungeons look like the ones in NetHack. The LOS rules can be:
- corridors are in shadows, you've to wear torch to see far,
- rooms are lit, you can see the entire room when you've entered.

I can see 2 tiles wide corridors: you've to think about doors !

libtcod has useful tools for roguelike development.

Good luck with this project !

Glocke

  • Sr. Member
  • ****
  • Posts: 289
  • Hobby Dev/GameDev
    • View Profile
Re: Rage - a "modern" rogue-like
« Reply #7 on: September 22, 2014, 11:41:57 am »
http://en.sfml-dev.org/forums/index.php?topic=16201.0

Thanks, I'll keep this in mind for later UI improvements :)

Your dungeons look like the ones in NetHack. The LOS rules can be:
- corridors are in shadows, you've to wear torch to see far,
- rooms are lit, you can see the entire room when you've entered.

Sounds really interessting! Thx, I'll keep this in mind for the later gameplay implementation. Currently, my project is only a "tech demo" growing with additional features.

I can see 2 tiles wide corridors: you've to think about doors !

Actual, I made all (or at least most) corridors two-tiles-wide. Because I'm focusing on split-screen-coop, additional room is necessary for later gameplay.

libtcod has useful tools for roguelike development.

Well, because I'm in a process of learning, I want to implement everything myself (except SFML of course ^^).

Update

As mentioned, I changed some map generation parameters to achieve corridors which are 2 tiles wide. Also room sizes has been increased. Both should offer more space for later cooperative playing.

Also, I improved the FoV algorithm by using per-tile-raycast (which is currently implemented via recursion and adding visited tiles to a set - for avoiding double-visit).

Thirdly, I changed the graphics. To be honest, I don't know where the previous graphics came from. I just found them somewhere at my disk. To avoid future copyright problems, I'm now using CreativeCommons graphics from http://opengameart.org/.

Here is another video introducting another feature: casting spells. Currently, only fireblasts are implemented as a prototype for bullet-like gameobjects (arrows, other spells etc.). Those objects kill all gameobjects they collide with - and finally vanish when hitting a wall.



By the way: To visualize collision handling for debug mode, I'm rendering all "locked tiles" (tiles where objects are currently located) colored red.
Current project: Racod's Lair - Rogue-inspired Coop Action RPG

Glocke

  • Sr. Member
  • ****
  • Posts: 289
  • Hobby Dev/GameDev
    • View Profile
Re: Rage - a "modern" rogue-like
« Reply #8 on: September 23, 2014, 05:56:07 pm »
Hi, some additional features has been implemented - including:
  • animation handling
  • simple rpg stats implementation (currently: health and mana)
  • fireblasts cost mana and inflict damage to the target on collision
  • own mana and health are displayed
  • health of the currently focused object (by own face direction) is also shown
  • additional gamepad support (using 2 axis and 1 button, yet ^^)
  • splitscreen for two players

I'm looking forward for the next development steps. Those steps might be melee combat with some sort of simple animation (as UI indicator in the first place), an additional "bullet-like" attack (e.g. using archery) and attacking enemies. Just walking/standing isn't quite much, yet ^^
Current project: Racod's Lair - Rogue-inspired Coop Action RPG

Mörkö

  • Jr. Member
  • **
  • Posts: 96
    • View Profile
Re: Rage - a "modern" rogue-like
« Reply #9 on: September 23, 2014, 09:37:02 pm »
I think you should consider changing the mechanics for how the visible range is rendered. The choppy motion of the light field around the player is almost giving me a headache from watching those brief videos, and would certainly make me not play the game.

Here are a few considerations from the top of my head:
  • Make a simple gradient consisting of 2-3 blocks, so that the contrast is not so strong.
  • Make the nonvisible area lighter, so that the contrast is not so strong.
  • Make the light area larger, so that the choppiness is not so much in focus.
  • Look into using shaders to create a per pixel smooth gradient. I don't know how the current shadow system works because you did not post your source, but I dare guess you don't use shaders.

Anyway, good luck and keep going.

Glocke

  • Sr. Member
  • ****
  • Posts: 289
  • Hobby Dev/GameDev
    • View Profile
Re: Rage - a "modern" rogue-like
« Reply #10 on: September 24, 2014, 09:25:36 am »
I think you should consider changing the mechanics for how the visible range is rendered. The choppy motion of the light field around the player is almost giving me a headache from watching those brief videos, and would certainly make me not play the game.

Your absolutly right!

Look into using shaders to create a per pixel smooth gradient. I don't know how the current shadow system works because you did not post your source, but I dare guess you don't use shaders

Right: I'm not using shaders, yet. The field of view is generated recursive by raycasting into different directions and saving all visited positions to a set - until a given distance has been reached.

I amlost planned using shaders to solve this issue. Because it's a pure UI-related feature, I'll delay the shader-topic to be done before the first release - I don't have any experiences with shaders, yet. But reducing the contrast should work in the first place. So thanks for your feedback! :)
Current project: Racod's Lair - Rogue-inspired Coop Action RPG

Tex Killer

  • Full Member
  • ***
  • Posts: 242
    • View Profile
Re: Rage - a "modern" rogue-like
« Reply #11 on: September 24, 2014, 09:38:10 am »
If all you want to have is circular visibility, you can always make an image with a transparent circle in the middle, semi-transparent black color everywhere else, then draw that on top of everything. What is outside the circle should get darker. You can even get gradient shadows with that trick.

Glocke

  • Sr. Member
  • ****
  • Posts: 289
  • Hobby Dev/GameDev
    • View Profile
Re: Rage - a "modern" rogue-like
« Reply #12 on: September 24, 2014, 10:22:06 am »
If all you want to have is circular visibility, you can always make an image with a transparent circle in the middle, semi-transparent black color everywhere else, then draw that on top of everything. What is outside the circle should get darker. You can even get gradient shadows with that trick.

Well, I tried this but I didn't get away the "border" between semi- and fully transparent. So the scene would look like "through glasses with thick borders", which isn't what I really what.
Of course the current behavior isn't very different - but more "out of the box" ^^
Current project: Racod's Lair - Rogue-inspired Coop Action RPG

dabbertorres

  • Hero Member
  • *****
  • Posts: 505
    • View Profile
    • website/blog
Re: Rage - a "modern" rogue-like
« Reply #13 on: September 24, 2014, 07:08:06 pm »
Did you try multiple circles that get less and less transparent to get the gradient effect?

Glocke

  • Sr. Member
  • ****
  • Posts: 289
  • Hobby Dev/GameDev
    • View Profile
Re: Rage - a "modern" rogue-like
« Reply #14 on: September 24, 2014, 07:13:59 pm »
Did you try multiple circles that get less and less transparent to get the gradient effect?

Not yet, but I like this idea! ;D

Update

Today, I was reworking nearly the whole event system by introducing an event-driven hud per player. So each event (e.g. onDamageReceived) is forwarded to an object's hud (if it has one). So the hud can e.g. count killed enemies and display it.

As mentioned, I reduced the contrast between tiles inside/outside the player's view. But I will focus on dabbertorres "circle-approach" next.

Here's a small video. It introduces splitscreen (as mentioned before), simple animations, an event-driven hud and a new sprite under CreativeCommons: the red imp :o

Have fun while' watching - I'm sorry for the still awkward field of view rendering :-X

Current project: Racod's Lair - Rogue-inspired Coop Action RPG

 

anything