Skip to main content
GameDev.net gamedev.net
🔒 Locked

WALKING AND STUFF

Started by reverie Sep 17, 2000 at 11:04 AM 2 replies 250+ views
Original Post
reverie
reverie
In games such as myst, there is that little hand that lets you maneuver around. I want to know how to program that maneuver thing with C++. Can anyone help me?
Quantum
Quantum
if you are serious...give us some more info
morfe
morfe
That "hand" is your cursor with a custom image applied to it.

In Myst, the backgrounds are static images with predefined hotspots. When the cursor moves over it, the cursor changes to show you can click there. Clicking executes a predefined command for that hotspot.



"NPCs will be inherited from the basic Entity class. They will be fully independent, and carry out their own lives oblivious to the world around them ... that is, until you set them on fire ..." -- Merrick
Lucasdg
Lucasdg
Its just a cursor so just say "if the mouse is clicked when the cursor is in this region/pixel, and the cursor is the walk cursor, then walk to that square". You get what I mean write? I hope you don''t expect us to give you the actual code considering you haven''t said anything specific.

A bit vague, but so were you





-=[ Lucas ]=-
-=[ Lucas ]=-

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.