|
Posted By
|
Message
|
 Road Kill 1987
Registered 7/29/2009
Points 134
|
30th July, 2012 at 7/30/2012 12:31:52 PM -
Hi all, I'm stuck with this. I've not wasted a lot of time on it but thought I'd see if there is a way of efficiently doing it.
The situation is when you get so far in the game a lot of different coloured blocks come up and eventually there are no more moves, I've tried using active objects and alterable values to test but I can't figure out the way of testing this, also how would I tell if all objects match to each other's value and none of them differ.
Help on this would be greatly appreciated.
Xbox live Gamertag: Road Kill 1987
|
 Sketchy Cornwall UK
Registered 11/6/2004
Points 2479
|
30th July, 2012 at 7/30/2012 4:15:07 PM -
The first part, you'll need to give a lot more details.
The second part:
+ Always
-> Set Global_A to Alterable_A("Object")
-> Set Global_B to 1
+ Alterable_A of Object <> Global_A
-> Set Global_B to 0
+ Global_B = 1
-> All objects have matching alterable values...
Edited by Sketchy
n/a
|
 Jenswa Possibly Insane
Registered 8/26/2002
Points 2217
|
5th August, 2012 at 8/5/2012 11:21:08 AM -
Are you creating some sort 'match blocks together' game? It's the only thing I can deduce from your description, isn't going to be anything like Kirby's Avalanche? (Or actually Puyo Puyo)
http://www.youtube.com/watch?v=uPfYSH0dE_I
If so, you also want to check if a set of blocks is continuous, by checking if adjacent blocks have the same color.
Or is it some sort of 'SET!' game?
http://www.setgame.com/set/puzzle_frame.htm
Which means occasions can occur in which there are no moves left to do.
Please explain a bit more or add some kind of demo to show us.
Happy coding!
Check out DTV Boxes http://ow.ly/k13fh (work in progress)
Download hh_beer.zip from http://ge.tt/4d07kPc/v/0 and hhxl.zip from http://ge.tt/3kbXlPc/v/0
|
|
|
|