Jump to content
  • entries
    503
  • comments
    1888
  • views
    335282

First 'mini-game' mechanic in Revel

Sign in to follow this  
EDI

520 views

I recently added a 'mini-game system' to Revel which can host various mini-game instances.

Below you see 'MGSecretCode'

Any minigame can be started via an action (as part of activating a structure or choosing a response option in dialogue), and using simple syntax:

o.miniGame({type:"SecretCode",secret:"revel",success:function(){ /*result here*/ }});

revelaction16.gif

Mini-games will be used to 'break out' of the normal in-map gameplay mechanics.

For simple things such as choosing options, entering text; or more complex things such as lock-picking, piecing together notes, pattern matching, etc.

This gives us a bit more leverage in how to implement parts of quests and secrets in the game.
Sign in to follow this  


1 Comment


Recommended Comments

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
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!