A Roblox Community
Would you like to react to this message? Create an account in a few clicks or log in to continue.

A Roblox Community

A community of Robloxians who want to learn to script and build on Roblox Studio.
 
HomeLatest imagesRegisterLog in
If you're a experienced coder make some tutorials! It would really help the site grow.
Make sure you read the rules(Which can be found by clicking here)
If you're a beginner at coding, try some tutorials.
We have many Moderators/Admins watching this site. Contact them with Questions.
Let us know what your favorite sport is. By clicking here to vote (Click here)
This site is becoming inactive. Lets make it active.
Log in
Username:
Password:
Log in automatically: 
:: I forgot my password
Top posters
blueymaddog
RTMLP - A new way of GUI development. Vote_lcapRTMLP - A new way of GUI development. Voting_barRTMLP - A new way of GUI development. Vote_rcap 
naknak
RTMLP - A new way of GUI development. Vote_lcapRTMLP - A new way of GUI development. Voting_barRTMLP - A new way of GUI development. Vote_rcap 
Supernapalm
RTMLP - A new way of GUI development. Vote_lcapRTMLP - A new way of GUI development. Voting_barRTMLP - A new way of GUI development. Vote_rcap 
m27frogy
RTMLP - A new way of GUI development. Vote_lcapRTMLP - A new way of GUI development. Voting_barRTMLP - A new way of GUI development. Vote_rcap 
slayer9365
RTMLP - A new way of GUI development. Vote_lcapRTMLP - A new way of GUI development. Voting_barRTMLP - A new way of GUI development. Vote_rcap 
myrco919
RTMLP - A new way of GUI development. Vote_lcapRTMLP - A new way of GUI development. Voting_barRTMLP - A new way of GUI development. Vote_rcap 
branefreez
RTMLP - A new way of GUI development. Vote_lcapRTMLP - A new way of GUI development. Voting_barRTMLP - A new way of GUI development. Vote_rcap 
ninga95
RTMLP - A new way of GUI development. Vote_lcapRTMLP - A new way of GUI development. Voting_barRTMLP - A new way of GUI development. Vote_rcap 
CloneTrooper787
RTMLP - A new way of GUI development. Vote_lcapRTMLP - A new way of GUI development. Voting_barRTMLP - A new way of GUI development. Vote_rcap 
raboy117
RTMLP - A new way of GUI development. Vote_lcapRTMLP - A new way of GUI development. Voting_barRTMLP - A new way of GUI development. Vote_rcap 
Top posting users this month
No user
Latest topics
» Where to go from here.
RTMLP - A new way of GUI development. EmptySeptember 14th 2020, 1:20 pm by MrNicNac

» Send me an Email
RTMLP - A new way of GUI development. EmptySeptember 14th 2020, 1:16 pm by MrNicNac

» [v1.6.0.0] Lua Script Obfuscator [No Bytecode]
RTMLP - A new way of GUI development. EmptyJuly 6th 2015, 7:38 pm by m27frogy

» New Site Possibly
RTMLP - A new way of GUI development. EmptyJuly 6th 2015, 4:16 pm by m27frogy

» Ambassador!
RTMLP - A new way of GUI development. EmptyApril 15th 2015, 11:40 pm by naknak

» Boop - Tag
RTMLP - A new way of GUI development. EmptyApril 13th 2015, 9:46 pm by naknak

» Vip Class Script
RTMLP - A new way of GUI development. EmptyApril 13th 2015, 4:54 pm by naknak

» Who's active?!
RTMLP - A new way of GUI development. EmptyApril 13th 2015, 4:52 pm by naknak

» Genesis Point
RTMLP - A new way of GUI development. EmptyJuly 17th 2014, 7:04 pm by branefreez

» Reward System
RTMLP - A new way of GUI development. EmptyJuly 17th 2014, 5:41 am by m27frogy

» Script Request
RTMLP - A new way of GUI development. EmptyJuly 10th 2014, 11:43 am by naknak

» local scripts?
RTMLP - A new way of GUI development. EmptyJuly 10th 2014, 11:39 am by naknak

» Project: Reconstruction [Died]
RTMLP - A new way of GUI development. EmptyJuly 10th 2014, 11:36 am by naknak

» Hi. I am new here
RTMLP - A new way of GUI development. EmptyApril 26th 2014, 4:01 pm by altshiftkey

» What's your favorite sport?
RTMLP - A new way of GUI development. EmptyJanuary 1st 2014, 2:13 pm by m27frogy

» FlashLight Script
RTMLP - A new way of GUI development. EmptyJanuary 1st 2014, 2:11 pm by m27frogy

» Gun Making! [READ DESC]
RTMLP - A new way of GUI development. EmptyJanuary 1st 2014, 2:10 pm by m27frogy

» Hi, I am new here!
RTMLP - A new way of GUI development. EmptyNovember 26th 2013, 3:33 pm by Keanu73

» Improve Coding
RTMLP - A new way of GUI development. EmptyOctober 26th 2013, 1:12 pm by pook03

» Simple Button
RTMLP - A new way of GUI development. EmptySeptember 1st 2013, 6:19 pm by branefreez


 

 RTMLP - A new way of GUI development.

Go down 
2 posters
AuthorMessage
Guest
Guest
avatar



RTMLP - A new way of GUI development. Empty
PostSubject: RTMLP - A new way of GUI development.   RTMLP - A new way of GUI development. EmptyApril 22nd 2011, 11:42 am

Roblox Text Markup Language


Although I say "text", just like HTML, it's so much more than text.

It's for making static GUI pages without having to make each individual one, or hard-code changes.

For example, you might want 5 pages with only a different title or content - That's where RTML helps. Just use string.gsub(RTML code,"Content to change", "What to change it to"), which is basic.

Here's some example RTML code, which is in fully-working order.



Code:


RTML = [[

      Anything outside tags is ignored so comments are just left outside the tags.
      Generally it's easier to tab RTML comments so you can see code easier.
      Or, for UberPros, just don't put any at all.

<RTML Parent="RTMLFrame">

      Your first tag *MUST* be the RTML decleration, and the "Parent" tag is RELATIVE to the script.Parent.
      What we have here may just say RTMLFrame, but the script puts script.Parent before it automatically.
      So this RTML markup will go into RTMLFrame.

      Each script can only process one RTML document at a time (Takes about 0.001 seconds on this document)
      so multithreading in the same script is not recommended on larger documents.

<frame x="10" y="35" w="380" h="355">
      This frame will "store" all our stuff. In other words it's just there to look nice.

<textlabel x="10" y="10" w="380" h="15" text="Example page : Nyan cat. Your name is: :player:" DynamicText="1">
      This is the title, we're actualy making this methodically: First the background, then, from top to bottom, the things
      ontop of it.

      For booleans, use 0 for false and 1 for true. DynamicText states whether things like ":player:" get changed into
      the player's name.

      Dynamic text makes it slightly (unnoticably) slower.

<img x="20" y="45" w="360" h="305" href="51396646">
      Now, slightly lower down we put an image of Nyancat

<textlabel x="20" y="360" w="360" h="20" text="RTML made by Trappingnoobs. Credit to allofthese and EpicMathScriptor">
      Now give them a small note reffering to textlabels/buttons.
]]

RTMLCurrent = RTMLInner.ProcessRTML(RTML)
RTMLInner.RenderRTML(RTMLCurrent)




Last edited by trappingnoobs on May 13th 2011, 4:27 pm; edited 2 times in total (Reason for editing : Full redo of post.)
Back to top Go down
naknak
Administrator
Administrator
naknak


Posts : 878
Join date : 2010-07-30

RTMLP - A new way of GUI development. Empty
PostSubject: Re: RTMLP - A new way of GUI development.   RTMLP - A new way of GUI development. EmptyApril 22nd 2011, 12:55 pm

I would love to try that out.
Back to top Go down
Guest
Guest
avatar



RTMLP - A new way of GUI development. Empty
PostSubject: Re: RTMLP - A new way of GUI development.   RTMLP - A new way of GUI development. EmptyMay 11th 2011, 5:17 pm

I've made support for most GUI objects. Here's some RTML I made for an example

Code:


RTML = [[
<frame x="5" y="5" w="5" h="5">
<frame x="10" y="10" w="5" h="5">
<textlabel x="10" y="10" w="15" h="15" text="frogs">
<img x="20" y="20" w="100" h="100" href="51396646">
]]

RTMLCurrent = RTMLInner.ProcessRTML(RTML)
RTMLInner.RenderRTML(RTMLCurrent)


It does approximately 5,000 elements per second, which is ridiculously fast. It gets faster after it's rendered once. Processing RTML into a table is almost instantaneous, rendering takes a little longer.
Back to top Go down
Guest
Guest
avatar



RTMLP - A new way of GUI development. Empty
PostSubject: Re: RTMLP - A new way of GUI development.   RTMLP - A new way of GUI development. EmptyMay 11th 2011, 5:22 pm

I'll allow things like patterns which dynamically change, like, example, in the textlabel element's text parameter, you can put something like

text="Welcome :PlayerName:, you are in my group: :InGroup(500):."

Which'd transform automatically and dynamically on run-time into:

Welcome trappingnoobs, you are in my group: false.
Back to top Go down
naknak
Administrator
Administrator
naknak


Posts : 878
Join date : 2010-07-30

RTMLP - A new way of GUI development. Empty
PostSubject: Re: RTMLP - A new way of GUI development.   RTMLP - A new way of GUI development. EmptyMay 12th 2011, 5:24 pm

Cool. When will I be able to try it?
Back to top Go down
Guest
Guest
avatar



RTMLP - A new way of GUI development. Empty
PostSubject: Re: RTMLP - A new way of GUI development.   RTMLP - A new way of GUI development. EmptyMay 13th 2011, 11:51 am

I'll release an early beta today or tomorrow. I'd've finished by now but exam revision is taking up a lot of my time. I'm aiming for 100% in IT and English and Maths (But I'll probably only get 80~90 in math), so..

I've done quite a bit so far. I'm going to allow parenting soon, and make more things local to speed it up.
Back to top Go down
Guest
Guest
avatar



RTMLP - A new way of GUI development. Empty
PostSubject: Re: RTMLP - A new way of GUI development.   RTMLP - A new way of GUI development. EmptyMay 13th 2011, 5:30 pm

Back to top Go down
blueymaddog
Administrator
Administrator
blueymaddog


Posts : 1081
Join date : 2010-12-09
Age : 25

RTMLP - A new way of GUI development. Empty
PostSubject: Re: RTMLP - A new way of GUI development.   RTMLP - A new way of GUI development. EmptyJune 11th 2011, 9:11 am

lol holy banana made something like this called RCODE.
Back to top Go down
Guest
Guest
avatar



RTMLP - A new way of GUI development. Empty
PostSubject: Re: RTMLP - A new way of GUI development.   RTMLP - A new way of GUI development. EmptyJune 12th 2011, 11:23 am

:o

Edit

OMFG HIS HAS WORKING JAVASCRIPT AND CSS AND STOOF. ERWERGJUIVNRIVBJRIBNRTSINBRJSVIJNBSDFIJBNSDFIBJNDFSIJNBSDFIBJN

I give up. I just give up.

Edit

Nevermind it only runs lua functions to make it look like javascript. I'd assume he uses gsub to replace "}" with "end".
Back to top Go down
Guest
Guest
avatar



RTMLP - A new way of GUI development. Empty
PostSubject: Re: RTMLP - A new way of GUI development.   RTMLP - A new way of GUI development. EmptyJune 12th 2011, 11:38 am

Love to see the source of that. A bit hypocritical since I source-encrypt all my scripts. I can't even figure out how he gets it to run, it seems to put a script in the workspace, but a non-stop scan proves that script never exists, but it errors somehow. Odd.
Back to top Go down
blueymaddog
Administrator
Administrator
blueymaddog


Posts : 1081
Join date : 2010-12-09
Age : 25

RTMLP - A new way of GUI development. Empty
PostSubject: Re: RTMLP - A new way of GUI development.   RTMLP - A new way of GUI development. EmptyJune 16th 2011, 9:52 am

lol, I'm working on making a better GUI than him!
Back to top Go down
Sponsored content





RTMLP - A new way of GUI development. Empty
PostSubject: Re: RTMLP - A new way of GUI development.   RTMLP - A new way of GUI development. Empty

Back to top Go down
 
RTMLP - A new way of GUI development.
Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
A Roblox Community :: Roblox General :: Projects-
Jump to: