Tuesday, 31 October 2017
Friday, 2 June 2017
pmi
P it worked
M it wasn't bright
https://drive.google.com/file/d/0BxOxIH8YLvj_S0pldXp3REU4alU/view
Wednesday, 31 May 2017
blender
We can do more on blender than on scratch or python with better graphics as well witch makes it a better for our learning
we can do more things on blender there are heaps of tools and stuff witch lets us make platforms and coins and other cool things witch gives us a variate of things that help us learn.
Monday, 15 May 2017
problem solving with python #year 9 tech blog
over the last 2 weeks we have been working with python as a language and i'm learning to use the computer language to design a game by writing code. we have been using three diffrent platforms to design our games
setting up the game in python idle window has been a step by step process we put in the code in order if we get it wrong then it doesn't work so it has to be right
# start game
import pygame
import random
#create a window
WIDTH = 360
HIGHT = 480
FPS = 30
# define a few useful colours
WHITE = (255,255,255)
BLACK =(0,0,0)
GREEN =(0,255,0)
RED =(255,0,0)
BLUE =(0,0,255)
CYAN =(0,255,255)
class player(pygame.sprite.Sprite):
# sprite for player
def __init__(self):
pygame.sprite.Sprite.__init__(self)
self.image= pygame.surface(50,50)
self.image.fill(GREEN)
self.rect= self.image.get_rect()
self.rect.center = (WIDTH / 2,HIGHT / 2)
def update(self):
self.rect.x += 5
if self.rect.left > WIDTH:
self.rect.right = 0
# initialise pygame and create window
pygame.init()
pygame.mixer()
screen=pygame.display.set_mode(width,hieght)
pygame.display.set_caption("my game")
CLOCK = pygame.time.clock()
# creating sprites
all_sprites = pygame.sprite.group()
#game loop
running = true
while runnig:
# keep loop running a the right speed
clock.ticks(FPS)
# process input (events)
for event in pygame.event.get():
# check for closing window
if event.type == pygame.QUIT:
running = false
# update
# draw /render
screen.fill(BLACK)
# after drawing every thing flip the display
pygame.display.flip()
pygame.quit()
i managed to write this code following a video and ms chowfin
explanied the reason of the code along the way i found a error and i couldnt fix it
setting up the game in python idle window has been a step by step process we put in the code in order if we get it wrong then it doesn't work so it has to be right
# start game
import pygame
import random
#create a window
WIDTH = 360
HIGHT = 480
FPS = 30
# define a few useful colours
WHITE = (255,255,255)
BLACK =(0,0,0)
GREEN =(0,255,0)
RED =(255,0,0)
BLUE =(0,0,255)
CYAN =(0,255,255)
class player(pygame.sprite.Sprite):
# sprite for player
def __init__(self):
pygame.sprite.Sprite.__init__(self)
self.image= pygame.surface(50,50)
self.image.fill(GREEN)
self.rect= self.image.get_rect()
self.rect.center = (WIDTH / 2,HIGHT / 2)
def update(self):
self.rect.x += 5
if self.rect.left > WIDTH:
self.rect.right = 0
# initialise pygame and create window
pygame.init()
pygame.mixer()
screen=pygame.display.set_mode(width,hieght)
pygame.display.set_caption("my game")
CLOCK = pygame.time.clock()
# creating sprites
all_sprites = pygame.sprite.group()
#game loop
running = true
while runnig:
# keep loop running a the right speed
clock.ticks(FPS)
# process input (events)
for event in pygame.event.get():
# check for closing window
if event.type == pygame.QUIT:
running = false
# update
# draw /render
screen.fill(BLACK)
# after drawing every thing flip the display
pygame.display.flip()
pygame.quit()
i managed to write this code following a video and ms chowfin
explanied the reason of the code along the way i found a error and i couldnt fix it
Wednesday, 5 April 2017
designing and programming a game on scratch
as a student i am designing a scratch and python game,witch will be have an exciting challenges and obstacles
Wednesday, 22 March 2017
Tuesday, 7 March 2017
starting greyhigh
The subjects that i like are science. maths is ok, p.e is fun . I don't really like the other classes very much .
My goal at grey high is to get a good job . I have liked the cafe, the food and the doors when they don't have lube on them. We could improve the start of the year by not putting lube on the door handles .Grey high offers stuff
Subscribe to:
Comments (Atom)