Discuss Scratch

exotichero
Scratcher
100+ posts

da stick elemtals

Can someone help me with this? I really do need it.

https://scratch.mit.edu/projects/572390377/editor/
deck26
Scratcher
1000+ posts

da stick elemtals

What's the problem? The code will do what you've told it to do so how does that differ from what you wanted or what are you trying to add?
exotichero
Scratcher
100+ posts

da stick elemtals

Ah. so see, As you would have probably noticed the enemy cannot attack you and your health becomes 70 instead of hundred in the beginning . Also, How do I get the enemy to NOT appear on top of the player?
deck26
Scratcher
1000+ posts

da stick elemtals

exotichero wrote:

Ah. so see, As you would have probably noticed the enemy cannot attack you and your health becomes 70 instead of hundred in the beginning . Also, How do I get the enemy to NOT appear on top of the player?
Don't assume anyone helping will necessarily be interested in playing your game.

Your coding for the enemy is confused. You have a forever loop pointing in one direction and other scritps trying to change the direction so why the forever loop?

Why are you using a cloud variable? Do you realise that all users see the same value for that variable? So what is the point of one person setting it?

What is the point of a script to set health to 0 when health = 0?

Where is health set to 100? I can see enemy health set to 100 but not the ‘health’ variable.

What do you mean by the enemy ‘appearing’ on top of the player - the enemy should never be in front or when the enemy appears it should not be touching the player or should be behind the player? As I've said the enemy code is confused at the moment so that needs sorting first.

Last edited by deck26 (Sept. 21, 2021 07:40:15)

exotichero
Scratcher
100+ posts

da stick elemtals

Oops sorry sir i did not know you were 60+
I really am sorry
exotichero
Scratcher
100+ posts

da stick elemtals

deck26
Scratcher
1000+ posts

da stick elemtals

exotichero wrote:

Oops sorry sir i did not know you were 60+
I really am sorry
What's the relevance of my age?

You appear to have unshared the project so I assume you're happy for the moment.

exotichero
Scratcher
100+ posts

da stick elemtals

Yes,Thank you for your help sir!

Powered by DjangoBB