Skip to main content
GameDev.net gamedev.net
🔒 Locked

Puzzle Game Logic

Started by GMaker0507 Oct 29, 2012 at 4:26 PM 0 replies 1.4k views
Original Post
GMaker0507
GMaker0507
I'm making a puzzle game similar to: http://www.addictinggames.com/puzzle-games/jewelanche.jsp

However i was curious, if there is an way to make sure i always have a connect-3 or more availabile
kuramayoko10
kuramayoko10
Given how heavily based on physics this game is -- shapes don't necessarily fit together, things blowup and the shapes go flying everywhere -- I don't think that there is a direct way to generate valid 3-connect situations at all times.

Playing a little bit right now I ended up in a situation without 3-connect shapes available and I had for more shapes to drop.
What you have to do is to use probability and determine for each shape a minimum ammount that should be available on the scene so that they will probably end up together.

This is a pretty interesting game. Good luck with your puzzle
Programming is an art. Game programming is a masterpiece!

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.