Apparent Amarant
Blue Mage
I would love to be an entertainer. Comedy/acting. Yeah it's pretty cliche, but it's what I'd like to do. I do it anyway in my everyday life. It comes pretty naturally.
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
This is going to make me sound so gay...
I want to be in Musical Theater. I've loved it since i was very young. I go to the Theater alot and love every moment i spend in those fantastic buildings!
Ideally I would love to be the Phantom Of the Opera. Not in it, I'd have to BE the phantom.
My ambition is my music/acting, I feel thats reason enough for it to be a dream job!
In order to execute the code, download Python for free and run it within either IDLE (the usual Python interpreter) or Pyscripter (included with "Python Portable"), which is what I use. Also, I've uploaded the image to imageshack for you: http://img22.imageshack.us/img22/8748/cloudz.png Simply download the image, rename it to "cloud.png" and include it in the same directory that you save the code to (as a .py file). As for who created that image of Cloud, I forgot who, but I do know I got it from a free sprite bank online. ** EDIT: I forgot to tell you that you will also need to download and install Pygame. **#Import and Initialization
## Import Modules
import pygame, sys,os
from pygame.locals import * #import everything from locals, which is in the pygame module.
## Initialize Pygame
pygame.init()
# Screen Variables
screen_width = 480
screen_height = 60
white = (255,255,255)
screen = pygame.display.set_mode((screen_width,screen_height))
screen_size_converted = pygame.Surface(screen.get_size()).convert()
screen_size_converted.fill(white)
# Image Variables
cloud_image = pygame.image.load("cloud.png")
cloud_image_position = [240,0]
cloud_image_move = [0,0]
# Clock Variable
FPS_clock = pygame.time.Clock()
# Keep the program running until the user decides to quit
program_open = True
program_closed = False
while program_open:
for event in pygame.event.get():
if event.type == pygame.QUIT or event.type == pygame.KEYDOWN and event.key == pygame.K_ESCAPE:
program_open = program_closed
# Allow movement of the image with user input (ARROW KEYS)
if event.type == pygame.KEYDOWN and event.key == pygame.K_RIGHT:
cloud_image_move[0] = 1
print "Move RIGHT, Cloud!"
if event.type == pygame.KEYUP and event.key == pygame.K_RIGHT and cloud_image_move[0] == 1:
cloud_image_move[0] = 0
if event.type == pygame.KEYDOWN and event.key == pygame.K_LEFT:
cloud_image_move[0] = -1
print "Move LEFT, Cloud!"
if event.type == pygame.KEYUP and event.key == pygame.K_LEFT and cloud_image_move[0] == -1:
cloud_image_move[0] = 0
if event.type == pygame.KEYDOWN and event.key == pygame.K_UP:
cloud_image_move[1] = -1
print "Move UP, Cloud!"
if event.type == pygame.KEYUP and event.key == pygame.K_UP and cloud_image_move[1] == -1:
cloud_image_move[1] = 0
if event.type == pygame.KEYDOWN and event.key == pygame.K_DOWN:
cloud_image_move[1] = 1
print "Move DOWN, Cloud!"
if event.type == pygame.KEYUP and event.key == pygame.K_DOWN and cloud_image_move[1] == 1:
cloud_image_move[1] = 0
screen.fill(white)
screen.blit(cloud_image, cloud_image_position)
pygame.display.flip()
cloud_image_position[0] += cloud_image_move[0]
cloud_image_position[1] += cloud_image_move[1]
FPS_clock.tick(45)