Please login or register.

Login with username, password and session length
Advanced search  

News:

For WME related articles and tutorials visit WME Resource Center.

Author Topic: x, y selected item?  (Read 2413 times)

0 Members and 1 Guest are viewing this topic.

Nico

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 7
    • View Profile
x, y selected item?
« on: January 31, 2005, 03:58:31 PM »

Hey everybody,

I was wondering how I can set the x y  coordinates of the selected item next to the cursor.

I couldnt find a script (game? game_deamon? etc) where this is defined...?

Does anyone know how to manage this?

Greetz,

Nico
Logged

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: x, y selected item?
« Reply #1 on: January 31, 2005, 04:55:22 PM »

You can affect the position by making the item graphics a sprite (with a single frame) and then move the "hotspot" of that frame. This hotspot is the point from which the frame is being drawn.
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave
 

Page created in 0.028 seconds with 19 queries.