This topic is now archived and is closed to further replies.

trouble with highlighting multiple squares on virtual board

This topic is 5666 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Guest Anonymous Poster
you''ve heard of chess or checkers? well, they''re played on a board that has squares, but I''m making a computer game so the board is virtual-exists in cyberspace, in the electrons and transistors of my computer

Share this post

Link to post
Share on other sites
Ahhh I see, a _chess_ board (why didn''t you mention that right away in you first post?? ;-)). But still, what''s the exact problem? Could you post some code you already have, and tell where things are messed up or something?

Share this post

Link to post
Share on other sites
I knew someone would ask for code.
Read the original post.
If you really want to see some code, I put the problem in the General Programming and have since solved it. I don''t believe I''m cross posting because this post wasn''t about solving my particular problem and was just an exercise in trying to expand my knowledge and receiving a reminder of the old lesson that there''s usually more than one way to do things and that those solutions are usually better than what hack I came up with.

Well, I did learn something, there is apparently another definition of ''board'' when used in the context of games, I don''t know what it is, but at least I know it''s out there somewhere.

You''re right though, forgetting what I know of my own project, I have not given sufficient detail. For one, I say ''highlighting'', actually, the highlighting is a graphics concern and it works perfectly, I shoulda said ''selecting''. I think it''s 50/50 to say whether the ''multiple squares'' is enough.

I have a new sig
Conservative/Republican: Display the guns proudly, hide the erotica for fear of scandal.

Liberal/Democrat: Display the erotica, hide the gun for fear of scandal.

Vote Libertarian.

Share this post

Link to post
Share on other sites
deinations of board:

n 1: a committee having supervisory powers; "the board has seven
2: a flat piece of material designed for a special purpose; "he
nailed boards across the windows"
3: a stout length of sawn timber; made in a wide variety of
sizes and used for many purposes [syn: plank]
4: a board on which information can be displayed to public view
[syn: display panel, display board]
5: a flat portable surface (usually rectangular) designed for
board games; "he got out the board and set up the pieces"
[syn: gameboard]
6: food or meals in general; "she sets a fine table"; "room and
board" [syn: table]
7: electrical device consisting of an insulated panel
containing switches and dials and meters for controlling
other electrical devices; "he checked the instrument
panel"; "suddenly the board lit up like a Christmas tree"
[syn: control panel, instrument panel, control board,
8: a printed circuit that can be inserted into expansion slots
in a computer to increase the computer''s capabilities
[syn: circuit board, circuit card, card]
9: a table at which meals are served; "he helped her clear the
dining table"; "a feast was spread upon the board" [syn: dining

some ppl also use it to refer to a level in a game. ie i made it to the 5th board. you could just use level. this is why its very good to use adjectives to describe the board you are talking about when talking on this board or any board for that matter.

Share this post

Link to post
Share on other sites
Guest Anonymous Poster
a person, congratulations on being able to copy and paste, he said
Original post by RolandofGilead
...there is apparently another definition of ''board'' when used in the context of games...

This is why I hardly ever read anything except the Game Design forum. When there is a right answer, you look it up, when there''s more than one way to do things, wouldn''t it be a nice idea to discuss various methods of achieving the goal. Perhaps this could use a restatement(that means say it again), of what I believe to be the point of this thread. RolandofGilead, plz correct if wrong,

You have a board, similar to a chess board, to make it more intesresting we''ll say that the shape of the places on the board can be whatever shape you want, diamond, square, hexagons, etc.
You need to be able to select various portions of the board, rather than only one place on the board being selectable at one time.
How would you go about it?

Share this post

Link to post
Share on other sites