×

Langue

Fermer
Atelier 801
  • Forums
  • Dev Tracker
  • Connexion
    • 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
  • Langue
  • Forums
  • /
  • Transformice
  • /
  • Modules
  • /
  • [Tool] Text Area & Popup Editors
1 / 3 › »
[Tool] Text Area & Popup Editors
Laagaadoo
« Citoyen »
1446056760000
    • Laagaadoo#0000
    • Profil
    • Derniers messages
    • Tribu
#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



Dernière modification le 1539064320000
Beyazfelaket
1446059520000
    • Beyazfelaket#0000
    • Profil
    • Derniers messages
#3
[Modéré par Ediz, raison : Ban evasion: Recklax]
Nicolasledu
« Citoyen »
1446070080000
    • Nicolasledu#0000
    • Profil
    • Derniers messages
    • Tribu
#4
  0
Oh nice !
Eliaseeg
« Citoyen »
1446078660000
    • Eliaseeg#0000
    • Profil
    • Derniers messages
    • Tribu
#5
  0
Oh... you did it. I love how much this editor overrides the another one you've created.

Great job.
Gekkeiju
« Citoyen »
1446120120000
    • Gekkeiju#0000
    • Profil
    • Derniers messages
    • Tribu
#6
  0
great!
I want more GUI if possible. gj anyway.
Laagaadoo
« Citoyen »
1446130200000
    • Laagaadoo#0000
    • Profil
    • Derniers messages
    • Tribu
#8
  0
Animjarcanin a dit :
Interesting. I like!

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

Nicolasledu a dit :
Oh nice !

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

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

Great job.

Thanks <3
Evilsantah
« Citoyen »
1446156960000
    • Evilsantah#0000
    • Profil
    • Derniers messages
#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
« Citoyen »
1446171300000
    • Laagaadoo#0000
    • Profil
    • Derniers messages
    • Tribu
#10
  0
Evilsantah a dit :
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
« Citoyen »
1446194880000
    • Hydroper#0528
    • Profil
    • Derniers messages
    • Tribu
#11
  0
Laagaadoo a dit :
Evilsantah a dit :
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.

Dernière modification le 1446195000000
Evilsantah
« Citoyen »
1446213960000
    • Evilsantah#0000
    • Profil
    • Derniers messages
#12
  0
Laagaadoo a dit :

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.

Dernière modification le 1446216840000
Laagaadoo
« Citoyen »
1446217260000
    • Laagaadoo#0000
    • Profil
    • Derniers messages
    • Tribu
#13
  0
profiver a dit :
Laagaadoo a dit :
Evilsantah a dit :
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 a dit :
Laagaadoo a dit :

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
« Citoyen »
1446220740000
    • Evilsantah#0000
    • Profil
    • Derniers messages
#14
  0
Ah okay!

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

Dernière modification le 1446220800000
Laagaadoo
« Citoyen »
1446228900000
    • Laagaadoo#0000
    • Profil
    • Derniers messages
    • Tribu
#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
« Citoyen »
1446235140000
    • Skokon#0000
    • Profil
    • Derniers messages
    • Tribu
#16
  0
Really nice , Good joob , I gonna test it soon
Bofyre
« Citoyen »
1446236940000
    • Bofyre#0000
    • Profil
    • Derniers messages
#17
  0
Great update!
Can you add a selection also?
Hydroper
« Citoyen »
1446247980000
    • Hydroper#0528
    • Profil
    • Derniers messages
    • Tribu
#18
  0
Here's a function to convert RGB to HEX:

a dit :
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.

Dernière modification le 1446287400000
Laagaadoo
« Citoyen »
1446257040000
    • Laagaadoo#0000
    • Profil
    • Derniers messages
    • Tribu
#19
  0
profiver a dit :
Here's a function to convert RGB to HEX:

a dit :
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 a dit :
Really nice , Good joob , I gonna test it soon

bofyre a dit :
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.

Dernière modification le 1446488100000
The1337coder
« Citoyen »
1446665760000
    • The1337coder#0000
    • Profil
    • Derniers messages
    • Tribu
#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

Equipe Conditions Générales d'Utilisation Politique de Confidentialité Contact

Version 1.27