Discuss Scratch

sinisterchaos22
Scratcher
25 posts

cool idea

so I had this idea for a game where there is a llama that eats a carrot,, and he expolde in fires. then red shirt man, wear hat magic and chase carrot so lama not explodes.; there also a cat that eats taco 4 time a minut, and click to fix error, ask questions, increase score if corect, die if not. playrs can change skin to maryo or luugi;;;; or also yosh, or bob.. bob looks like an angry orange rocket ship cheese table sauce. If score is 12, maryo get a mush room. if score is -8, Mario get eat by Bowser. bowzer will get angry if one score less than score is more than kumquat number +7. player get extra super duper speed mode if maryo or luugi kil the llama or the carot. Red shirt man has sword and fight Bowser. If Steve lose, shirt blue. If Bowser win and Steve explode, yosh is eten alive by the cat. bowzer will get angry orange rocket ship cheese table sauce. If score less that eat by Bowser. If score is a llama or luugi;;;; or also a cat that eats a carrot so lama not explodes.; there also a cat that eats taco 4 time a minut, and click to fix error, ask questions, increase score less than score if one score if not. player get a mush room. if score is more than kumquat number +7. player get extra super duper speed mode in fires. there also ike an angry if maryo or luugi kil the llama or bob.. Scary game it is.

move (cat) steps
say [talk]
think [7 + 1]
show
pen up

the bowzer say this secret code this when ded:
pep
thblow
movep
s
shove 1]
pshblochow
mochblow
saloven (ck]
thblow
penk]1]

[tchochblovepshow
pen + 1]
Scratchbeginner5669
Scratcher
1000+ posts

cool idea

best idea ever
sinisterchaos22
Scratcher
25 posts

cool idea

Scratchbeginner5669 wrote:

best idea ever
ner5669]best idea ever
9]best idea ever
beginner5669]best idea ever
Google_D0odles
Scratcher
89 posts

cool idea

im gonna try and make that
Google_D0odles
Scratcher
89 posts

cool idea

nvm

Last edited by Google_D0odles (Sept. 13, 2024 16:48:41)

sinisterchaos22
Scratcher
25 posts

cool idea

Google_D0odles wrote:

nvm
??!?!?!??!?!??!?!??!?!?
zeldatheaxolotl
Scratcher
1000+ posts

cool idea

Do it and send me the link not the name
chartergirlrich1
Scratcher
1 post

cool idea

I love it best idea ever
sinisterchaos22
Scratcher
25 posts

cool idea

import pygame
import random

# Initialize Pygame
pygame.init()

# Screen dimensions
SCREEN_WIDTH = 800
SCREEN_HEIGHT = 600

# Colors
WHITE = (255, 255, 255)
BLACK = (0, 0, 0)
ORANGE = (255, 165, 0)
RED = (255, 0, 0)
GREEN = (0, 255, 0)
BLUE = (0, 0, 255)

# Player settings
PLAYER_SIZE = 50
PLAYER_COLOR = ORANGE

# Define the Player class
class Player(pygame.sprite.Sprite):
def __init__(self, color, x, y):
super().__init__()
self.image = pygame.Surface()
self.image.fill(color)
self.rect = self.image.get_rect()
self.rect.x = x
self.rect.y = y
self.change_x = 0
self.change_y = 0

def update(self):
self.rect.x += self.change_x
self.rect.y += self.change_y

def jump(self):
if self.rect.y == SCREEN_HEIGHT - PLAYER_SIZE:
self.change_y = -10

def gravity(self):
self.change_y += 0.5
if self.rect.y >= SCREEN_HEIGHT - PLAYER_SIZE:
self.rect.y = SCREEN_HEIGHT - PLAYER_SIZE
self.change_y = 0

# Initialize game window
screen = pygame.display.set_mode()
pygame.display.set_caption(“Llama Explosion Adventure”)

# Create player and llama objects
player = Player(PLAYER_COLOR, SCREEN_WIDTH // 2, SCREEN_HEIGHT - PLAYER_SIZE)
llama = Player(RED, random.randint(0, SCREEN_WIDTH - PLAYER_SIZE), SCREEN_HEIGHT - PLAYER_SIZE)

# Create a sprite group for all sprites
all_sprites = pygame.sprite.Group()
all_sprites.add(player)
all_sprites.add(llama)

# Main game loop
running = True
clock = pygame.time.Clock()

while running:
for event in pygame.event.get():
if event.type == pygame.QUIT:
running = False
elif event.type == pygame.KEYDOWN:
if event.key == pygame.K_SPACE:
player.jump()
elif event.key == pygame.K_LEFT:
player.change_x = -5
elif event.key == pygame.K_RIGHT:
player.change_x = 5
elif event.type == pygame.KEYUP:
if event.key == pygame.K_LEFT or event.key == pygame.K_RIGHT:
player.change_x = 0

# Update player and llama
player.gravity()
player.update()

# Check collision between player and llama
if pygame.sprite.collide_rect(player, llama):
print(“Llama prevented from exploding!”)
llama.rect.x = random.randint(0, SCREEN_WIDTH - PLAYER_SIZE)

# Clear the screen
screen.fill(WHITE)

# Draw all sprites
all_sprites.draw(screen)

# Update the screen
pygame.display.flip()

# Limit the frame rate
clock.tick(30)

pygame.quit()

Powered by DjangoBB