Skip to content
Open navbar menu
Sign UpLog In
Profile icon

αɱõԍԋ the cool

@AmoghTheCool
"vscode, the best ide is" - Yoda. I'm mainly on replit for the interesting posts. I'm building a choose-your-own-adventure scripting lang.
  • Cube-Fighter

    Cover page
    Made with HTML, CSS, JS

    It has a guy you can control with Arrow Keys (no WASD or LIJK yet), and click to shoot.

    Recent comments (1)
    MattDESTROYER
    MattDESTROYER
    2 years ago

    For the colours you are basically working with CSS, you can literally use "red" instead of "#AB2328" if it helps. To make your input smoother you could use:

    let Input = {};
    document.addEventListener("keydown", function (e) {
    e = e || window.event;
    Input[e.keyCode] = true;
    Input[e.key.toString().toUpperCase()] = true;
    });
    document.addEventListener("keyup", function (e) {
    e = e || window.event;
    Input[e.keyCode] = false;
    Input[e.key.toString().toUpperCase()] = false;
    });

    Then whenever you want to check if a key is pressed you can do:

    Input.KEY: e.g. Input.W - 'W' key
    Input[keyCode]: e.g. Input[38] - 'Up arrow' key
     
    For example:
    if (Input.W || Input[38]) {
    console.log("W or Up Arrow is pressed!");
    }

    Hope this helps :)

  • zomb-apocolypse-runnableonrepl

    Cover page
    Made with HTML, CSS, JS
    Recent comments (0)
AmoghTheCool
AmoghTheCool
published an Update
2 years ago
0
touf
touf
ToufJS
ToufJS is an encrypting library for NodeJS. However, it outputs a number - and this number is usually 50 characters! Run the repl for an example.
#encrypter
#nodejsv16
#secrets
+2
AmoghTheCool
AmoghTheCool
shared a Post
2 years ago
AmoghTheCool
AmoghTheCool
published a Repl
2 years ago
0
ninja
ninjaA top down shooter.
AmoghTheCool
AmoghTheCool
shared a Post
2 years ago
#javascript
#p5js
#cool
+2
ninja a top down shooter Ninja is a fast-paced top-down shooter game where you play as a Ninja. The game's graphics are pixelated. story The game is
ninja
Node.js
AmoghTheCool
AmoghTheCool
shared a Post
2 years ago
Go here for the regularly updated readme, if you don't want to go there it is below: zomb-apocolypse > plz anybody who knows how to spell "apocolypse
zomb-apocolypse-runnableonrepl
HTML, CSS, JS
fragdemented
fragdemented
Apocalypse - When in doubt, google is your friend. My opinion, the zombies move too fast. I was able to stay away from them for a while, but if I happen to be moving in the direction that one spawns from, it's all over in a quarter of a second. I suggest making them move slower, and slowly start sending them in higher numbers to overwhelm the player.1 year ago
MrVoo
MrVoo
You have about a quarter second to react when a zombie appears, maybe change that..?2 years ago
AmoghTheCool
AmoghTheCool
shared a Post
2 years ago
WebSearch Ok first of all this is not google/bing, this is a searching algorithm I made that webscrapes. the main difference is that google/bing have
search_for_word_in_body_of_text
Python
LordPython404
LordPython404
Why does it output a bunch of numbers?2 years ago
ch1ck3n
ch1ck3n
um ok2 years ago
tussiez
tussiez
Interesting2 years ago
AmoghTheCool
AmoghTheCool
published a Repl
2 years ago
0
InfixLife
InfixLifeAn Object-Oriented city sandbox game made in Kotlin
AmoghTheCool
AmoghTheCool
shared a Post
2 years ago
my submission for the weekly7 jam
CSS aye aye aye
HTML, CSS, JS
AmoghTheCool
AmoghTheCool
shared a Post
2 years ago
kewurl Check out the links to make navigating the files easier. The world's greatest url shortener disguiser Your friend just pranked you - sent you a
kewurl
Bash
AmoghTheCool
AmoghTheCool
shared a Post
2 years ago
Mega Node.js tutorial > There is another way to see the tutorial, just go here for the online version (web server written with Express in node.js).
node-tutorial
Node.js
zas202
zas202
@6p_78:https://replit.com/@ggggyvzjz/BuoyantSwiftBlogware#main.p 2 years ago
Leroy01010
Leroy01010
THIS IS NOICE2 years ago
AmoghTheCool
AmoghTheCool
shared a Post
2 years ago
Hello, AmoghTheCool here! I made a JS framework called... WeirdoJS! WeirdoJS is a simple JS framework that makes making web-terminal bots, assistants,
CDN
HTML, CSS, JS
sojs
sojs
not working for me... image2 years ago
AmoghTheCool
AmoghTheCool
shared a Post
2 years ago
Carrots vs Cakes So hi, I made a new project rather like tic-tac-toe except- 🎂 = X 🥕 = O But it cant detect who wins or if it is a tie. Yet. I'm wor
crtsvcks
HTML, CSS, JS
AmoghTheCool
AmoghTheCool
shared a Post
2 years ago
A Minecraft version of ReplAlone (replalone made by @BobTheTomatoPie). However, no code came from him (and this is not a fork). This is my own code So
MyneLife
HTML, CSS, JS
BobTheTomatoPie
BobTheTomatoPie
glad to know you liked my game2 years ago
InvisibleOne
InvisibleOne
Screen Shot 2021-07-22 at 8.51.05 AM But I had just built a house!2 years ago
AmoghTheCool
AmoghTheCool
published a Repl
2 years ago
0
MyneLife
MyneLifea funny game
AmoghTheCool
AmoghTheCool
shared a Post
2 years ago
A super satisfying HTMLAnchorElement (more commonly known by in HTML and a in CSS). The first time I used @keyframes in CSS, and I've found it makes
Satisfying100%CSSa
HTML, CSS, JS
xfinnbar
xfinnbar
Don't use @keyframes for hover effects in CSS. Use transition instead. It's much easier and quicker: a { color: black; transition: color ease 0.3s; } a:hover { color: orange; } `2 years ago
AmoghTheCool
AmoghTheCool
published a Repl
2 years ago
0
Square Root thingy
Square Root thingysquare root without * or / or the 'sqrt' function
TheDrone7
TheDrone7
Scored.2 years ago
AmoghTheCool
AmoghTheCool
shared a Post
2 years ago
This is a 3D wireframe rectangle WITHOUT Three.js, thanks to a tutorial on Scratch (from (@MathMathMath)[https://scratch.mit.edu/users/MathMathMath],
3dwithoutthreeattempt
HTML, CSS, JS
AmoghTheCool
AmoghTheCool
published a Repl
2 years ago
0
AmoghTheCool
AmoghTheCool
shared a Post
2 years ago
In Exit The Spaceship, you are a human who has angered an alien species (read the readme.md for the exact name). You have been captured to be taken ba
Exit the Spaceship
HTML, CSS, JS
cuber1515
cuber1515
Cool!2 years ago
AmoghTheCool
AmoghTheCool
shared a Post
2 years ago
Bob web version! the previous Bob was made in python before i decided to modernize it to web. do bob-inf for more information. bob-cmds for commands l
Bob web
HTML, CSS, JS
codingjlu
codingjlu
In line 146 you did >; I don't think you mean that?2 years ago