Here is my idea:
click(x,y)
so you could do things like.... drag and drop games, etc.
Or buttons etc.
Very nice status bars to give THOUSANDS of more possibilities to gameplay.
and having var's like: click[index].x, click[index].y
examples:
NPC Code:
if(playerenters||timeout){
//Detects Click
if(click(playerx,playery)){
this.clicked=1;}else this.cliked=0;
//Drags Player
if (this.clicked==1){
if (clickx!=playerx){
playerx=clickx;}
if (clicky!=playery){
playery=clicky;}
}
timeout=.05;}
Please share your opinions on this, thanks.