Chủ Nhật, 2 tháng 4, 2017

Youtube daily Apr 2 2017

Is the water you drink is safe? - Tamil Health Tips

Water scarcity has increased in these days

We are in the stage to buy water for drinking purpose

The reason behind this is polluted water sources,mixing of toxins, and reduction of drinking water.

So as we dont get the essential water we are depending on the Canned water

In chennai alone they are selling 75 lakh litres of can water per day

We are going to see whether the can water we buy are really pure.

Recently central government has conducted a research

They conducted this research with a top selling brand of can water in four south Indian states

They revealed shocking results after the research

Some people think that ISI mark is enough while buying Can water.

In the can water we buy , both ISI and FSSAI mark should be present

The ISI certificate given by Bureau of Indian Standard should be there

At the same time the FSSAI (Food safety and standard authority of India) mark which decides the quality of the food should also be present

So before buying Can water confirm whether both the marks are present in the can.

You would be aware that ISI certification of some water companies has been withdrawn while checking in BIS Certification website

We should check whether the name of compnay, Manufacturing date, Expiry date, Batch No., CML No is present.

All these details should be present in the lid of the can also

Some of the companies use stickers instead of printing.

So by this we can confirm where the quality of the can water we buy is upto the standard.

Some can will not damaged even if it falls down. They are chemicals for this.

And in some companies there will be no machineries to fill water in the can and they do it manually

Due to this unhygienic condition is present in filling the can.

But we are not bothering about these actions.

How to confirm whether we are buying a good can water.

Get the receipt for the drinking water can

You can check whether your water company is authorised in BIS website

Check whether ISI and FSSAI marks are present

We can check the Purity of the water can we buy by calling their customer service also

We can check the purity of water by Water Analysis centres

If there is purity issues you can raise a complaint in food department officer and make steps to get pure water

Nature would have given water and air essential for human beings

We are buying these resources as we are against the nature

In olden days we welcome our guests by giving water and it is our tradition

But Now-a-days water is the reason behind many health problems

For more infomation >> Is the water you drink is safe? - Tamil Health Tips - Duration: 4:11.

-------------------------------------------

You are not alone: Pickaxe (Tutorial 015) - Duration: 28:49.

You may need to update to MultiplayerAddOnToYoYoRPG 1.1.8 or above. But use the Update_1_1_7_to_1_1_8.bat to preserve the tutorial changes.

You need ExtraForYouAreNotAlone version 1.1.3 or above. Pause and check if you need to update.

In this tutorial we will create a pickaxe and rocks that the player can place. But you can use this tutorial to create all sort of placeable things.

We need to upgrade a script before we can continue.

objPlayerStrike>Animation End

scr_Multiplayer_Do_Farming_2(item_data[ITEM_DATA],objField_Once,objPlant_Once);

Scripts>ItemGetHoe

_item[ITEM_DATA] = "PlowTool";

This will alow us to use the hoe animations to other weapons. Because we need one for this.

The stone will work as an obstacle. We will set it so we cant destroy it with a sword.

So we will create a pickaxe to handle rocks.

Duplicate sprWeapon6 to sprPickaxe_Object

Transform>stretch

32x32

Duplicate sprWeapon6 to sprPickaxe_Inventory

Transform>stretch

160x160

Duplicate objHoe to objPickaxe

Set sprite to sprPickaxe_Object

scr_Multiplayer_OBJECT_ARRAY_Enviroment

Enviroment_Object_array[59]=objPickaxe;

Duplicate ItemGetHoe to ItemGetPickaxe

_item[ITEM_NAME] = "Pickaxe";

_item[ITEM_OBJECT] = objPickaxe;

_item[ITEM_DESCRIPTION] = "Remove rocks";

_item[ITEM_ICON] = sprPickaxe_Inventory;

_item[ITEM_VALUE] = 200;

_item[ITEM_DATA] = "";

Ok. Lets make us pick it up.

objPlayerCharacter>parCollectible_Weapons

case objPickaxe: item=ItemGetPickaxe(); break;

scr_Multiplayer_ON_PLAYER_REQUEST_OBJECT_GRANTED

case objPickaxe: var item=ItemGetPickaxe(); // Set data fom pickup item item=scr_Multiplayer_Data_Get(data_,item); InventoryAdd(item); break;

Ok. We now have a pickaxe. Lets make a rock. That we can use the pickaxe on.

We start with the sprites.

Sprites>Other

Create a new sprite and call it sprStone

Load sprite

Find the current project folder>background>images>bckDungeon.png

Edit and cut out the stone to the clipboard

Remove the old image and create a new one 32x32

Paste the stone

Center it.

Duplicate sprStone to sprStone_Object

Transform>Stretch

16x16

Duplicate sprStone to sprStone_Inventory

Transform>Stretch

160x160

Sprites>Interactables

Duplicate sprChestSmash to sprStoneSmash

Images>Intensity

Value 106 Saturation 0

Duplicate sprStoneSmash to sprStoneStump

Transform>Stretch

32x32

Remove all images except the last one

Origin 0x0

To place stones we need to set them as a weapon.

Duplicate objSeeds_Carrot to objStone_Object

Set sprite to sprStone_Object

scr_Multiplayer_OBJECT_ARRAY_Enviroment

Enviroment_Object_array[60]=objStone_Object;

Duplicate ItemGetHoe to ItemGetStone

_item[ITEM_NAME] = "Stone";

_item[ITEM_OBJECT] = objStone_Object;

_item[ITEM_DESCRIPTION] = "A stone";

_item[ITEM_ICON] = sprStone_Inventory;

_item[ITEM_VALUE] = 1;

_item[ITEM_DURABILITY] = -1; _item[ITEM_DURABILITY_MAX] = -1;

_item[ITEM_DATA] = "PlaceAbleGrid;objStone_Once;json";

objStone_Once will be the object that the player place when equipping this in the inventory.

Ok. Lets make us pick it up.

objPlayerCharacter>parCollectible_Weapons

case objStone_Object: item=ItemGetStone(); break;

scr_Multiplayer_ON_PLAYER_REQUEST_OBJECT_GRANTED

case objStone_Object: var item=ItemGetStone(); // Set data fom pickup item item=scr_Multiplayer_Data_Get(data_,item); InventoryAdd(item); break;

Ok. Now for the stone obstacle.

Duplicate objGrass to objStone. Yes we use objGrass because this is a totally new obstacle.

Set sprite to sprStone

Depth to -1

Create event

dropChance = 100;

Step event

Change to drop the stone object

var _newGem = instance_create(x+16, y+16, objStone_Object);

scr_Multiplayer_Object_SyncCreate(0, objStone_Object, room, x+16, y+16);

In // Create an instance to show the cut animation

_inst.sprite_index = sprStoneSmash;

In // Create an instance to show the stump

_inst.sprite_index = sprStoneStump;

scr_Multiplayer_OBJECT_ARRAY_Enviroment

Enviroment_Object_array[61]=objStone;

We will also create a once object

Duplicate objStone to objStone_Once

Set parent to objStone

Create event

scr_Multiplayer_ONCE_Enviroment();

scr_Multiplayer_OBJECT_ARRAY_Enviroment

Enviroment_Object_array[62]=objStone_Once;

The stone is a new type of object so we need to make the multiplayer code handle it.

scr_Multiplayer_ON_DESTROY_Enviroment

Copy the CheckObject=objGrass; chunk and paste it below

CheckObject=objStone;

scr_Multiplayer_ON_PLAYER_REQUEST_OBJECT_GRANTED

Copy CheckObject=objGrass; chunk and paste it below

CheckObject=objStone;

Stone

Player>objPlayer

Room start event

In // Activate all "hidden" objects

instance_activate_object(objStone);

Ok. The engine can now handle this new type of obstacle.

We will now make so the pickaxe can remove rocks

objPlayerStrike

Duplicate objPot Collision event to objStone

Edit the objStone collision code

We now check if the item used can smash rocks.

if string_pos("Remove rocks",item_data[ITEM_DESCRIPTION])>0

{ }

Remember that we set: _item[ITEM_DESCRIPTION] = "Remove rocks"; in ItemGetPickaxe

So you can make other special items that can interact with specific world objects.

We need to make so the player can place stones.

objPlayerStrike>Animation End

// Place Objects scr_Multiplayer_Do_PlaceAbleGrid(item_data[ITEM_DATA]);

We can now add some stones in the room.

Stones that will regenerate or only exist once.

We also need to add a pickaxe.

Ok. Lets test it.

Equip pickaxe.

Smash.

Collect.

Equip stones

Place.

A wall a fence ... whatever it rocks

Không có nhận xét nào:

Đăng nhận xét