|
|
|
 |
Posted 2004-10-05, 09:34 AM
in reply to Draco2003's post "Chess in RPG Maker 2003"
|
 |
 |
 |
Hallo Draco. Long time no read. I'd advise to use lots and lots of switches, and a lot of common events, so that the events on the board aren't changed. Maybe:
A switch at the start for every piece, saying which can be moved or not: e.g Switch 1: on --> <>If:
<>Switch 1: on
<>(some weird coding that does not allow the piece to be picked up etc.)
<>Else
<>(some more coding about piece being able to move).
And then a switch turned on when a player has made a certain move: e.g.
A2 3 4 5 6 7 8
B
C
D
E
F
G
H
Pawn G1 to square E1, turn on switch that says whether it can be taken, and other switches saying what can take it.
The only problem with all of the above, is that you'll need hundreds of them for one game.
I think I may have just built upon Blue's little explanantion, I don't know, I don't really understand his explanations very often so.
Anyway, doubtless that there'll be some way you can set up an event of Universal rules for the moving of pieces, so you don't have lots and lots of codes and branches etc.
I'd advise not to listen to me that often though, go with Blue.
-----
Edit: Sorry about my little chess board somewhere above, I can't seem to get it right without using a pic, but you get the general idea, yes?
Last edited by Lenny; 2004-10-05 at 09:36 AM.
|
 |
 |
 |
|
|
|
|
|
|
|