Title: Re: controlling scene with mouse
Post by: megane on April 08, 2010, 09:47:48 AM
Hello ,
İ have different problem.Your code works but so fastly ,also my keyboard code doesnt work with this? Actually i want to move my scene with mouse over but i couldnt it. if there is a sample game for this based WME , Can you tell me? i can understand well with a sample.
Best Regards.
Title: Re: controlling scene with mouse
Post by: metamorphium on April 08, 2010, 11:09:32 AM
hello,
it was just an example of the principle, not meant to be a working game code. AFAIK there's no game yet with working direct mouse control.
Title: Re: controlling scene with mouse
Post by: megane on April 09, 2010, 12:41:18 PM
This is bad :)
I have idea. background entity has mouse over.. right? when i came to over backgorund.skipto scene..something like this.. maybe it work. Can i access backgorund with mouse over?
Title: Re: controlling scene with mouse
Post by: metamorphium on April 09, 2010, 01:10:47 PM
please rephrase. I totally don't understand what are you trying to achieve. If you wrote that more clearly, I might be able to help you better.
Title: Re: controlling scene with mouse
Post by: megane on April 09, 2010, 05:14:23 PM
Sorry my english is very crazy :)
Which things can i access with MouseEntry event? for example: can i access background entity? actors?
if it is possible, it might be usefull for me.
Thanks again.
Title: Re: controlling scene with mouse
Post by: metamorphium on April 09, 2010, 06:26:22 PM
what do you mean by "access". Can you tell me a little use case. (eg. "actor stands in the scene, if I place the mouse cursor over it, he dies" :))
Title: Re: controlling scene with mouse
Post by: megane on April 09, 2010, 06:44:38 PM
yes true.. i meant something like your example.
Title: Re: controlling scene with mouse
Post by: metamorphium on April 09, 2010, 07:00:51 PM
then it's standard behavior. Attach a script to your entity in scene editor. In this script write: