Jump to content
  • Advertisement
  • entries
  • comments
  • views

First 'mini-game' mechanic in Revel

Sign in to follow this  


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*/ }});


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.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!