×

Language

Close
Atelier 801
  • Forums
  • Dev Tracker
  • Log in
    • English Français
      Português do Brasil Español
      Türkçe Polski
      Magyar Română
      العربية Skandinavisk
      Nederlands Deutsch
      Bahasa Indonesia Русский
      中文 Filipino
      Lietuvių kalba 日本語
      Suomi עברית
      Italiano Česky
      Hrvatski Slovensky
      Български Latviešu
      Estonian
  • Language
  • Forums
  • /
  • Transformice
  • /
  • Modules
  • /
  • [Tool] Text Area & Popup Editors
1 / 3 › »
[Tool] Text Area & Popup Editors
Laagaadoo
« Citizen »
1446056760000
    • Laagaadoo#0000
    • Profile
    • Last posts
    • Tribe
#1
  8
  • Text Area
  • Popup

http://i.imgur.com/mvIIdWM.png


(this is a little old version)


Long time ago I've made a thread showing a very bad editor, now I'm showing the new one I created, better (I hope)


Features


  • Drag & Drop
  • Layer system (the code will be generated according to it)
  • Resizing (using the red circles)
  • Text edition with support for HTML and Transformice tags (such as <BV>, <V>)
  • You can edit all properties from the text area.
  • Multiple text areas
  • Alignment
  • Use Ctrl (Command in Mac) + ↑↓→← to move the text area per pixel.
  • You can use Ctrl + D to duplicate the selected text area.
  • You can move the windows using its top bar.


The previous one was not accurate in the position, this new one is.


There is still some work to be done. Any bugs found, please report it here <3


Click here


http://i.imgur.com/61KxDBH.png


I've made this two months ago, to popups :D



It has the same features from Text Area Editor, except that you can only resize its sides (hover the mouse over its edges)
You can see all controls in the image above (use Ctrl to centralize the popup)



There is still some work to be done. Any bugs found, please report it here <3

NOTE: When you use too many line breaks (without <br> tag) you MUST you [[]] instead of "".



Click here



Last edit on 1539064320000
Beyazfelaket
1446059520000
    • Beyazfelaket#0000
    • Profile
    • Last posts
#3
[Moderated by Ediz, reason : Ban evasion: Recklax]
Nicolasledu
« Citizen »
1446070080000
    • Nicolasledu#0000
    • Profile
    • Last posts
    • Tribe
#4
  0
Oh nice !
Eliaseeg
« Citizen »
1446078660000
    • Eliaseeg#0000
    • Profile
    • Last posts
    • Tribe
#5
  0
Oh... you did it. I love how much this editor overrides the another one you've created.

Great job.
Gekkeiju
« Citizen »
1446120120000
    • Gekkeiju#0000
    • Profile
    • Last posts
    • Tribe
#6
  0
great!
I want more GUI if possible. gj anyway.
Laagaadoo
« Citizen »
1446130200000
    • Laagaadoo#0000
    • Profile
    • Last posts
    • Tribe
#8
  0
Animjarcanin said:
Interesting. I like!

beyazfelaket said:
Thanks,i don't know lua but i like this :)

Nicolasledu said:
Oh nice !

gekkeiju said:
great!
I want more GUI if possible. gj anyway.

Eliaseeg said:
Oh... you did it. I love how much this editor overrides the another one you've created.

Great job.

Thanks <3
Evilsantah
« Citizen »
1446156960000
    • Evilsantah#0000
    • Profile
    • Last posts
#9
  0
I was looking for something like this (textarea editor), all it's missing is color pickers. That's the main reason I'd like to use it, just so I can try out different colors real quick.

Well done though.
Laagaadoo
« Citizen »
1446171300000
    • Laagaadoo#0000
    • Profile
    • Last posts
    • Tribe
#10
  0
Evilsantah said:
I was looking for something like this (textarea editor), all it's missing is color pickers. That's the main reason I'd like to use it, just so I can try out different colors real quick.

Well done though.

Thank you.

I've added the color pickers, it is not beautiful as the Transformice but it works, tomorrow I'll be making it better.
Hydroper
« Citizen »
1446194880000
    • Hydroper#0528
    • Profile
    • Last posts
    • Tribe
#11
  0
Laagaadoo said:
Evilsantah said:
I was looking for something like this (textarea editor), all it's missing is color pickers. That's the main reason I'd like to use it, just so I can try out different colors real quick.

Well done though.

Thank you.

I've added the color pickers, it is not beautiful as the Transformice but it works, tomorrow I'll be making it better.

If you'd make it in HTML5, I'd suggest some plugin that I used oldly - JS color picker, I think it's this.

But it may be possible to find some of it to AS3 also.

Last edit on 1446195000000
Evilsantah
« Citizen »
1446213960000
    • Evilsantah#0000
    • Profile
    • Last posts
#12
  0
Laagaadoo said:

Thank you.

I've added the color pickers, it is not beautiful as the Transformice but it works, tomorrow I'll be making it better.

Thanks!

EDIT: few more things I noticed
  • There's no way to change the Z index (bring forward/backward one layer). The generated code doesn't match with the stack order either.
  • It would also be nice if you could use arrow keys to move the selected textarea 1 pixel.
  • The generated code sets the last parameter to true (fixed), although generally speaking I think you'd prefer false. The reason being if this parameter is set to true, for some reason clicking that textarea will break your movement/chat in tfm (should report to Pikashu). False is also the default.
  • Finally a duplicate button would be nice.

Last edit on 1446216840000
Laagaadoo
« Citizen »
1446217260000
    • Laagaadoo#0000
    • Profile
    • Last posts
    • Tribe
#13
  0
profiver said:
Laagaadoo said:
Evilsantah said:
I was looking for something like this (textarea editor), all it's missing is color pickers. That's the main reason I'd like to use it, just so I can try out different colors real quick.

Well done though.

Thank you.

I've added the color pickers, it is not beautiful as the Transformice but it works, tomorrow I'll be making it better.

If you'd make it in HTML5, I'd suggest some plugin that I used oldly - JS color picker, I think it's this.

But it may be possible to find some of it to AS3 also.

Well, I'm not good in JS, sorry :c

Evilsantah said:
Laagaadoo said:

Thank you.

I've added the color pickers, it is not beautiful as the Transformice but it works, tomorrow I'll be making it better.

Thanks!

EDIT: few more things I noticed
  • There's no way to change the Z index (bring forward/backward one layer). The generated code doesn't match with the stack order either.
  • It would also be nice if you could use arrow keys to move the selected textarea 1 pixel.
  • The generated code sets the last parameter to true (fixed), although generally speaking I think you'd prefer false. The reason being if this parameter is set to true, for some reason clicking that textarea will break your movement/chat in tfm (should report to Pikashu). False is also the default.
  • Finally a duplicate button would be nice.

Thanks! I'm working on it right now.

And you can move it 1 pixel holding CTRL + ↑/↓/→/↑
Evilsantah
« Citizen »
1446220740000
    • Evilsantah#0000
    • Profile
    • Last posts
#14
  0
Ah okay!

Another thing: when you pass 0 for backgroundColor, it becomes 0x324650.

Last edit on 1446220800000
Laagaadoo
« Citizen »
1446228900000
    • Laagaadoo#0000
    • Profile
    • Last posts
    • Tribe
#15
  0

http://i.imgur.com/mvIIdWM.png



Update! :D

  • Layer system (the code will be generated according to it)
  • Duplicate function, as the name suggests (I hope), it duplicates the selected text area (you can use Ctrl + D too)
  • Changed last argument (fixedPos) to false.
  • Added word wrap to the text field in Text window.
  • Fixed bugs.


Go check it out!
Skokon
« Citizen »
1446235140000
    • Skokon#0000
    • Profile
    • Last posts
    • Tribe
#16
  0
Really nice , Good joob , I gonna test it soon
Bofyre
« Citizen »
1446236940000
    • Bofyre#0000
    • Profile
    • Last posts
#17
  0
Great update!
Can you add a selection also?
Hydroper
« Citizen »
1446247980000
    • Hydroper#0528
    • Profile
    • Last posts
    • Tribe
#18
  0
Here's a function to convert RGB to HEX:

said:
function RGBToHEX(r,g,b){return "#"+((1<<24)+(r<<16)+(g<<8)+b).toString(16).slice(1);}

You can do a new color picker easily using your good knowledge (Red, green and blue)...
Try to use this in your tool, I use it on JS now, but it probably will works in AS3 if the slice() function exists on.

Last edit on 1446287400000
Laagaadoo
« Citizen »
1446257040000
    • Laagaadoo#0000
    • Profile
    • Last posts
    • Tribe
#19
  0
profiver said:
Here's a function to convert RGB to HEX:

said:
function RGBToHEX(r,g,b){return "#"+((1<<24)+(r<<16)+(g<<8)+b).toString(16).slice(1);}

You can do a new color picker easily using your good knowledge (Red, blue and green)...
Try to use this in your tool, I use it on JS now, but it probably will works in AS3 if the slice() function exists on.

Thanks, but Flash already has a built-in function to get hexadecimal colors from a determined point.

Skokon said:
Really nice , Good joob , I gonna test it soon

bofyre said:
Great update!
Can you add a selection also?

Thanks!
I would add a selection, but when you are editing it you probably will be looking into it, so there is no need.

UPDATE:
New color picker:

http://i.imgur.com/4puGUsr.png



UPDATE 11/02
You couldn't edit the X/Y text fields, now you can.
It's now even more accurate.

Last edit on 1446488100000
The1337coder
« Citizen »
1446665760000
    • The1337coder#0000
    • Profile
    • Last posts
    • Tribe
#20
  0
Hmm, i spotted a little issue with the generated code.
When you have a textarea text containing html (ie. <font size="14">text</font>) the app doesn't escape the quotes.

You should do something like text.replace('"', '\"'); else it will fail in lua:
> Init Error : [string "Player_name.lua"]:2: ')' expected
  • Forums
  • /
  • Transformice
  • /
  • Modules
  • /
  • [Tool] Text Area & Popup Editors
1 / 3 › »
© Atelier801 2018

Staff Terms and Conditions of Use Privacy Policy Contact

Version 1.27