Dad72

[Game] Full demo of a small game RPG

33 posts in this topic

Hi,

 

I created a course Babylon in French on OpenClassRooms is an online editor just as Eyrolles (for those who know) and I created this course to show how to create a game from start to finish using engine functionalities.
This game, I wish also to share Babylon also because I think it can be a good source of inspiration for those who want to create RPG games. I use a lot of trees, shadows, and other collisions and result: 60 FPS. :)
This game shows that on an island on which the character must light a fire to be saved from the island.

Here the functionality used in this small game:

Optimisation:

  • Octree for collision, selection and dynamicContent
  • WorkerCollision activated for optimized the collision
  • LOD + instances for the forest
  • sceneOptimizer to keep proper FPS
  • Subdivide ground

Scene:

  • Ground + elevation + multi-material
  • Water with reflexion and refraction
  • Texture procedural for the fire
  • Particle for the smoke
  • Sprites for the clouds
  • Lens flare for the sun
  • Shadows
  • Collisions and gravity
  • Sun, skybox and lens flare
  • Mucic for the scene (for all browser: ogg and mp3)
  • Sound for the fire (for all browser ogg and mp3)
  • Post-process FXAA
  • ImportMesh to load the objects in the scene
  • Language system with cookie (FR and EN)
  • Extention CastorGUI

Interaction:

  • Picking for pick Key and match box
  • Actions with condition for start fire and doors
  • Show/hide DebugLayer with CTRL + F12
  • Animation player (walk, run, pick) mode RPG with ZQSD (French) or WASD (Englich) : Z or W + MAJ for run

Name Game: SURVIVAL

 

Link of game: 

http://www.babylon.actifgames.com/Survival/index.php

Screenshot:

Survival_zoom.jpg.cd48a192375d99640f8f3e

Share this post


Link to post
Share on other sites

Wow, very cool so far... but somehow I can't find the key in the forest... :D I give it another try after dinner!

 

One thing I noticed: when moving the camera seems to shake or to jump...not sure how to describe it... you know what I mean? Oh and some of those trees seem to disappear while there are still other trees further away that don't disappear... is that the intended behavior?

Share this post


Link to post
Share on other sites
Thank you for your comment and test.

 

Yes the key is the most difficult to find. we must observe. Try left the forest when you get to the beach. (the key is rusty)

 

And for the camera that shake or to jump is because of the collisions in the forest. I feel that the engine makes many calculates all the trees goshawks. Maybe he should trees more space or try to use a physical place of moveWithCollisions()

 

For trees, the LOD that does this. I removed the distant trees to save resources and to show that It Works.

 

I just wanted that Babylon LOD system is a smoother transition from one level of detail to the other. Can be anr future improvement LOD for engine .

Share this post


Link to post
Share on other sites

Okay, found the key... the cursor didn't change when hovering over it (it did with the fire). So I didn't see it at first. But found it and lit the fire :D

Dad72 likes this

Share this post


Link to post
Share on other sites

Nice game ! Didn't find the key, maybe you can make it more visible...

 

Help me I'm stuck on this island :/

 

Temechon good point, I'll try to make it more visible. In the meantime, we must look to the left of the forest and at the bottom.
 
Thank you Deltakosh I add the link image of 400 * 250 if you want to put that the demo on the site in THIRD-PARTY ?

Share this post


Link to post
Share on other sites

Nice.  Could not find Mary Anne either, until I turned off a lot of meshes.  Turned the "ground" back on after I navigated to the key.  Yea, the key needs to be more findable.  Still did not see Mary Anne though.

Dad72 likes this

Share this post


Link to post
Share on other sites

C'est bon dad :)

 

Not sure what this "can't find the key" stuff is all about as i found it immediately - maybe I've spent too many hours in adventure games looking for keys in dark rooms :o

 

As for iiceman's comment:

 

Oh and some of those trees seem to disappear while there are still other trees further away that don't disappear..

 

What I noticed more was disappearing shadows. The impact of  Octrees or LODs do not cast shadows?

 

cheers, gryff :)

Dad72 and Samuel Girardin like this

Share this post


Link to post
Share on other sites

I Can't find the key! (Opening debug console...)

 

Joking - I actually found the key.

Looks really good! Just some points (as we all love to give them):

  • The camera is not always showing the player (hiding behind trees and objects), and if the player is very close to the shed you can't really see him.
  • The actions (for example lighting a fire or picking up the key) can be executed very far away from the target objects. So, standing next tot he shed I triggered the fire.

 

But those are small things. This is really awesome!!

Dad72 likes this

Share this post


Link to post
Share on other sites

Really nice!
 

I liked the sprite method for clouds, simple but looks convincing!

I'm also making a small rpg scene, with terrain, trees, dynamic sky and shadows.
I will show it when I find the time to finish it:


printscreen_1.jpg

 

sunset1.jpg

Share this post


Link to post
Share on other sites
Thank you for all your nice comments. Yes there are some small details that could be improved, but I have no idea how yet been taken. I realized this just for educational purposes. I realized this in three weeks. I think that there are things I would do differently if it was to create a real game, but then I wanted to address several features of the engine.

 

For the camera to go under the ground, I can fix that. but for the camera that goes behind the trees, I do not know how to do. And in terms of what we're going to drown in the water I think is what I can do there.

 

Very nice as what you have done BigOfGold. I am sure you did a system day/night very realistic. I like.  :)

 

Jerome, the course OpenClasseRoom is still realization. I am in part 4 which is precisely to explain how I made this mini game. It is therefore not yet offer the CourseLab. But I would not fail to open a new topic for this.  ;)

Share this post


Link to post
Share on other sites

Excellent !! Bien joué, j'ai hâte de voir le tuto publié sur OpenClassRoom, quelque chose me dit qu'il va avoir du succès !

Dad72 likes this

Share this post


Link to post
Share on other sites

Thanks.

 

My next game now on what I work for a long time will be an open source Metaverse using Babylon. It will be the first of its kind. It's still a lot of work 6, 8 months for one ALPHA test .

Share this post


Link to post
Share on other sites

Nice this looks awesome, I think it'd be cooler to not having to hold mouse to turn, I get a solid 100-144fps (144hz monitor), I couldn't find the key but managed to somehow get outside the skybox :D Do I win?

 

b8c2f3a475.jpg

Share this post


Link to post
Share on other sites
I think I will add a minimum and maximum zoom to avoid this kind of thing.

for the orientation of the character, I think it is easier to direct like that. Many are playing like that.

Share this post


Link to post
Share on other sites

It wasn't zoom, that was just to show what happened, I was in the water looking around, got stuck on the edge and kinda just slipped out of the map but didn't really fall, kinda weird.

Share this post


Link to post
Share on other sites

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

  • Recently Browsing   0 members

    No registered users viewing this page.