Please login or register.

Login with username, password and session length
Advanced search  

News:

Latest WME version: WME 1.9.1 (January 1st, 2010) - download

Author Topic: Sierra right click interface  (Read 30019 times)

0 Members and 1 Guest are viewing this topic.

Rocco

  • Occasional poster
  • **
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 87
    • View Profile
    • Virtual-Illusion
Sierra right click interface
« on: July 11, 2005, 07:32:46 PM »

Hi all,

After setting all things up, this way i nearly need it for my first wintermute game,
i want to make it downloadable for other newbies.
Nothing special, but maybe useful for others who can learn a new engine best, when
examining sourcecode examples, like me.
My impression is, that wintermute is a great engine, but the community is very small,
therefore not much source code snippets are available at the moment.

So here are the "features" of my example:

- myst style game without an actor
- sierra style right click interface with three options
- scenemenu, instead of using the window approach for the menu.
- example intromovie

Open Source Template
Mystic Triddle Engine Source ~ 2,5 MB

Here is the game i made with it:
Mystic Triddle ~ 27MB

thx to mnemonic, jerrot and all the other helping wintermuttis  ;D
« Last Edit: April 22, 2015, 12:50:39 PM by Rocco »
Logged

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: Sierra right click interface
« Reply #1 on: July 12, 2005, 07:37:18 AM »

Great! Thank you, Rocco.
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

SoundGuy

  • Regular poster
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 196
    • View Profile
Re: Sierra right click interface
« Reply #2 on: June 26, 2006, 11:06:56 PM »

I tried your right click interface, and it looks awesome apart for one thing.
For some reason the verb icon changes slowly even if i click a very fast.
like i click 4-5 times a second and it only changes verbs one a second.
have you encountered something like this, and perhaps have newer code ?

Oded
Logged

SoundGuy

  • Regular poster
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 196
    • View Profile
Re: Sierra right click interface
« Reply #3 on: June 26, 2006, 11:18:10 PM »

Found the problem and fixed it..
just add the RightDoubleClick event:
Code: WME Script
  1.  
  2. on "RightClick"
  3. {
  4.                                                
  5.                         switchcursor();       // function for right click defined in functions.inc
  6.  
  7. }
  8.  
  9. on "RightDoubleClick"
  10. {
  11.                                                
  12.                         switchcursor();       // function for right click defined in functions.inc
  13.  
  14. }
  15.  
« Last Edit: February 08, 2009, 06:49:06 PM by Jyujinkai »
Logged

Rocco

  • Occasional poster
  • **
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 87
    • View Profile
    • Virtual-Illusion
Re: Sierra right click interface
« Reply #4 on: October 12, 2006, 05:39:21 PM »

thanks SoundGuy, i included your suggestion in the new uploaded example.
Logged

elfersp

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 6
    • View Profile
Re: Sierra right click interface
« Reply #5 on: February 06, 2009, 10:56:19 PM »

Hey Rocco -

I have a couple of questions -

First, once I'm in one the two rooms, how do I reach the menu?  I wouldn't know how to "save" if I can't get there.  Maybe I'm missing something obvious.  Also, if you had a character (I know you don't) then wouldn't you have to do something special to remember his or her state?  Where standing and in which scene?

Next - the inventory window still displays at the top of the menu screen (since it is a scene) - isn't that a little strange?

Sorry if these are dumb - this is my first post to this board!
Paul
Logged

Rocco

  • Occasional poster
  • **
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 87
    • View Profile
    • Virtual-Illusion
Re: Sierra right click interface
« Reply #6 on: February 08, 2009, 02:23:12 PM »

Hi elfersp,

You can reach the menu in every room by pressing ESC.
and when you use a character, you havent to deal with any states or variables, wintermute will do all the work for you.  ;)

Yeah the inventory window is also shown in the menu scene, but its no big deal to deactivate this behavior.

In this board, there are also very good other demos with characters and other stuff, so check them out.
Logged

piere

  • Supporter
  • Frequent poster
  • *
  • Karma: 4
  • Offline Offline
  • Posts: 302
  • Sorry for any bad english in my posts. Game on !
    • View Profile
Re: Sierra right click interface
« Reply #7 on: February 22, 2011, 12:21:39 AM »

Can you re-post the link?
Logged

Rocco

  • Occasional poster
  • **
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 87
    • View Profile
    • Virtual-Illusion
Re: Sierra right click interface
« Reply #8 on: February 22, 2011, 09:50:12 AM »

its up and running again.  :)
Logged

anarchist

  • Regular poster
  • ***
  • Karma: 5
  • Offline Offline
  • Gender: Male
  • Posts: 212
    • View Profile
Re: Sierra right click interface
« Reply #9 on: February 23, 2011, 12:30:04 AM »

Excellent example thanks Rocco
Logged

SOLO

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 23
    • View Profile
Re: Sierra right click interface
« Reply #10 on: November 15, 2011, 03:13:24 PM »

Rocco,
          Great example but how would I implement this with the basic demo menu?
What I mean is I have an actor on screen and the normal mouse pointer and when I press the RIGHT mouse button the MENU appears initially and then RIGHT clicking afterwards moves through the actions - LOOK, TAKE etc

Can this be done?

All I get is errors or it does not work, is this because of the loop?

Many thanks
Logged
Best Regards
SOLO

isabusl

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 1
    • View Profile
Re: Sierra right click interface
« Reply #11 on: June 18, 2012, 03:22:34 PM »

its up and running again.  :)

I get an error message:

chCounter: MySQL error!
SQL query:
    INSERT INTO `V_Illu_count_downloads_and_hyperlinks_logs` ( id, typ, timestamp, monat, anzahl ) VALUES ( 8, 'download', 1340028972, 201206, 1 );
Error number: 1142
INSERT command denied to user: 'virtual@dd26118.kasserver.com' for table 'V_Illu_count_downloads_and_hyperlinks_logs'
Script stopped.

Could you please upload it again?  ;D
Logged

3cats

  • Lurker
  • *
  • Karma: 1
  • Offline Offline
  • Posts: 18
    • View Profile
Re: Sierra right click interface
« Reply #12 on: July 17, 2013, 12:19:04 PM »

Anybody still have the source files ?
Thanks !
Logged

Rocco

  • Occasional poster
  • **
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 87
    • View Profile
    • Virtual-Illusion
Re: Sierra right click interface
« Reply #13 on: April 22, 2015, 12:43:54 PM »

Better late as never, its up and running again.  :)
Logged
 

Page created in 0.044 seconds with 20 queries.