[project1dev] Re: Project1 - SVN Update 468

  • From: "eric" <figarus@xxxxxxxxx>
  • To: project1dev@xxxxxxxxxxxxx
  • Date: Tue, 27 Oct 2009 16:58:16 +0000

Love the flexibilty and design opportunities w/ #1 but defer the tech decisions 
to you guys. 
Sent via BlackBerry from T-Mobile

-----Original Message-----
From: Alan Wolfe <alan.wolfe@xxxxxxxxx>
Date: Tue, 27 Oct 2009 09:54:57 
To: <project1dev@xxxxxxxxxxxxx>
Subject: [project1dev] Re: Project1 - SVN Update 468

well if we do #1 you'd be able to get the mouse state (click / not click /
position) from script any time you wanted it.

You could use that to do things like have a monster chase the mouse cursor,
or make an "in game" minigame where you would throw grenades at wherever you
clicked.

or, you could have invisible buttons

or, you could make it so you had to move the mouse through a maze while
monsters chased it, and if you touched the sides you died.

it basically just gives you full access to the mouse vs the other solutions
which give you access only for this special case.

but, in this case, it would be more work for you to get this script working,
so i'm down for multiple solutions if thats what youd prefer

IE we do #2 to solve this problem and do #1 later too ::shrug::
On Tue, Oct 27, 2009 at 9:16 AM, Kent Petersen <kentkmp@xxxxxxxxx> wrote:

> I was thinking #2. I was asking the same question also.
>
> What would be an advantage for doing it like option #1?
>
>
> On Tue, Oct 27, 2009 at 9:06 AM, Alan Wolfe <alan.wolfe@xxxxxxxxx> wrote:
>
>> darn ok
>>
>> i'll put something in tonight.
>>
>> 3 options i see...
>>
>> #1 - give you the ability to detect when the mouse is clicked in script at
>> any time as well as the ability to get the mouse cursor.  This would be more
>> work on your end but would give you more power in the long run
>>
>> #2 - make it so you can set a "click function" for an image like a
>> button.  Makes me wonder what the diff is between this and a button
>>
>> #3 - make a button rotateable and moveable
>>
>> do you have a preference? (:
>>
>>
>> On Tue, Oct 27, 2009 at 8:58 AM, Kent Petersen <kentkmp@xxxxxxxxx> wrote:
>>
>>> Alan - I can't quite do what I want here. Maybe, I am logically doing it
>>> wrong. I have it set up so I have a 4x4 grid of images and when you click on
>>> them they would rotate. I think I also need the ability to click and move
>>> them somehow (maybe need a right click as well?). The problem I am having is
>>> that Images are not clickable OR if I used a 4x4 grid of buttons, they are
>>> not rotatable and movable.
>>>
>>>
>>> On Mon, Oct 26, 2009 at 7:54 PM, Apache User <
>>> dhapache@xxxxxxxxxxxxxxxxxxx> wrote:
>>>
>>>> User:atrix256
>>>>
>>>> Message: Added new script functions Kent wanted: UI_MoveImage and
>>>> UI_RotateImage
>>>>
>>>> check out the lava map for an example of how to use em (or the script
>>>> help of course!)
>>>>
>>>> <Files Changed>
>>>> U   ARRelease.exe
>>>> U   AR_LuaFuncs.cpp
>>>> U   AR_UI.cpp
>>>> U   AR_UI.h
>>>> A   Docs/Script Help/UI_MoveImage.html
>>>> A   Docs/Script Help/UI_RotateImage.html
>>>> U   Docs/Script Help/toc.html
>>>> U   Scripts/Personal/Alan/lavamap.lua
>>>> U   TextureManager.cpp
>>>> U   TextureManager.h
>>>>
>>>>
>>>>
>>>
>>
>

Other related posts: