Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
2 registered members (OptimusPrime, AndrewAMD), 14,580 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Move with mouse_left #288420
09/06/09 03:50
09/06/09 03:50
Joined: Aug 2009
Posts: 20
N
Noctis Offline OP
Newbie
Noctis  Offline OP
Newbie
N

Joined: Aug 2009
Posts: 20
I had finished movement with key W,A,S,D, but I don't know how to move with mouse_left. Who can show me ?? I dont need full code , I only need show me how to move with mouse_left. Thanks reply!

Re: Move with mouse_left [Re: Noctis] #288428
09/06/09 09:30
09/06/09 09:30
Joined: Aug 2007
Posts: 1,922
Schweiz
Widi Offline
Serious User
Widi  Offline
Serious User

Joined: Aug 2007
Posts: 1,922
Schweiz
Mouse_left you use for the Mousebutton.
I think you mean if you move the mouse the entity should it too. for that you use mouse_force.x and mouse_force.y.

Code:
action my_action()
{	
  while(1)
  {
    my.x += mouse_force.x; 
    my.y += mouse_force.y;
    wait(1);
  }
}



Re: Move with mouse_left [Re: Widi] #288432
09/06/09 10:18
09/06/09 10:18
Joined: Aug 2009
Posts: 20
N
Noctis Offline OP
Newbie
Noctis  Offline OP
Newbie
N

Joined: Aug 2009
Posts: 20
oh,no. I mean I use left_click to create a point and move entity to this point. It like when you play RPG game and move your char by mouse_left. Do u see me ??. Thanks reply!

Re: Move with mouse_left [Re: Noctis] #288810
09/08/09 18:16
09/08/09 18:16
Joined: Nov 2008
Posts: 354
saeculum II
MPQ Offline
Senior Member
MPQ  Offline
Senior Member

Joined: Nov 2008
Posts: 354
saeculum II
look up aum34, there is the code you need


new project in early stage...

Intel Xeon X3450 2,66GHz | Mushkin 8 Gib | Zotac GTS250 + 7300LE | A8.3 com
Re: Move with mouse_left [Re: MPQ] #288848
09/09/09 04:08
09/09/09 04:08
Joined: Aug 2009
Posts: 20
N
Noctis Offline OP
Newbie
Noctis  Offline OP
Newbie
N

Joined: Aug 2009
Posts: 20
I had seen, but That version is A6, Who have aum34 use version A7 ??thanks reply


Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1