Re: 2019-02-20 snapshot
Posted: Sun Feb 24, 2019 2:21 pm
How can i change my avatar from Kermit lmao
You're going to have to learn Javascript. JLV gave an example on the previous page.hvpmvp wrote:Can someone explain to me how to add these to a track?
These lines control the avatars. The catch all at the end is Kermit. Each line matches a name to the row and column the avatar is in. The names are regular expressions, which are a complicated subject but if you just use /\bFIRSTNAME.*\bLASTNAME\b/i it should do what you want.vengefuluoto420 wrote:How can i change my avatar from Kermit lmao
Code: Select all
{ page: 1, row: 0, col: 1, re: /\bmiss.*\bpiggy\b/i },
{ page: 1, row: 1, col: 0, re: /\bgonzo\b/i },
{ page: 1, row: 1, col: 1, re: /\bfozzy.*\bbear\b/i },
{ page: 1, row: 2, col: 0, re: /\browlf\b/i },
{ page: 1, row: 2, col: 1, re: /\bscooter\b/i },
{ page: 1, row: 3, col: 0, re: /\bpepe.*\bprawn\b/i },
{ page: 1, row: 3, col: 1, re: /\brizzo.*\brat\b/i },
{ page: 1, row: 4, col: 0, re: /\bbunsen.*\bhoneydew\b/i },
{ page: 1, row: 4, col: 1, re: /\bbeaker\b/i },
{ page: 1, row: 5, col: 0, re: /\bwaldorf\b/i },
{ page: 1, row: 5, col: 1, re: /\bstatler\b/i },
/* catch all - this should be last */
{ page: 1, row: 0, col: 0, re: /.*/ },
RIPaeffertz wrote:You're going to have to learn Javascript. JLV gave an example on the previous page.hvpmvp wrote:Can someone explain to me how to add these to a track?
Sorry, not yet. Will definitely be writing some documentation soon though.aeffertz wrote:Is there a full list of available functions anywhere?
The parameters are like this:aaronr5 wrote:jlv, could you give me a quick explanation on how mx.paste_custom_frame works or even just what the arguments for it are? I tried figuring it out from the jstest example but couldn't understand it.
Yes, it's duktape.aaronr5 wrote:jlv I also meant to ask you, did you end up going with duktape for the js interpreter?
willyt366 wrote:...not too experienced in Java
DBRider251 wrote:I recommend Udemy honestly. $12 for a course, usually better than a college professor.
aaronr5 wrote:Eloquent javascriptaeffertz wrote:Anybody got a good Javascript course/tutorial on YouTube or Skillshare?
jlv wrote: Mozilla's reference pages are excellent.
The rF Indianapolis track has some sounds on it this week.willyt366 wrote:Anyone created a track yet with sounds thats ready to DL? Id love to hear the sounds in the game but not too experienced in Java