Skip to content
Sign UpLog In
Profile icon

r3b0rn

@r3b0rn
  • run

    Cover page
    Made with HTML, CSS, JS

    You're the character. A deadly evil ball is chasing you. use your arrow keys to dodge the ball. And all you can do Is hope you live. Warning: it gets faster >:)

    Recent comments (0)
Repls
Community
r3b0rn
r3b0rn
shared a Post
2 years ago
Pizza Shop: Update 1
In this fun little game there is no ending. Just keep serving the people of Monkeyville with best pizzas in town! Hope you enjoy!
Pizza Shop
HTML, CSS, JS
r3b0rn
r3b0rn
shared a Post
2 years ago
#html
#javascript
#fun
+1
In this update, I started playing around with "localStorage". In the console, type window.localStorage or just localStoage and it will show you all of
run
HTML, CSS, JS
cuber1515
cuber1515
Great!2 years ago
r3b0rn
r3b0rn
shared a Post
2 years ago
How do you edit text files using js not node js but js
SixBeeps
SixBeeps
To further elaborate on what @EpicGamer007 said: If browser JS had access to the local file system, that would mean anyone could make a website to simply delete all of your files in one go, all without user input. Not good. Instead, if you were to use Node.js, that works in the application scope rather than in the internet scope. Thus, there'd be no danger in allowing access to the local file system. What exactly are you looking to achieve by editing a file on the local system?2 years ago
EpicGamer007
EpicGamer007
Simple answer is, you cannot, browser js cannot access the file system.2 years ago
r3b0rn
r3b0rn
shared a Post
2 years ago
can anyone teach me a node js chat app. I just cant understand. just write sure and ill invite you!
EpicGamer007
EpicGamer007
I can help you but the best tutorial i have seen is on the socket.io website made with socket.io: https://socket.io/get-started/chat2 years ago
ruiwenge2
ruiwenge2
i can show you one i made: https://replit.com/@ruiwenge2/Chat2 years ago
r3b0rn
r3b0rn
shared a Post
2 years ago
Suggestions: None Bugs: None yet Updates: -Harder -Bug Fixes -Canvas Border Visible Enjoy!
run
HTML, CSS, JS
tankerguy1917
tankerguy1917
Nice, looks good!2 years ago
cuber1515
cuber1515
Cool! I got 77 (I hope that's a good score)2 years ago
DynamicSquid
DynamicSquid
Cool game!2 years ago
r3b0rn
r3b0rn
shared a Post
2 years ago
Created by: @r3b0rn Suggestions: None yet Bugs: Ball glitching out of map-fixed player occasionally leaving map-fixing
run
HTML, CSS, JS
tipollae
tipollae
Great game! You should also use a jquery (jquery is a javascript library) for the player movement, it will make your movement for the player more smooth, I will link the code: https://playermovement.cheesehasman.repl.co/jquery.js How to use this library: copy paste that code you see in it and put it in a new script in your repl/project, link the script to the HTML: " now that you have done that copy this code and put it on your script for the game (not the jquery script): //wasd controller 2 years ago
Bunnytoes
Bunnytoes
I also glitched it but great job :D2 years ago
tankerguy1917
tankerguy1917
Noice. I glitched it out and made the ball disappear, so infinite points. RUUNN!2 years ago
r3b0rn
r3b0rn
shared a Post
2 years ago
how do i detect if the ball hits the square (collison)
run
HTML, CSS, JS
Coder100
Coder100
you could check if the x and y position of the circle is greater than the x of the rect and the y of the rect respectively and also if it is less than the x+width of the rect and y+height of the rect respectively too. if (x > rx && y > ry && x < rx + width && y < ry + height) where x and y is the position of the circle and rx and ry is the position of the rect and width and height is the width and height of the rect.2 years ago
r3b0rn
r3b0rn
play in full screen probably!2 years ago
r3b0rn
r3b0rn
shared a Post
2 years ago
how do you detect collison between 2 objects in javascript!
ch1ck3n
ch1ck3n
this might help? https://stackoverflow.com/questions/28453895/how-to-detect-collision-between-two-objects-in-javascript-with-three-js2 years ago
r3b0rn
r3b0rn
shared a Post
2 years ago
Im making a game, its like a platformer and I want my character to move around everywhere using arrow keys. Can someone show me how to do this
ruiwenge2
ruiwenge2
you can do this: document.addEventListener("keydown", function(e){ if(e.key == "ArrowLeft"){ // do something } else if(e.key == "ArrowRight"){ // do something } else if(e.key == "ArrowUp"){ // do something } else if(e.key == "ArrowDown"){ // do something } }); `2 years ago