Ultimate Amiga
Amiga Software Help / Discussion => Software Development => Topic started by: rednova on February 11, 2015, 02:21:07 AM
-
Dear Amos Friends:
I want to make a strategy amos game in amiga. I would like to make a map with different countries,
and then, like in defender of the crown, to be able to as you move the mouse thru a defined area,
be able to pick the right country. Is it possible to do this in amospro ? I have both v 1 and v2 amospro.
Please help me !!!
-
This is done using discrete math. It is called graph theory.
The way it works is to define an "arc" between each adjacent border. If there is a cost difference that will be the "weight" of each arc.
To be able to highlight the countries individually you'll need to define each one as a bob. You can use collision detection to figure out which the mouse is over.
-
Hi:
Your suggestion is excellent and I believe I can do it now.
Great idea to make each country as a bob and then use collision detection to know which
is which. Thank you !!!