WILLIAM BAEWER
@WILLIAMBAEWER
no cringe allowed
coding credit goes to @Coder100 , he did the original coding.
I basically just "re-made" the levels. I felt the original was too easy. so I made it h
HTML, CSS, JS
original code by @Mrunank 's Wheels-On-The-Hills
all I did was make the level and tweak the gravity. if you can make it to the end and post a picture
HTML, CSS, JS
because we all know the easiest is python lol
Bookie0 because we all know the easiest is python lol
Not necessarily, LOLCODE is pretty simple too (not many things you can do with it though)..2 years ago
xxpertHacker JavaScript doesn't throw errors at all, here's an example of the struggle:
https://repl.it/talk/ask/Buttons-not-Working-but-no-errors-in-javscript/1195782 years ago
SixBeeps BrainF is easy to learn, hard to master.
I'd argue that Whitespace is harder, since you can't see where you might've made an error.2 years ago
Do md files get compiled as code when a program is run, or do they get ignored?
SixBeeps The compiler will only compile the code you tell it to. Normally this is only the main file, but if you can manage to find an MD compiler (if that's even a thing) and link it to the Run button, then they will.2 years ago
im making a text based rougelike, but the console gets cluttered fast. how do I clear the previous text so that it looks nicer and is more readable?
Coder100 Easy, add this:
system("clear");
whenever you want the terminal to be cleared. And plus, it's also semantically nice2 years ago
RYANTADIPARTHI Solution
here's how.
void clear() {
// CSI[2J clears screen, CSI[H moves the cursor to top-left corner
std::cout << "\x1B[2J\x1B[H";
}
another way is
printf("\033c");
like that. Here's a link for more info.
https://stackoverflow.com/questions/6486289/how-can-i-clear-console
It should work2 years ago
I would also like to know how they get added, when they get added and is anyone allowed to make one?
Coder100 You can't add them yourself, a repl.it team members must do it.
That's why there is the templates board for a reason.2 years ago
Screenshot 2021-01-14 at 8.35.37 AM
I dont like it :3
C++
Baconman321 C++ is a compiled language. Compilation is a process in which the code is read and modified into another language. This is different from interpreted languages, where the language is read by an interpreter and then the interpreter sends instructions to the computer.
Imagine you speak english, and you are in Italy. You might want to order a cake at a bakery and so you tell the interpreter "Hey, order cake". The interpreter takes those instructions, and does the "buying" themselves as well as tra2 years ago
Wumi4 It's the executable file. It's the file that you will run after you compiled your code.2 years ago
JBloves27 Nice! Anyways, some tutorials are:
https://www.youtube.com/watch?v=vLnPwxZdW4Y&vl=en
https://www.learncpp.com/
https://www.tutorialspoint.com/cplusplus/index.htm
https://www.w3schools.com/cpp/
I hope these help!2 years ago
I want to start making video games but I dont know what language I should invest my time into.
tussiez If you wish to use a GUI - try Unity or Roblox Studio
If you want to do all the programming by hand, I recommend JavaScript, GLSL*, C++, and C# (Useful for Unity)
Lua is used for scripting in Roblox Studio.
*this is a 3D graphics language, used in OpenGL/WebGL, which, IIRC, can be used in almost all the languages I state here2 years ago
RYANTADIPARTHI Languages
i would say c++, c, c#, p5.js, turtle, pygame, Js. They are all good video game design languages. C# is good for Unity, c++, build engine. Very good.
Try them2 years ago
19wintersp With video games, you might want to use a game engine such as Unity (you would use C# with it) or Unreal (C++); or you could create Web games with HTML and JS (or a library like p5js); or you could use Python with Pygame. You can use practically any language to create a game, so I'd suggest picking a language you like and finding a good library for it, but if you want to make complex, 3D games, I'd suggest a game engine such as Unity.2 years ago
I need to know, the fate of the universe might depend on it. :)
Bookie0 Please don't ask these types of questions, as this is the ask board to ask coding-related questions. You can ask these kind of stuff on the repl.it discord server here.
;)2 years ago
I want to try and see if I can make a game with Java that uses WASD to move around a character but I dont know how to properly set up the needed code
Java
JBloves27 Well, could you attach a repl example? Or something that looks like it? Because that would help. A lot. Thanks!2 years ago