Quack wrote:
ElectroPaladin wrote:
It seems Quack, that you're taking on a project similar to mine, even though my project
intends to be an isometric RPG project (using bitmap output graphics, whether rendered
or drawn).
@ElectroPaladin: I can always learn from others so I am looking forward to your project.
Now I am working with objects on my grid, by objects I mean tree/stone/etc and character.\
I want to select them with a mouse and then click another tile to make it move to.
Could you coders tell me what algorithm to implement? Btw I am a rough function that can calculate Iso coordinates from mouse position.
Maybe the programming language I use, may be somehow not very popular for most of you in the forum.
I use Lingo, which is the language of Macromedia Director. (I use Macromedia Director MX)
Here's a tutorial that helped me much in building my isometric engine for the game.
http://www.lingoworkshop.com/Articles/I ... Game_1.phpmaybe you won't know the language, but try to follow the principles and implement it in your project.
First, as the tutorial says, you should have a map - I've done these foundations of my isometric engine by determining the fact that maps are essential for your game world. Games consist of a large variety of maps that have various width/height, the boundaries of the maps, where you can't go further. To achieve better effect, I advise to have map boundaries and scroll boundaries inside the map that block the player to scroll out, so that (s)he can't see the map boundaries (to achieve the effect of real world) - this way was used in Post-Nuclear RPG, Fallout.
The travelling thru game world is made by exiting one map and entering another. Every map has its own variables and data stored to determine what's on the map and what's not anymore, solved quests, botched things etc.
The screen size of the map in pixels should be calculated by number of columns (Y tiles) * tileWidth (width of 1 tile) and the number of rows (X tiles) * tileHeight (height of 1 tile)
I bet you'll find the tutorial helpful
Concerning my project, anyone interested to see,
here's the link:
http://www.sendspace.com/file/b3fiioIt's no installation file, just unpack somewhere, but make sure the directories remain within.
The principial foundations of an isometric RPG are laid I would say, but I welcome your comments for improvement etc.
btw. Don't forget to read the readme file

_________________
Even this world is "programmed" by a Creator, the most skilled programmer of us all. What do you think of all that exists and all the environmental phenomena? He that maketh all had programmed it all and whenever needed, He can call one of the functions with input specified by Him.
