Creating one-click adventure games

Started by Leon101, Sat 04/04/2009 18:00:26

Previous topic - Next topic

Leon101

I wanted to know how you create a one click adventure game. You know, like when there is a  chair in the living room for example, and you hover the mouse of it. The mouse changes color and down at the bottom it says: Look at chair.

And all the game needs for imput is a left click, to do everything, from opening a door to picking up an item.

Trent R

You're going to need to study and read the code in on_mouse_click, and repeatedly_execute.

Also, you'll want to check out the manual entries for Game.GetLocationType, Game.GetLocationName. Oh, and probably read up on 'Handle inventory clicks' (here and here)

Maybe even look at SSH's Description module?


~Trent
PS-Sorry this is such a RTFM post. I'm a tad busy at the moment, I may come back and type up some more.
To give back to the AGS community, I can get you free, full versions of commercial software. Recently, Paint Shop Pro X, and eXPert PDF Pro 6. Please PM me for details.


Current Project: The Wanderer
On Hold: Hero of the Rune

Leon101

Thanks! That's exactly what I was looking for.  ;D

SMF spam blocked by CleanTalk