Chris P. Bacon
@samfierycreeper
1
Landlord Prime Mix Calculator(I still hate Bell Peppers)
8
2
1
MiddleAncient Nice, not sure who would come onto replit and use this but it's still pretty cool8 months ago
This post is incoherent garbage so I apologize in advance.
I just started learning Kaboom earlier today and I am trying to create a simple game simil
MrVoo Kaboom colors are pretty confusing, but you can change them like this:
// This is equal to (255,0,0)
sprite.color.r = 1;
sprite.color.g = 0;
sprite.color.b = 0;
// This is equal to (0,127,255)
sprite.color.r = 0;
sprite.color.g = 0.5;
sprite.color.b = 1;
`1 year ago
How do you Require a Lua file with NixOS?
In my Repl I am trying to require a file, otherfile.lua. The way that I am requiring it would work in Lua n
Blank Repl
SixBeeps So apparently in Lua, require() only searches for files in the paths you give it. By default, the current path is not included in this list of paths.
Change the LUA_PATH environment variable to look for scripts in that directory.1 year ago
0
According to lua.org (Lua's official website). Lua 5.1.5 (the version of Lua that Replit has) was released on 17 Feb 2012.
That makes Lua over 9 year
samfierycreeper I created a Repl (using Nix as ch1ck3n had said) with Lua 5.4.3. The most up-to-date version as of writing this post. You can fork it here: https://replit.com/@samfierycreeper/Lua-5431 year ago
ch1ck3n i think the replit team is just too lazy to fix it
you can always just use nix to get the current version though https://docs.replit.com/programming-ide/getting-started-nix#learn-more-about-nix1 year ago
5
Default Repl Name GeneratorI made a program that tries to replicate those weird default program names.
I probably wasn't the first person to do this.
UPDATE (7/19/21): added more words and I made the program read .txt files for the words.
23
0
5
####Sorry about the weird title, couldn't think of a better way to word it
Replit tends to put 3 languages you have used before into a small box on t
Bookie0 Go on the CLI.
Account:
Screen Shot 2021-03-16 at 7.21.31 PM
Languages:
Screen Shot 2021-03-16 at 7.21.46 PM
And check the languages you want. You need 3, iirc.
Screen Shot 2021-03-16 at 7.22.01 PM
Reload the home page, and you should have those languages.
Good luck! :D2 years ago
Coder100 simple!
Click this link: https://replit.com/~/cli/account/languages?run=1
might want to bookmark it if you are really indecisive lol2 years ago
SixBeeps Not sure if this will do it, but try changing them in the Replit CLI by running the account languages command.2 years ago
Hey! I've been trying to format an if/then/else statement in LUA? I can't figure it out. How would I do so?