TheGameCreators / AGK-Studio

3 stars 1 forks source link

Find & Replace Modal Window Issue #68

Closed Psyche1970 closed 5 years ago

Psyche1970 commented 5 years ago

v4-5 find replace modal

[Win 10 Pro -QHD i7-8750h gtx 1070MaxQ - Studio V4.5] The Find/replace window has been improved as I can now see the Find Next/Previous and close icons. However the window is still too small as some text being cut off.

plemsoft commented 5 years ago

Thanks @Psyche1970 ,

Ups i forgot to multiply with the font size.

Fixed for next beta :)

Psyche1970 commented 5 years ago

Hi

I was also thinking how it may be useful, in the media viewer window (bottom right where an expanded view is shown of texture, image, 3D etc) if the text shown at the top could be selectable. This way one could copy/paste into source code. I would find that useful?

Jason

On Fri, 22 Feb 2019, 12:53 Preben Eriksen, notifications@github.com wrote:

Thanks @Psyche1970 https://github.com/Psyche1970 ,

Ups i forgot to multiply with the font size.

Fixed for next beta :)

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/TheGameCreators/AGK-Studio/issues/68#issuecomment-466386692, or mute the thread https://github.com/notifications/unsubscribe-auth/AtkfvD7vPX7QncUPx8eQQgU9MhH__oZXks5vP-gugaJpZM4bHbwa .

plemsoft commented 5 years ago

Ohh you can just Drag/Drop the media file directly into the editor , it will then create some relevant code for the type of media , like loadimage,loadwav,loadobject... it will also insert the "path" to the media.

Or did you mean something else ?

Psyche1970 commented 5 years ago

Same but different.

If I drag an image it creates a loadImage("xxxx.png"), which is useful.

However, I often save an image using a name I would refer to as a sprite. This can not be used as therr is already an image of this variable. In other words I would like to have more control over how this variable name is used.

Or if I have used dragged the media and the relevant loadImage creates a variable of the same name, then if I switch files it would be handy to copy/past rather than flip to original file.

On Fri, 22 Feb 2019, 14:02 Preben Eriksen, notifications@github.com wrote:

Ohh you can just Drag/Drop the media file directly into the editor , it will then create some relevant code for the type of media , like loadimage,loadwav,loadobject... it will also insert the "path" to the media.

Or did you mean something else ?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/TheGameCreators/AGK-Studio/issues/68#issuecomment-466406023, or mute the thread https://github.com/notifications/unsubscribe-auth/AtkfvHfUHSOUxo5-nuwTfPZP291ZTLduks5vP_hwgaJpZM4bHbwa .

plemsoft commented 5 years ago

@Psyche1970 , Thanks i get your point :)

I dont like to clutter the preview , but what if we add a option when you right click on the media, perhaps "Copy Path To Clipboard" , and one "Copy FileName To Clipboard" , would that solve your issue ?

Psyche1970 commented 5 years ago

That would be a great solution. Thanks.

On Sat, 23 Feb 2019, 08:21 Preben Eriksen, notifications@github.com wrote:

@Psyche1970 https://github.com/Psyche1970 , Thanks i get your point :)

I dont like to clutter the preview , but what if we add a option when you right click on the media, perhaps "Copy Path To Clipboard" , and one "Copy FileName To Clipboard" , would that solve your issue ?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/TheGameCreators/AGK-Studio/issues/68#issuecomment-466628528, or mute the thread https://github.com/notifications/unsubscribe-auth/AtkfvNTVQW7WMFpwy2dZ7bDJv-IFI0ahks5vQPohgaJpZM4bHbwa .

Psyche1970 commented 5 years ago

Just Had a thought...

Would it be possible to have a window to the right side (like the media viewer) that is a plugin viewer?

This will show the plugin name and possible list the functions with calling vars.

These could then be drag and dropped into the source code (the relative include will be added automatically just like LoadImage(“”) ), the user will then be able to easily see the function list.

What the user would then have is a very quick way of building apps that have i.e a tiled map engine, a player for platformer game, a player for shootem ups etc, a menu system...

Just an idea? Would make for very efficient development and encourage code re-use.

Jason

On 23 Feb 2019, at 08:21, Preben Eriksen notifications@github.com wrote:

@Psyche1970 , Thanks i get your point :)

I dont like to clutter the preview , but what if we add a option when you right click on the media, perhaps "Copy Path To Clipboard" , and one "Copy FileName To Clipboard" , would that solve your issue ?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

plemsoft commented 5 years ago

Added "Copy Full Path to Clipboard". Added "Copy Relative Path to Clipboard".

To the context menu , ready from next beta :)

Nice idea about the plugin , you should add it as a new issue , or it will just get lost and forgotten about down here :)