Moozonian
Web Images Developer News Books Maps Shopping Moo-AI
Showing results for astronaut PNG
GitHub Repo https://github.com/DxOxM1/code-for-my-astronaut-game

DxOxM1/code-for-my-astronaut-game

function preload(){ AstronautBathing1 = loadImage("bath1.png") TheRoom = loadImage ("iss.png") SleepingBox = loadImage("sleep.png") AstronautBathing2 = loadImage("bath2.png") AstronautBrushingHisTeeth = loadImage("brush.png") AstronautDrinking1 = loadImage("drink1.png") AstronautDrinking2 = loadImage("drink2.png") AstronautEating1 = loadImage ("eat1.png") AstronautEating2 = loadImage ("eat2.png") AstronautFeelingTheBurn1 = loadImage("gym1.png") AstronautFeelingTheBurn2 = loadImage("gym2.png") AstronautFeelingTheBurn11 = loadImage("gym11.png") AstronautFeelingTheBurn12 = loadImage("gym12.png") AstronautMoving = loadImage("move.png") AstronautMoving1 = loadImage("move1.png") } function setup() { createCanvas(800,400); Background = createSprite(322,210,50,50); Background.addImage(TheRoom) Background.scale = 0.12 SleepingAstronaut = createSprite(330, 200,50, 50); SleepingAstronaut.addImage(SleepingBox) SleepingAstronaut.scale = 0.1 SleepingAstronaut.visible = true BathingAstronautOne = createSprite(330,230,50,50); BathingAstronautOne.addImage(AstronautBathing1) BathingAstronautOne.scale = 0.1 BathingAstronautOne.visible = false BathingAstronautTwo = createSprite(330,230,50,50); BathingAstronautTwo.addImage(AstronautBathing2) BathingAstronautTwo.scale = 0.1 BathingAstronautTwo.visible = false EatingAstronautOne = createSprite(330,230,50,50); EatingAstronautOne.addImage(AstronautEating1) EatingAstronautOne.scale = 0.1 EatingAstronautOne.visible = false EatingAstronautTwo = createSprite(330,230,50,50); EatingAstronautTwo.addImage(AstronautEating2) EatingAstronautTwo.scale = 0.1 EatingAstronautTwo.visible = false AstronautExercising1 = createSprite(330,230,50,50); AstronautExercising1.addImage(AstronautFeelingTheBurn1) AstronautExercising1.scale = 0.1 AstronautExercising1.visible = false AstronautBrush = createSprite(330,230,50,50); AstronautBrush.addImage(AstronautBrushingHisTeeth) AstronautBrush.scale = 0.1 AstronautBrush.visible = false AstronautFloating = createSprite(330,230,50,50); AstronautFloating.addImage(AstronautMoving) AstronautFloating.scale = 0.1 AstronautFloating.visible = false InvisibleBorderPart = createSprite(130,460,1000,5) InvisibleBorderPart.visible = false InvisibleBorderPart2 = createSprite(110,130,5,1000) InvisibleBorderPart2.visible = false InvisibleBorderPart3 = createSprite(130,30,1000,5) InvisibleBorderPart3.visible = false InvisibleBorderPart4 = createSprite(570,130,5,1000) InvisibleBorderPart4.visible = false } function draw() { background(255,255,255); if(keyDown("LEFT_ARROW")){ BathingAstronautOne.visible = true SleepingAstronaut.visible = false EatingAstronautOne.visible = false AstronautExercising1.visible = false AstronautBrush.visible = false AstronautFloating.visible = false } if(keyDown("RIGHT_ARROW")){ BathingAstronautOne.visible = false SleepingAstronaut.visible = false EatingAstronautOne.visible = true AstronautExercising1.visible = false AstronautBrush.visible = false AstronautFloating.visible = false EatingAstronautOne.velocityX = 4 EatingAstronautOne.velocityY = 4 } if(keyDown("DOWN_ARROW")){ AstronautExercising1.visible = true BathingAstronautOne.visible = false SleepingAstronaut.visible = false EatingAstronautOne.visible = false AstronautBrush.visible = false AstronautFloating.visible = false } if(keyDown("UP_ARROW")){ AstronautBrush.visible = true AstronautExercising1.visible = false BathingAstronautOne.visible = false SleepingAstronaut.visible = false EatingAstronautOne.visible = false AstronautFloating.visible = false } if(keyDown("m")){ AstronautBrush.visible = false AstronautExercising1.visible = false BathingAstronautOne.visible = false SleepingAstronaut.visible = false EatingAstronautOne.visible = false AstronautFloating.visible = true AstronautFloating.velocityX = -4 AstronautFloating.velocityY = -4 } if(EatingAstronautOne.isTouching(InvisibleBorderPart)) { EatingAstronautOne.velocityY = -2 } if(EatingAstronautOne.isTouching(InvisibleBorderPart2)) { EatingAstronautOne.velocityX = 1 } if(EatingAstronautOne.isTouching(InvisibleBorderPart3)) { EatingAstronautOne.velocityY = 3 } if(EatingAstronautOne.isTouching(InvisibleBorderPart4)) { EatingAstronautOne.velocityX = -2 } if(AstronautFloating.isTouching(InvisibleBorderPart)) { AstronautFloating.velocityY = -2 } if(AstronautFloating.isTouching(InvisibleBorderPart2)) { AstronautFloating.velocityX = 1 } if(AstronautFloating.isTouching(InvisibleBorderPart3)) { AstronautFloating.velocityY = 3 } if(AstronautFloating.isTouching(InvisibleBorderPart4)) { AstronautFloating.velocityX = -2 } drawSprites() fill("red") text("M = moving",75,56) fill("red") text("Right Arrow = eating",75,70) fill("red") text("Left Arrow = bathing",75,86) fill("red") text("Down Arrow = gymming",75,100) fill("red") text("Up Arrow = brushing",75,114) }
GitHub Repo https://github.com/daniel-lyon/Aussie-Astronauts-Art-Exhibition

daniel-lyon/Aussie-Astronauts-Art-Exhibition

Module that produces a .mid file from a .png image
GitHub Repo https://github.com/sadm0001/The-moon

sadm0001/The-moon

<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>the moon</title> </head> <body> <h1>The Moon</h1> <h2><strong>A Naturall satelite</strong></h2> <p><strong>The Moon is the only natural satellite of the Earth, and the fifth largest satellite in the Solar System. It is the largest natural satellite of a planet in the Solar System relative to the size of its primary, having a quarter the diameter of Earth but only 1⁄81 its' mass. </strong></p> <figure> <img src="the-moon1.edda3e72.png"> <figcaption> The Moon as seen from Ottawa. </figcaption> </figure> <h2>Statistics</h2> <ul> <li>Semi-major axis: 384,399 km </li> <li>Orbital period: 27.321582 days </li> <li>Average orbital speed: 1.022 km/s </li> <li>Mean radius: 1,737.10 km </li> <li>Surface area: 3.793 × 107 km2 </li> <li>Volume: 2.1958 × 1010 km3 </li> <li>Mass: 7.3477 × 1022 kg </li> </ul> <h2>Moon Landings </h2> <ol> <li><h3>Apollo 11</h3><p><strong>July 20, 1969 </strong></p><br><P><strong>Apollo 11 was an American spaceflight in which the astronauts Neil Armstrong and Buzz Aldrin became the first ever to land on the Moon on July 20, 1969, at 20:18 UTC. Further, Neil Armstrong became the first to step onto the Moon 6 hours after the landing on 21 July, 02:56 UTC.</strong></P><br><h4>Source:<a href="http://en.wikipedia.org/wiki/Apollo_11">http://en.wikipedia.org/wiki/Apollo_11</a></h4></li> <li><h3>Apollo 12 </h3><p><strong>November 19, 1969 </strong></p><br><p><strong>Apollo 12 was the sixth manned flight in the United States Apollo program and the second to land on the Moon (an H type mission). It was launched on November 14, 1969 from the Kennedy Space Center, Florida, four months after Apollo 11</strong></p><br><h4>Source:<a href="http://en.wikipedia.org/wiki/Apollo_12">http://en.wikipedia.org/wiki/Apollo_12 </a></h4></li> </ol> </body> </html>
GitHub Repo https://github.com/sebastianmoravillachica/Login_Astronaut

sebastianmoravillachica/Login_Astronaut

It's a login design with nice colours and a png