Do you know how many satellites orbit our planet? Do you know which is the real objective of the most of them? There are a lot of questions about these objects that are so important for some activities of human life and, because of this, we brought some super interesting curiosites to you stay on top of this subject!
Today, there are about 4000 satellites orbiting the Earth. Most of them are primarily intended for communication in many places around the world, but they also have other features, like weather forecasts, surveys and even for military use.
It may seem like something distant, but the satellites are very important for the everyday life of the human being. They are the most responsible for the dissemination of information from around the world, making communication between people in distant places of the globe faster and more practical.
Among their main functionalities, they are responsible for analyzing and promoting a climate prediction in many parts of the world, making measurements of natural resources, and recording and informing the effects on the planet caused by humans.
Beside that, many countries use satellites for military purposes. A good example of this can be seen in the famous Cold War, in which several satellites were created and launched in demand of conquering the space.
Despite all the advantages and efficiency offered by satellites orbiting our planet, they suffer from a serious problem: the presence of a lot of orbiting space debris.
Space debris orbiting the Earth is mostly from satellite wreckage, since it comes from testing, faulty satellites or even space missions. It is estimated today the presence of 150,000 wrecks orbiting our planet. Due to this large amount, they can cause huge damage by crashing into active satellites and disrupting their operation or even destroying them.
Have you ever wondered what would happen if the world's leading communication satellites were destroyed? How would we stand days waiting for their replacement? Yeah, It’s surreal. Unfortunately, we are subject to this kind of situation. Although satellites are placed on less polluted routes, they are still in serious danger of damage, which is why we should be a little more concerned about the space scrap metal emission.
Even though it seems a little distant from most people's reality, we should start worrying about this issue early on, in order to form citizens who are more aware and concerned about our planet.
letWINDOW={ | |
width: 800, | |
height: 600, | |
padding: 15 | |
} | |
letGAME_CONST={ | |
ship_speed: 500, | |
background_speed: 10, | |
aceleration: 0.03, | |
rotation: 0.2, | |
time_dist_trash: 750, | |
BAR_LENGTH: 200 | |
} | |
letconfig={ | |
type: Phaser.AUTO, | |
width: WINDOW.width, | |
height: WINDOW.height, | |
physics: { | |
default: 'arcade', | |
arcade: {debug: false} | |
}, | |
scene: { | |
preload: preload, | |
create: create, | |
update: update | |
} | |
} | |
constPLAYER_SIZE_X=5 | |
letgame=newPhaser.Game(config) | |
letbackground | |
letplayer | |
letcursors | |
letlastFired=0 | |
letscoreText | |
letspeedText | |
letscore=0 | |
letprogressBar | |
letprogressBox | |
functionpreload(){ | |
this.load.image('background','starfield.png') | |
this.load.image('player','nave1.png') | |
this.load.image('trash','metal.png') | |
} | |
functioncolisionEvent(player,trash){ | |
score++ | |
trash.destroy() | |
} | |
functioncreate(){ | |
// define background | |
background=this.add.tileSprite(WINDOW.width-400,WINDOW.height-300,WINDOW.width,WINDOW.height,'background') | |
// define textos na tela | |
this.scoreText=this.add.text(16,16,'Score: 0',{color: '#ffffff',fontSize: '24px'}) | |
this.scoreText.setText('Score: 0') | |
this.speedText=this.add.text(16,50,'Speed(mph): 0',{color: '#ffffff',fontSize: '24px'}) | |
this.speedText.setText('Speed(mph): 0') | |
// define player | |
player=this.physics.add.sprite(400,550,'player') | |
player.scaleX=(0.4) | |
player.scaleY=(0.4) | |
cursors=this.input.keyboard.createCursorKeys() | |
speed=Phaser.Math.GetSpeed(GAME_CONST.ship_speed,1) | |
varTrash=newPhaser.Class({ | |
Extends: Phaser.GameObjects.Image, | |
initialize: | |
functionTrash(scene){ | |
Phaser.GameObjects.Image.call(this,scene,0,0,'trash') | |
this.speed=Phaser.Math.GetSpeed(400,1) | |
}, | |
move: function(x,y){ | |
this.setPosition(x,y-50) | |
this.setActive(true) | |
this.setVisible(true) | |
}, | |
update: function(time,delta){ | |
this.y+=this.speed*delta | |
if(this.y>WINDOW.height){ | |
this.setActive(false) | |
this.setVisible(false) | |
} | |
} | |
}) | |
trashes=this.physics.add.group({ | |
key: 'trash', | |
classType: Trash, | |
maxSize: 10, | |
runChildUpdate: true | |
}) | |
this.physics.add.collider(player,trashes,colisionEvent,null,this); | |
} | |
functionupdate(time,delta){ | |
// mover esquerda | |
if(cursors.left.isDown&&(player.x-(0.2*player.width))>=0){ | |
player.x-=speed*delta | |
player.rotation-=GAME_CONST.rotation | |
} | |
// mover direita | |
elseif(cursors.right.isDown&&(player.x+(0.2*player.width))<=WINDOW.width){ | |
player.x+=speed*delta | |
player.rotation+=GAME_CONST.rotation | |
} | |
// gerar lixos | |
if(GAME_CONST.background_speed!=0&&time>lastFired){ | |
vartrash=trashes.get() | |
if(trash){ | |
letx=Math.random()*(WINDOW.width) | |
trash.move(x,0) | |
lastFired=time+GAME_CONST.time_dist_trash | |
} | |
} | |
// atualizar velocidade do scroll do background | |
if(GAME_CONST.background_speed>0) | |
GAME_CONST.background_speed-=GAME_CONST.aceleration | |
else | |
GAME_CONST.background_speed=0 | |
background.tilePositionY-=GAME_CONST.background_speed | |
// atualiza textos | |
this.scoreText.setText('Score: '+score) | |
this.speedText.setText('Speed(mph): '+GAME_CONST.background_speed.toFixed(1)) | |
} |