Discuss Scratch

Mint-Moss-Meow
Scratcher
8 posts

Warrior cats games

Hi! So when I search up “How to make Warrior cat games” I barely see anything. So I’m gonna show you how to move ur player! (I started with this because I think this is the best place to start.)

For simple WC games do this make a cat, the have 2 costumes for left a right. For the code, do this:
when [ right arrow] key pressed
switch costume to [Right]
change x by (10)

when [ Left arrow] key pressed
switch costume to [ Left]
change x by (-10)

Last edited by Mint-Moss-Meow (Feb. 17, 2025 12:49:09)

Mint-Moss-Meow
Scratcher
8 posts

Warrior cats games

And for more advanced games do this:
when green flag clicked
if <<key [ Right arrow] pressed?> or <key [ d] pressed?>> then
switch costume to [ Right]
change x by (10)



if <<key [ Left arrow] pressed?> or <key [ a] pressed?>> then
switch costume to [ Left]
change x by (-10)

Last edited by Mint-Moss-Meow (Feb. 17, 2025 12:54:54)

Mint-Moss-Meow
Scratcher
8 posts

Warrior cats games

D

Last edited by Mint-Moss-Meow (Feb. 17, 2025 12:56:02)

vdiaz041
Scratcher
500+ posts

Warrior cats games

Mint-Moss-Meow wrote:

D
E
Mint-Moss-Meow
Scratcher
8 posts

Warrior cats games

vdiaz041 wrote:

Mint-Moss-Meow wrote:

D
E

lol
vdiaz041
Scratcher
500+ posts

Warrior cats games

Mint-Moss-Meow wrote:

Hi! So when I search up “How to make a Warrior Cats game” I barely see anything. So I’m gonna show you how to move your player!
(I started with this because I think this is the best place to start.)

For simple WC games do this: Make a cat, then have 2 costumes for both left & right. For the code, do this:
when [right arrow v] key pressed
switch costume to (Right v)
change x by (10)

when [left arrow v] key pressed
switch costume to (Left v)
change x by (-10)
And for more advanced games do this:
when green flag clicked
if <<key [right arrow v] pressed?> or <key [d v] pressed?>> then
switch costume to (Right v)
change x by (10)
else
if <<key [left arrow v] pressed?> or <key [a v] pressed?>> then
switch costume to (Left v)
change x by (-10)

Last edited by vdiaz041 (Feb. 17, 2025 19:54:34)

Mint-Moss-Meow
Scratcher
8 posts

Warrior cats games

hi

Last edited by Mint-Moss-Meow (Feb. 17, 2025 20:00:13)

Mint-Moss-Meow
Scratcher
8 posts

Warrior cats games

SOOOOO , The next thing is to code The mother. (In this game, she sets things up)
when this sprite clicked
set [ Hunger] to [10]
set [ Mate] to [ ]
set [ Day] to [ ]
set [ Rank] to [kit]
say [What's your prefix?] for (2) secs
Paddle2See
Scratch Team
1000+ posts

Warrior cats games

Hello! It's great that you want to help out other Scratchers. However, I think we have enough guides in the forums at the moment. Please feel free to welcome new Scratchers on the group welcoming topic or on individual topics created by New Scratchers.

Other places that can always use more helpful Scratchers like you, are the "Help With Scripts“ and ”Questions About Scratch" areas - please use them as designed, by responding to topics created by folks with problems to solve

Finally, a really good place for Scratch guides is the Scratch Wiki - check it out and see if it's something you might like to work on. They have a number of guides - and great organization.

Powered by DjangoBB