Welcome, Guest. Please login or register.

Author Topic: Cendric: An RPG Platformer  (Read 13217 times)

0 Members and 1 Guest are viewing this topic.

Ironbell

  • Jr. Member
  • **
  • Posts: 55
    • View Profile
    • Cendric
Cendric: An RPG Platformer
« on: February 03, 2016, 05:18:42 pm »

Cendric is an open source RPG-Platformer game
where the player can explore a world by completing levels and solving quests.



0.6.0 Demo Release available at Github for Windows (Mac, Linux tbd)

Genre: RPG, Platformer, Puzzle
Platforms: Windows, Mac, Linux
Mode: Single Player
Languages: English, German, Swiss German, Spanish (coming soon!)
Libraries: SFML, TinyXML, LUA, LUABridge, SQLite

Main Features
  • Top down map with level entries that lead to a sidescroller view
  • Water simulation and particle systems
  • 3 different guilds to join
  • Many spells that can modify a level
  • Spells itself can also be modified
  • Many NPCs, quests, dialogues and items



« Last Edit: October 21, 2017, 09:42:45 pm by Ironbell »

xylr117z4

  • Newbie
  • *
  • Posts: 34
    • View Profile
    • Email
Re: Cendric: An RPG Platformer
« Reply #1 on: February 03, 2016, 05:24:43 pm »
Looks pretty sick. I'll have to check it out when I get some spare time. I've always loved the idea of a top down map which lets the player explore and then having side scrolling levels which allow for awesome combat and gameplay.

Jabberwocky

  • Full Member
  • ***
  • Posts: 157
    • View Profile
Re: Cendric: An RPG Platformer
« Reply #2 on: February 03, 2016, 07:35:16 pm »
Pretty impressive for a "learn c++" project.  :)
That water effect is particularly neat!

Ungod

  • Newbie
  • *
  • Posts: 44
    • View Profile
Re: Cendric: An RPG Platformer
« Reply #3 on: February 03, 2016, 10:19:25 pm »
I really like it. Would like to read more about it soon. :)

However, the code-layout looks okay but lacks comments. I generally dont like tons of <50 line files. You could merge some of them that are related to each other, especially when the code is well tested and wont be altered much more (no recompiling). But thats just a personal preference i think. Cant say much more about the code atm but it looks well working since the game seems to be far progressed.

Hapax

  • Hero Member
  • *****
  • Posts: 2432
  • My number of posts is shown in hexadecimal.
    • View Profile
Re: Cendric: An RPG Platformer
« Reply #4 on: February 03, 2016, 10:37:42 pm »
This looks really nice. I now remember seeing this in the screenshot thread but couldn't really tell what was going on in that shot.

I generally dont like tons of <50 line files. You could merge some of them that are related to each other
Treating objects to their own files doesn't really have any down-side, other than having to create include guards over and over...
Selba Ward - SFML drawables
Kairos - Timing Library
Rectangular Boundary Collision - Rectangular SAT Collision

@Hapaxiation - Hapaxia on Twitter

Ironbell

  • Jr. Member
  • **
  • Posts: 55
    • View Profile
    • Cendric
Re: Cendric: An RPG Platformer
« Reply #5 on: February 05, 2016, 10:59:41 am »
I'm glad you like it! Thanks for all your nice comments.

However, the code-layout looks okay but lacks comments.

You're right, it is not as well documented as it could be. I'm going to polish that when everything's more final. I skipped that mostly because of time reasons (I can't work full time on the project as I'm still studying) and because our very small team has no problems with understanding the code.

I generally dont like tons of <50 line files. You could merge some of them that are related to each other, especially when the code is well tested and wont be altered much more (no recompiling). But thats just a personal preference i think.

Yes, and I prefer to work small classes and files :)

I'm planning to implement two more types of blocks for the platformer part, an unstable block that will fall down after a small delay when the player jumps on it and moving platforms that really challenge me with their physics  ;D. I'll keep you updated with the progress.




Tukimitzu

  • Full Member
  • ***
  • Posts: 112
  • Anti-Hero Member
    • View Profile
Re: Cendric: An RPG Platformer
« Reply #6 on: February 05, 2016, 04:44:15 pm »
Hey, nice water!

Kojay

  • Full Member
  • ***
  • Posts: 104
    • View Profile
Re: Cendric: An RPG Platformer
« Reply #7 on: February 05, 2016, 05:43:51 pm »
This is very impressive.

Some minor notes on building:
To get it to compile on linux with gcc5.2 it was necessary to make some changes, namely
- forward declare Slotclone in InventoryEquipment.h
- take some iterators by copy instead of reference (auto rather than auto&)

Will be definitely following development!

Ironbell

  • Jr. Member
  • **
  • Posts: 55
    • View Profile
    • Cendric
Re: Cendric: An RPG Platformer
« Reply #8 on: February 05, 2016, 08:28:33 pm »
Some minor notes on building:
To get it to compile on linux with gcc5.2 it was necessary to make some changes, namely
- forward declare Slotclone in InventoryEquipment.h
- take some iterators by copy instead of reference (auto rather than auto&)

Thank you for the catch! All the compiler errors are fixed now. We compile it from time to time on linux and mac systems to fix cross-platform issues, but didn't do so recently.

Hey, nice water!
Thanks  ;)

Ironbell

  • Jr. Member
  • **
  • Posts: 55
    • View Profile
    • Cendric
Re: Cendric: An RPG Platformer
« Reply #9 on: February 08, 2016, 06:25:31 pm »
Moving platforms are coming to Cendric  ;D And with them, a lot of new possibilities for puzzles.

Implementing collision for those was the most challenging thing I've coded for the project so far, and it's still not 100% perfect, but we're working on it.

For now, the platforms have the following features:
  • They can move in any angular direction, not only up/down or left/right
  • Size, speed, distance and skin are also exchangable parameters
  • They can be frozen/unfrozen
  • They will transport other moving objects, like blocks or enemies


Jabberwocky

  • Full Member
  • ***
  • Posts: 157
    • View Profile
Re: Cendric: An RPG Platformer
« Reply #10 on: February 10, 2016, 12:34:01 pm »
That physics stuff just screams out "use Box2D" to me.  But if it's for learning purposes, it makes sense to do it yourself.

Regardless, agree the platforms are cool and make for some interesting puzzle pieces!
Thanks for the update, Ironbell.

Kojay

  • Full Member
  • ***
  • Posts: 104
    • View Profile
Re: Cendric: An RPG Platformer
« Reply #11 on: February 10, 2016, 03:02:20 pm »
That physics stuff just screams out "use Box2D" to me.  But if it's for learning purposes, it makes sense to do it yourself.

I am not convinced this is so straightforward. Box2D offers realistic physics, which is not the physics of classic retro platformers.

fallahn

  • Sr. Member
  • ****
  • Posts: 295
  • Buns.
    • View Profile
    • Trederia
Re: Cendric: An RPG Platformer
« Reply #12 on: February 10, 2016, 03:35:38 pm »
That physics stuff just screams out "use Box2D" to me.  But if it's for learning purposes, it makes sense to do it yourself.

This sums up quite nicely why I don't think box2D is the best platform physics solution, plus writing your own is fun! :D I have to say the physics (and the water) remind me a lot of this:

http://youtu.be/g574U0Zlyf8?t=37s

I guess we must read a lot of the same books ;)

Mortal

  • Full Member
  • ***
  • Posts: 243
    • View Profile
Re: Cendric: An RPG Platformer
« Reply #13 on: February 11, 2016, 12:40:34 am »
it looks amazing, i remember this project from screenshot thread while ago, i was so sure it will be one of sfml success projects and it is. great job

the graphics and effects are pretty awesome, the water effect is special and looks fabulous. 

i would like to thank you for making this project open source it will help me and others to learn more about making games with sfml.

Ironbell

  • Jr. Member
  • **
  • Posts: 55
    • View Profile
    • Cendric
Re: Cendric: An RPG Platformer
« Reply #14 on: February 12, 2016, 01:35:52 pm »
That physics stuff just screams out "use Box2D" to me.  But if it's for learning purposes, it makes sense to do it yourself.

This sums up quite nicely why I don't think box2D is the best platform physics solution, plus writing your own is fun! :D

Agreed. I just read that article and I've stumbled upon most of the problems discussed there while implementing the collision logic, especially the paragraph about moving platforms. It was important to me to have it written at least once from scratch - you learn a lot and if you're going to code a similar game sometime in the future, you can still use a physics library (which you understand a lot better then, of course).

I have to say the physics (and the water) remind me a lot of this:

http://youtu.be/g574U0Zlyf8?t=37s

I guess we must read a lot of the same books ;)

Wow, that's your game, isn't it? Looks awesome, I'd love to see more :)

it looks amazing, i remember this project from screenshot thread while ago, i was so sure it will be one of sfml success projects and it is. great job

the graphics and effects are pretty awesome, the water effect is special and looks fabulous. 

i would like to thank you for making this project open source it will help me and others to learn more about making games with sfml.

Thanks for the motivation :) I really hope that we're able to finish this game. It's hard work and needs a lot of time, but I'm quite enthusiastic about it. It was also important to me to leave it open source, so people can have a look and profit themselves, even if its code is maybe not always the best example.