Discuss Scratch

liamcun
Scratcher
9 posts

How to make a health bar using pen tool

first you want to add the pen extension.
Then make a custom block looking like this:
defineMakebar)X:xX2:x2Y:yHealth:hpclearpenupsetpencolortosetpensizeto20gotox:xy:ypendownchangexbyx2penupsetpencolortosetpensizeto10pendownchangexbyhp*x2/100
Then make a variable called “HP”
HP
Then put the block into a loop like this:
whenclickedforeverMakebar)X:0X2:100Y:0Health:HP
Unithlees3
Scratcher
1000+ posts

How to make a health bar using pen tool

This forum is not for tutorials

Harakou wrote:

Hi! It's great that you want to offer some useful tips to other users, but this forum isn't meant for tutorials. Instead, why not create a project and share it in the Show and Tell forum? That way, people can see the scripts you're demonstrating in action, change them easily and remix your project if they want to.
liamcun
Scratcher
9 posts

How to make a health bar using pen tool

Unithlees3 wrote:

This forum is not for tutorials

Harakou wrote:

Hi! It's great that you want to offer some useful tips to other users, but this forum isn't meant for tutorials. Instead, why not create a project and share it in the Show and Tell forum? That way, people can see the scripts you're demonstrating in action, change them easily and remix your project if they want to.

Ok, but is it ok if i can post the project in things i am making / creating?
Unithlees3
Scratcher
1000+ posts

How to make a health bar using pen tool

liamcun wrote:

Unithlees3 wrote:

This forum is not for tutorials

Harakou wrote:

Hi! It's great that you want to offer some useful tips to other users, but this forum isn't meant for tutorials. Instead, why not create a project and share it in the Show and Tell forum? That way, people can see the scripts you're demonstrating in action, change them easily and remix your project if they want to.

Ok, but is it ok if i can post the project in things i am making / creating?
yes
jdmdigital
Scratcher
100+ posts

How to make a health bar using pen tool

liamcun wrote:

Ok, but is it ok if i can post the project in things i am making / creating?


Show n tell is good place too
Harakou
Scratcher
1000+ posts

How to make a health bar using pen tool

liamcun wrote:

Unithlees3 wrote:

This forum is not for tutorials

Harakou wrote:

Hi! It's great that you want to offer some useful tips to other users, but this forum isn't meant for tutorials. Instead, why not create a project and share it in the Show and Tell forum? That way, people can see the scripts you're demonstrating in action, change them easily and remix your project if they want to.

Ok, but is it ok if i can post the project in things i am making / creating?
It would be better to post it in Show and Tell.

Powered by DjangoBB