September 08, 2010, 04:35:44 AM
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
Help
Search
Login
Register
www.ffilmation.org
>
FFilmation
>
Actionscript help
>
Location based on mouse click: Noobie Question
Pages: [
1
]
« previous
next »
Print
Author
Topic: Location based on mouse click: Noobie Question (Read 53 times)
wkolcz
Newbie
Posts: 5
Location based on mouse click: Noobie Question
«
on:
July 09, 2010, 10:00:10 PM »
I am new to FFilmation and want to use it for a virtual world for sick kids. I've been looking over the example with Poncho, but noticed that it used keys to move. I want my version to run based on the user clicking the mouse on a location on the screen and their avatar to go to it. How to you detect when the mouse is clicked at in relation to where the character is and then have the character go to it?
Logged
FFilmation Admin
Administrator
Jr. Member
Posts: 55
Re: Location based on mouse click: Noobie Question
«
Reply #1 on:
July 13, 2010, 06:34:18 AM »
The Poncho demo has also mouse movement. Use the menu to switch.
Cheers !
Logged
wkolcz
Newbie
Posts: 5
Re: Location based on mouse click: Noobie Question
«
Reply #2 on:
July 16, 2010, 08:10:25 PM »
Thanks for the heads up!
Does the engine figure out where the characters are in relation to the map (which tile they are on or which one they are going)? I am trying to get this to work with a socket server (Electroserver) and want to sync where the characters are on all the clients but need to pass that attribute (col/row) so the other clients can see the user moving. Any hints or example?
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
FFilmation
-----------------------------
=> General Discussion
=> Bug report
=> Actionscript help
=> Gfx help
=> Showcase
Loading...