slep
@mrslep
hai
1
1
Animal Crossing
Animal Crossing is owned by Nintendo and this is just a rip-off on repl.it. Cool game Nintendo made.63
18
1
10
freemoney!totally free robux
Free robux!
Basically gives you free robux not a scam just click the link!72
7
10
I really do not know what this is I just made this for fun. This is a low effort game I do not expect many likeskaboom
Is there a april fools thing like scratch??
I took inspiration from @slmjkdbtl flappy mark project but I can not figure out how a sprite from falling out of the world and make it stay in place o
look at the title above
ya
Coder100 let sprite = add([
sprite("img")
]);
destroy(sprite);
we don't remove sprites in kaboom, we destroy them (preferably with bombs)2 years ago
RoBlockHead destroy(whatever variable you assigned the component to) so for exemple:
// adds the sprite
const comp = add([sprite(“thisSprite”)]);
// destroys the sprite
destroy(comp);
the documentation on kaboomjs.com outlines this, but sometimes it’s difficult to read documentation :)2 years ago
How do you change the x and y position of images in html?
Coder100 use css.
Suppose you have this
ur css is:
.img {
position: absolute;
left: 5px;
top: 10px;
}
the left and top are the x and y values technically.2 years ago
How would I do like a
and then do if w clicked change the y position of the image by 40 for example
Coder100 using js
ofc
const img = document.querySelector("img");
img.style.position = "absolute";
img.style.left = ${(parseInt(img.style.left) || 0) + 40}px;
done2 years ago
does anyone have ideas for what I should make with python I will give credit to you in the desc
IntellectualGuy Here are a few ideas for you
2048
Text adventure game
A simulator (Business Simulator, etc.)
War game
Clicker games
An arcade game (Kind like Space Invaders or Pacman)
Uno
A replica of a board game
A game kind of like Plague.Inc where you have to try to make a disease to wipe the whole world out.
tic tac toe
pong
tetris
snake
apocalypse game
tycoon
Rock paper scissors, but with ASCII art
Making an ASCII art animation
battleship2 years ago
So I tried using the getch package and the keyboard package but it would keep giving me an error. Can someone give me a getkey example?
Coder100 yes
from getch import getch
print('press a key any key')
print('you pressed', getch())
`2 years ago
if keypress = "a"
print("AAAAAA")
RYANTADIPARTHI Solution
use a module called getch. It detects it. You could also use the usual input. Try these two examples
import getch
key = getch.getch()
if key == "a":
print("AAAAAA")
or
key = input("type something : ")
if key == "a":
print("AAAAAA")
like that.
Any of them should work2 years ago
mesquite2234 Use the getch module
from getch import getch
keypress = getch()
if keypress.lower() == "a":
print("AAAAAA")
`2 years ago
I need some ideas for repls with python.
KENNETHTRIPP Make rock paper scissors or a text adventure game. I personally can't make a text adventure game because of my lack of creativity, but I did make rock paper scissors (twice, once in Python and once in C#) and found it to be very fun.2 years ago
How would you do something like
if key "a" pressed
print("BLAH")
how would you do something like that in html
mrslep @Coder100 How would i do
window.addEventListener("keydown", e => {
if (e.key == "a") { alert("BLAH"); }
}); and then if they would click a it would change the x or y position
(like can you give me a example)2 years ago
Coder100 you will use js for this:
window.addEventListener("keydown", e => {
if (e.key == "a") { alert("BLAH"); }
});
`2 years ago
How do you change the x and y position of an image in html and also how would you duplicate an image
> P.S. I am pretty new sooo...
Hope you all are having a great day !
I just made this project where you can adopt a pet
I hope you have fun with it
This is basically a pet adopti
Python
Gh0stHack3r sniff sniff ... I have no pet but want a dog and right in front of me one of the options I can pick as a pet is a dog!!! types dog It's so cute!!! It looks like a real dog!!2 years ago
Hello!
I have a question....
So I have a cool repl.it project but I really want to make it a website does anyone know how to do that? (it is with py