Task 2)
Now I need a story draft written based on the film "Big trouble in little China"
I want you to work on a story in small group max 3 students, or on your own.
I want an Intro / Middle / End.
What Characters do we have? What is their background?
Where does the story start and end (location)?
What's the plot? Do some artwork to support this story? Who does what in your team?
I want a team leader, into writer, artist, plot developer, character developer, and lead writer.
Consider this list and write who does what in your team?
The actual story developing with has to be :
Person in team 500-1000 Words (1 to 2 pages Approx.)
People 1000 to 2000 Words (2 to 4 Pages )
People 2000 to 3000 Words (4 to 6 Pages Approx.)
Remember I will be using a word counter so I am NOT counting pages.
In addition I need a plot written (Approx. 250 Words half a page) Some artwork (3 to 4 images,
not your own if you don't feel talented enough to do it) Also a list of who is doing what in team
(if you’re on your own say so pls)
Task 3)
Modify that story in to a game concept, so I need the story made into a script for a game.
Now you can talk about a game.
What genre is it?
Fit the characters in the story you have written into a game.
What is their role?
Give me an artist’s impression of the game (do a mock up in Game-maker if you want).
I need a game story board. (Into screen shot, middle and ends of what the game may look like).
What are the significant differences from the story you wrote to the game based of this story and why?
|
Showing posts with label First Year. Show all posts
Showing posts with label First Year. Show all posts
Monday, 21 November 2016
Storytelling Ass2
Sunday, 6 November 2016
First task story telling
Task 1)
Write a Report about the elements
of a story within the film and answer the following questions.
Is Big Trouble in little
China based from a book / comic / script or something else.
Who are the main
characters?
Who are the sub-characters?
What are the various
emotional themes of all the characters?
What is their motivation?
What and when is the
beginnings, middle and end of the film?
What is the relationship of
the main characters and does it change and why?
What’s the plot of the
film?
|
Unload the finished work to this page pls (give gdrive links)
Sunday, 23 October 2016
Shapeman
ShapeMan
Right its time to create a game
Create a 2D Maze game with a difference
This game is a pacman variant.
There are 5 basic shapes. Circle, cross, triangle, square and pentagon.
The enemy characters move from shape to shape (all together at same time). The player can change shape as well. If the player is the same shape as the enemy he/she can kill them. However if they are different the player dies.
As above we see the player is a circle and the enemy are crosses. So the player would die if he is touched by them. However the enemy at some random time in the future changes shape. In the centre a 1 is shown, this shows that the next shape the enemy will take has one side (a circle). So the player needs to time changing shape (his does this by moving around the map to the corners where the 4 basic shapes are), also in the middle at the bottom is a circle.
The player (like pacman) can collect pills for extra score.
I want a funky background track and sound effects.
For a better game add …
More shapes the enemy and play can be
Walls that move and morf.
Theme for this game is abstract..
Step 1: Create all sprites needed for game
step 2: Create all sounds / music for games (or get free samples)
step 3: figure out the coding (I will show another week how to do this)
step 4: test as you develop the game.
Tuesday, 26 April 2016
10 questions ...
10 Questions
So
what did you think of the assignments?
How would you rate the assignments in terms of difficulty? Look at them both, and just tell me which ones were easy, which ones were harder. Or were they both easy or both hard? if so, can you give me an example of a subject you’ve learnt?
For 3 in one gaming you did 2 games .. (so answer two out of the following three questions)
In the Space invader game, name one thing you learned during its development.
In the maze game name one thing you learned during this assignment.
In the card game name one thing you learned during this assignment.
Right, here’s a slightly off the wall one: did you learn any maths during this experience? These assignments?
Do you think you gained any maths when you did any puzzles for the maze game?
How do you rate your maths? Give us a scale, are you good?
What GCSE grade have you got etc?
How hard did you find the maths during these assignments?
Do you think your opinion’s towards maths has changed?
Pls Answer these 10 questions with as much detail as you can and pls put your name.
Thursday, 14 April 2016
Unit 74 : assignment
Task 1) (P1/M1/D1)
I want you to work on a story in small group max 3
students, or on your own.
I want an Intro /
Middle / End.
Present a 'Pitch' for
this story first (your not showing this anyone however) do a power-point and this is the actual start of the
assignment.
What Characters do we
have? What is their background? Where does the story start and end (location)?
What's the plot? Do
some artwork to support this story? Who does what in your team?
I want a team leader,
into writer, artist, plot developer, character developer, and lead writer.
Consider this list and write who does what in your
team.
Task 2) (P2/M2/D2)
Now I need a story
draft written.
I need the actual
story developing with has to be :
1 Person in team
500-1000 Words (1 to 2 pages Approx.)
2 People 1000 to 2000
Words (2 to 4 Pages )
3 People 2000 to 3000
Words (4 to 6 Pages Approx.)
Remember I will be
using a word counter so I am NOT counting pages.
In addition I need a
plot written (Approx. 250 Words half a page) Some artwork (3 to 4 images, not
your own if you don't feel talented enough to do it) Also a list of who is
doing what in team (if you’re on your own say so pls)
Task 3) (P3/M3/D3)
Modify
that story in to a game dialogue, so I need a game concept.
Talk about the game. What genre is it? Fit the characters in the story you have written into a game. What is their role? Give me an artist’s impression of the game. I need a game story board. (Into screen shot, middle and ends of what the game may look like).
Or do a mock up in Game-maker if you want
What are the significant differences from the story you wrote to the game based on this story and why?
Talk about the game. What genre is it? Fit the characters in the story you have written into a game. What is their role? Give me an artist’s impression of the game. I need a game story board. (Into screen shot, middle and ends of what the game may look like).
Or do a mock up in Game-maker if you want
What are the significant differences from the story you wrote to the game based on this story and why?
Post your assignments here pls.
I want all 3 tasks from you pls, zip it and give it as a 'gdrive link' pls (I need access).
When do I want this in ? 16/5/16
I want all 3 tasks from you pls, zip it and give it as a 'gdrive link' pls (I need access).
When do I want this in ? 16/5/16
Tuesday, 2 February 2016
Card Game Basic Script help
This is my basic script for black jack setup
Step 1) Create a sprite with all 52 cards in it, so each card has a different sprite index.
step 2) Create objects (and sprites) for each player ( I have 3 player objects me and 3 ai players)
Step 3) Create table to play on! and controller object which is not visible and calls setup script described below.
This is setup script (this scipt is called once at beginning of game from controller object), this script call the other 2 scripts.
globalvar playerbusted, playercards, playercarddealt, randomdeck, originaldeck, deckno, twisting, sticking, Score,gameno,aiplayer,aicarddealt;
twisting = false;
sticking = false;
playerbusted = false;
deck[1] = 0;
deckno=8;
// non randomised Deck
for (i = 1; i <= 51; i ++)
{
originaldeck[i] = false;
show_debug_message("OriginalDeck :" + string(i));
}
createarandomdeck();
firstcards();
This is create createarandomdeck script
var checkloop
show_debug_message("Randoming the deck");
// now create a random deck
randomize();
for (i = 1; i <= 51 ; i++)
{
checkloop = true;
while checkloop
{
cardno = irandom(51);
show_debug_message("cardno=" +string(cardno));
show_debug_message("i=" + string(i));
if originaldeck[cardno] == false
{
checkloop = false;
originaldeck[cardno] = true;
randomdeck[i] = cardno;
show_debug_message("Deck is:" + string(randomdeck[i]));
}
}
}
This is create firstcards script
// setup at start each AI player and main character gets a card
aiplayer[0,0] = randomdeck[0]; // player one card 1
aiplayer[0,1] = randomdeck[1]; // player one card 2
aiplayer[1,0] = randomdeck[2]; // player two card 1
aiplayer[1,1] = randomdeck[3]; // player two card 2
aiplayer[2,0] = randomdeck[4]; // player three card 1
aiplayer[2,1] = randomdeck[5]; // player three card 2
playercarddealt[0] = randomdeck[6]; // player four card 1
playercarddealt[1] = randomdeck[7]; // player four card 2
Step 1) Create a sprite with all 52 cards in it, so each card has a different sprite index.
step 2) Create objects (and sprites) for each player ( I have 3 player objects me and 3 ai players)
Step 3) Create table to play on! and controller object which is not visible and calls setup script described below.
This is setup script (this scipt is called once at beginning of game from controller object), this script call the other 2 scripts.
globalvar playerbusted, playercards, playercarddealt, randomdeck, originaldeck, deckno, twisting, sticking, Score,gameno,aiplayer,aicarddealt;
twisting = false;
sticking = false;
playerbusted = false;
deck[1] = 0;
deckno=8;
// non randomised Deck
for (i = 1; i <= 51; i ++)
{
originaldeck[i] = false;
show_debug_message("OriginalDeck :" + string(i));
}
createarandomdeck();
firstcards();
This is create createarandomdeck script
var checkloop
show_debug_message("Randoming the deck");
// now create a random deck
randomize();
for (i = 1; i <= 51 ; i++)
{
checkloop = true;
while checkloop
{
cardno = irandom(51);
show_debug_message("cardno=" +string(cardno));
show_debug_message("i=" + string(i));
if originaldeck[cardno] == false
{
checkloop = false;
originaldeck[cardno] = true;
randomdeck[i] = cardno;
show_debug_message("Deck is:" + string(randomdeck[i]));
}
}
}
This is create firstcards script
// setup at start each AI player and main character gets a card
aiplayer[0,0] = randomdeck[0]; // player one card 1
aiplayer[0,1] = randomdeck[1]; // player one card 2
aiplayer[1,0] = randomdeck[2]; // player two card 1
aiplayer[1,1] = randomdeck[3]; // player two card 2
aiplayer[2,0] = randomdeck[4]; // player three card 1
aiplayer[2,1] = randomdeck[5]; // player three card 2
playercarddealt[0] = randomdeck[6]; // player four card 1
playercarddealt[1] = randomdeck[7]; // player four card 2
Saturday, 23 January 2016
3 in One Gaming
Option one:
Create a Maze game for the students to play that also helps them develop their mathematics skills.
The main character of this game ‘Brainbox’ has to move from level to level solving increasing difficult maths based problems. Each level should show a different maths problem and the level of the maths problem should be GCSE grade C Mathematics.
You will be doing 5 levels all getting progressively harder to get through.
The main character Brainbox has to solve Maths problems (to GCSE grade C maths lvl). Brainbox is harassed by the evil twins ‘division’ and ‘multiplication’ and a variety of other monsters you are to create.
For example for Brainbox to progress to the next lvl he needs to pass through a door, the door has a number on it.
This number is the answer to a maths equation.
So the door could say
So Brainbox would collect Sprite n=20 then collect a Sprite that says 12. However I would expect some ‘red herrings’ in the game like Sprites with random numbers in them, and for harder levels sprites that say n=19 that can’t be solved and brainbox dies! (When he collects it). However each level should represent a different type of Maths genre.
Use your imagination in the game creation process.
You can use any maths revision you have or the BBC bite size website for example materialshttp://www.bbc.co.uk/schools/gcsebitesize/maths/
Next find all Sprites, sounds, backgrounds needed for game and put them in a table and document why you have used each sprite, sound or background.
you can make it look as close to the original as possible OR make your own version of a space invader game.
Create the game so it gets progressively harder and faster. As in the original space invaders game you will eventually die, but get a high score. So part of this game needs to be a high score table where players put in their name.
Elements of the game include ordinary space invaders and mother-ships which appear at the top or in a separate level.
If you choose to create your own version of space invaders I need at least 5 levels, that once the player gets to the 5th level they all repeat but slightly faster and harder to kill.
This game with require, for the more advanced version advanced scripting techniques.
Blackjack game
Make a Black Jack Game for the PC
Do some research on the card game black jack, its also called pontoon.
Create a game where you are dealt cards you can choose to twist or stick and also you play against 3 AI players who can also twist or stick.
Pls note do not put money element in this game we are not creating a gambling game. its about who can win the most rounds.
.
You will be doing 5 levels all getting progressively harder to get through.
The main character Brainbox has to solve Maths problems (to GCSE grade C maths lvl). Brainbox is harassed by the evil twins ‘division’ and ‘multiplication’ and a variety of other monsters you are to create.
For example for Brainbox to progress to the next lvl he needs to pass through a door, the door has a number on it.
This number is the answer to a maths equation.
So the door could say
C = 2 + (n x 0.50)
A Sprite that Brainbox collects says n=20.
So putting n=20 into the equation
C = 2 + (20 X 0.50)
C = 2 + (10)
C = 12
So Brainbox would collect Sprite n=20 then collect a Sprite that says 12. However I would expect some ‘red herrings’ in the game like Sprites with random numbers in them, and for harder levels sprites that say n=19 that can’t be solved and brainbox dies! (When he collects it). However each level should represent a different type of Maths genre.
Use your imagination in the game creation process.
You can use any maths revision you have or the BBC bite size website for example materialshttp://www.bbc.co.uk/schools/gcsebitesize/maths/
Next find all Sprites, sounds, backgrounds needed for game and put them in a table and document why you have used each sprite, sound or background.
Option two:
Create space invader clone game.you can make it look as close to the original as possible OR make your own version of a space invader game.
Create the game so it gets progressively harder and faster. As in the original space invaders game you will eventually die, but get a high score. So part of this game needs to be a high score table where players put in their name.
Elements of the game include ordinary space invaders and mother-ships which appear at the top or in a separate level.
If you choose to create your own version of space invaders I need at least 5 levels, that once the player gets to the 5th level they all repeat but slightly faster and harder to kill.
This game with require, for the more advanced version advanced scripting techniques.
Option three:
Blackjack game Make a Black Jack Game for the PC
Do some research on the card game black jack, its also called pontoon.
Create a game where you are dealt cards you can choose to twist or stick and also you play against 3 AI players who can also twist or stick.
Pls note do not put money element in this game we are not creating a gambling game. its about who can win the most rounds.
.
Option One
|
Option two
|
Option three
| |
Anderson, Mr Luke
|
Bausor, Mr Samuel
|
Ahmed, Mr Ibraahiim
| |
Bentley, Mr James
|
Bolton, Mr Nathan
|
Bates, Miss Summer
| |
Bremner, Mr Kurt
|
Carreras-Gough, Mr Robin James Stanley
|
Clark, Mr Sean
| |
Chamberlain, Mr Kori
|
Chapman, Mr Wyatt
|
Flanagan, Miss Amy
| |
Danaher, Mr Daniel
|
Coxon, Mr Oliver Jacob
|
Foster, Mr Teague
| |
Holland, Mr Morten
|
Estill, Mr Tom
|
Hemingray, Mr Regan
| |
Long, Mr Charlie
|
Howitt, Mr Joshua Michael
|
Hopkins, Mr Harry
| |
Pells, Mr Noel
|
Marsh, Mr Jamie
|
Berry, Mr Thomas
| |
Preston, Mr Kyle
|
Roche, Mr Liam
|
Coyne, Mr Matthew
| |
Teixeira, Mr Joao Rafael
|
|
Farrugia, Mr Connor Gary Nicholas
| |
Williams, Mr Shai
|
Walker, Mr Jack Oliver
| ||
Wragg, Mr Shay
|
Gilbert, Mr Matthew
| ||
Hogan, Miss Alice
| |||
Tuesday, 19 January 2016
Assignment two
3 in one gaming
Option one:
Create a Maze game for the students to play that also helps them develop their mathematics skills.
The main character of this game ‘Brainbox’ has to move from level to level solving increasing difficult maths based problems. Each level should show a different maths problem and the level of the maths problem should be GCSE grade C Mathematics.
Create space invader clone game.
you can make it look as close to the original as possible OR make your own version of a space invader game. Top down pls ...
Blackjack game
Make a Black Jack Game
Do some research on the card game black jack, its also called pontoon.
Create a game where you are dealt cards you can choose to twist or stick and also you play against 3 AI players who can also twist or stick.
Pls note do not put money element in this game we are not creating a gambling game. its about who can win the most rounds.
Option two:
Create space invader clone game. you can make it look as close to the original as possible OR make your own version of a space invader game. Top down pls ...
Option three:
Blackjack game Make a Black Jack Game
Do some research on the card game black jack, its also called pontoon.
Create a game where you are dealt cards you can choose to twist or stick and also you play against 3 AI players who can also twist or stick.
Pls note do not put money element in this game we are not creating a gambling game. its about who can win the most rounds.
Option One
|
Option two
|
Option three
|
|
Anderson, Mr Luke
|
Bausor, Mr Samuel
|
Ahmed, Mr Ibraahiim
|
|
Bentley, Mr James
|
Bolton, Mr Nathan
|
Bates, Miss Summer
|
|
Bremner, Mr Kurt
|
Carreras-Gough, Mr Robin James Stanley
|
Clark, Mr Sean
|
|
Chamberlain, Mr Kori
|
Chapman, Mr Wyatt
|
Flanagan, Miss Amy
|
|
Danaher, Mr Daniel
|
Coxon, Mr Oliver Jacob
|
Foster, Mr Teague
|
|
Holland, Mr Morten
|
Estill, Mr Tom
|
Hemingray, Mr Regan
|
|
Long, Mr Charlie
|
Howitt, Mr Joshua Michael
|
Hopkins, Mr Harry
|
|
Pells, Mr Noel
|
Marsh, Mr Jamie
|
Berry, Mr Thomas
|
|
Preston, Mr Kyle
|
Roche, Mr Liam
|
Coyne, Mr Matthew
|
|
Teixeira, Mr Joao Rafael
|
|
Farrugia, Mr Connor Gary Nicholas
|
|
Williams, Mr Shai
|
Walker, Mr Jack Oliver
|
|
|
Wragg, Mr Shay
|
Gilbert, Mr Matthew
|
|
|
|
Hogan, Miss Alice
|
|
|
|
|
|
|
|
|
|
Sunday, 6 December 2015
Shapeman help
Shapeman game
This video shows my demo of game and gives some code help for games design students.
Video One
Video Two
This is a full video of how to make the game, have fun and enjoy!Tuesday, 1 December 2015
ShapeMan
Right its time to create a game
Create a 2D Maze game with a difference
This game is a pacman
variant.
There are 5 basic shapes.
Circle, cross, triangle, square and pentagon.
The enemy characters move
from shape to shape (all together at same time). The player can change shape as
well. If the player is the same shape as the enemy he/she can kill them.
However if they are different the player dies.
As above we see the player is
a circle and the enemy are crosses. So the player would die if he is touched by
them. However the enemy at some random time in the future changes shape. In the
centre a 1 is shown, this shows that the next shape the enemy will take has one
side (a circle). So the player needs to time changing shape (his does this by
moving around the map to the corners where the 4 basic shapes are), also in the
middle at the bottom is a circle.
The player (like pacman) can
collect pills for extra score.
I want a funky background
track and sound effects.
For a better game add …
More shapes the enemy and
play can be
Walls that move and morf.
Theme for this game is
abstract..
Monday, 26 October 2015
Week 7: Recap Week
Recap Week
Grades
Missing assignments
What next
Finalize marking for assignment one
Sunday, 11 October 2015
Week 6 : Making a game
Games Design
Now its time for creating a game.
Lets have a look at Basics of gamers design.
Last week we created a simple maze game, this week we shall create a platform game.
Follow this tutorial and to understand how to create platform game.
Now create a platform game of your choice.
Come up with your own design brief, it should have at least 5 levels or rooms and one main character and several monsters to avoid.
Answer the above questions
and develop a platform game for yourself.
Document the process and blog it as you go!
Monday, 5 October 2015
SpaceBear
SPACE BEAR
Ok we have used the GameMaker tutorial and we have made a simple game using that. Now its time to ramp it up. In these YouTube tutorial I show how to make a simple maze based game.
Right so now lets make a game in game maker.
Game assets link <---- click here for sprites / sounds / background images etc.
Videos of game creation
For some bazzare reason my 3rd video is blocked when viewed through youtube in restricted mode.
So here is a link to raw mp4 file.
Space bear video three
Friday, 3 July 2015
Year One Complete!
Congratulations on all my students for completing the first year of the Games design course.
Same again next year but this time in 3D!
Tuesday, 14 April 2015
BlackJack Game help
BlackJack Game Scripts
I have 4 Scripts in my game
stringtosprite script
Name = argument0;
x1 = argument1;
y1 = argument2;
//draw_sprite_ext( sprite, subimg, x, y, xscale, yscale, rot, colour, alpha );
switch (Name)
{
case "spr_heart_a" : draw_sprite_ext(spr_heart_a,-1, x1,y1,2,2,0,-1,1);
break;
case "spr_heart_2" : draw_sprite_ext(spr_heart_2,-1, x1,y1,2,2,0,-1,1);
break;
case "spr_heart_3" : draw_sprite_ext(spr_heart_3,-1, x1,y1,2,2,0,-1,1);
break;
case "spr_heart_4" : draw_sprite_ext(spr_heart_4,-1, x1,y1,2,2,0,-1,1);
break;
case "spr_heart_5" : draw_sprite_ext(spr_heart_5,-1, x1,y1,2,2,0,-1,1);
break;
case "spr_heart_6" : draw_sprite_ext(spr_heart_6,-1, x1,y1,2,2,0,-1,1);
break;
case "spr_heart_7" : draw_sprite_ext(spr_heart_7,-1, x1,y1,2,2,0,-1,1);
break;
case "spr_heart_8" : draw_sprite_ext(spr_heart_8,-1, x1,y1,2,2,0,-1,1);
break;
case "spr_heart_9" : draw_sprite_ext(spr_heart_9,-1, x1,y1,2,2,0,-1,1);
break;
case "spr_heart_10" : draw_sprite_ext(spr_heart_10,-1, x1,y1,2,2,0,-1,1);
break;
case "spr_heart_j" : draw_sprite_ext(spr_heart_j,-1, x1,y1,2,2,0,-1,1);
break;
case "spr_heart_q" : draw_sprite_ext(spr_heart_q,-1, x1,y1,2,2,0,-1,1);
break;
case "spr_heart_k" : draw_sprite_ext(spr_heart_k,-1, x1,y1,2,2,0,-1,1);
break;
case "spr_diamond_a" : draw_sprite_ext(spr_diamond_a,-1, x1,y1,2,2,0,-1,1);
break;
case "spr_diamond_2" : draw_sprite_ext(spr_diamond_2,-1, x1,y1,2,2,0,-1,1);
break;
case "spr_diamond_3" : draw_sprite_ext(spr_diamond_3,-1, x1,y1,2,2,0,-1,1);
break;
case "spr_diamond_4" : draw_sprite_ext(spr_diamond_4,-1, x1,y1,2,2,0,-1,1);
break;
case "spr_diamond_5" : draw_sprite_ext(spr_diamond_5,-1, x1,y1,2,2,0,-1,1);
break;
case "spr_diamond_6" : draw_sprite_ext(spr_diamond_6,-1, x1,y1,2,2,0,-1,1);
break;
case "spr_diamond_7" : draw_sprite_ext(spr_diamond_7,-1, x1,y1,2,2,0,-1,1);
break;
case "spr_diamond_8" : draw_sprite_ext(spr_diamond_8,-1, x1,y1,2,2,0,-1,1);
break;
case "spr_diamond_9" : draw_sprite_ext(spr_diamond_9,-1, x1,y1,2,2,0,-1,1);
break;
case "spr_diamond_10" : draw_sprite_ext(spr_diamond_10,-1, x1,y1,2,2,0,-1,1);
break;
case "spr_diamond_j" : draw_sprite_ext(spr_diamond_j,-1, x1,y1,2,2,0,-1,1);
break;
case "spr_diamond_q" : draw_sprite_ext(spr_diamond_q,-1, x1,y1,2,2,0,-1,1);
break;
case "spr_diamond_k" : draw_sprite_ext(spr_diamond_k,-1, x1,y1,2,2,0,-1,1);
break;
case "spr_spade_a" : draw_sprite_ext(spr_spade_a,-1, x1,y1,2,2,0,-1,1);
break;
case "spr_spade_2" : draw_sprite_ext(spr_spade_2,-1, x1,y1,2,2,0,-1,1);
break;
case "spr_spade_3" : draw_sprite_ext(spr_spade_3,-1, x1,y1,2,2,0,-1,1);
break;
case "spr_spade_4" : draw_sprite_ext(spr_spade_4,-1, x1,y1,2,2,0,-1,1);
break;
case "spr_spade_5" : draw_sprite_ext(spr_spade_5,-1, x1,y1,2,2,0,-1,1);
break;
case "spr_spade_6" : draw_sprite_ext(spr_spade_6,-1, x1,y1,2,2,0,-1,1);
break;
case "spr_spade_7" : draw_sprite_ext(spr_spade_7,-1, x1,y1,2,2,0,-1,1);
break;
case "spr_spade_8" : draw_sprite_ext(spr_spade_8,-1, x1,y1,2,2,0,-1,1);
break;
case "spr_spade_9" : draw_sprite_ext(spr_spade_9,-1, x1,y1,2,2,0,-1,1);
break;
case "spr_spade_10" : draw_sprite_ext(spr_spade_10,-1, x1,y1,2,2,0,-1,1);
break;
case "spr_spade_j" : draw_sprite_ext(spr_spade_j,-1, x1,y1,2,2,0,-1,1);
break;
case "spr_spade_q" : draw_sprite_ext(spr_spade_q,-1, x1,y1,2,2,0,-1,1);
break;
case "spr_spade_k" : draw_sprite_ext(spr_spade_k,-1, x1,y1,2,2,0,-1,1);
break;
case "spr_club_a" : draw_sprite_ext(spr_club_a,-1, x1,y1,2,2,0,-1,1);
break;
case "spr_club_2" : draw_sprite_ext(spr_club_2,-1, x1,y1,2,2,0,-1,1);
break;
case "spr_club_3" : draw_sprite_ext(spr_club_3,-1, x1,y1,2,2,0,-1,1);
break;
case "spr_club_4" : draw_sprite_ext(spr_club_4,-1, x1,y1,2,2,0,-1,1);
break;
case "spr_club_5" : draw_sprite_ext(spr_club_5,-1, x1,y1,2,2,0,-1,1);
break;
case "spr_club_6" : draw_sprite_ext(spr_club_6,-1, x1,y1,2,2,0,-1,1);
break;
case "spr_club_7" : draw_sprite_ext(spr_club_7,-1, x1,y1,2,2,0,-1,1);
break;
case "spr_club_8" : draw_sprite_ext(spr_club_8,-1, x1,y1,2,2,0,-1,1);
break;
case "spr_club_9" : draw_sprite_ext(spr_club_9,-1, x1,y1,2,2,0,-1,1);
break;
case "spr_club_10" : draw_sprite_ext(spr_club_10,-1, x1,y1,2,2,0,-1,1);
break;
case "spr_club_j" : draw_sprite_ext(spr_club_j,-1, x1,y1,2,2,0,-1,1);
break;
case "spr_club_q" : draw_sprite_ext(spr_club_q,-1, x1,y1,2,2,0,-1,1);
break;
case "spr_club_k" : draw_sprite_ext(spr_club_k,-1, x1,y1,2,2,0,-1,1);
break;
}
randomisedeck Script
randomnumber = 0;
for (i=1;i<52;i++)
{
randomnumber = irandom_range(1,52);
if deck[randomnumber,0] == false// has card been taken?
{
rdeck[i] = deck[randomnumber,1];
deck[randomnumber,0] = true; // card taken
}
}
setup script
globalvar deck,rdeck,playercards,aicards,twist,stick,cardsdealt,cardscore,aicarddealt;
twist = false;
stick = false;
cardsdealt = 8;
cardscore[1,0] = 0; // player one hand counts is set to 0
cardscore[1,1] = 0; // player games won is o
cardscore[2,0] = 0;
cardscore[2,1] = 0;
cardscore[3,0] = 0;
cardscore[3,1] = 0;
cardscore[4,0] = 0;
cardscore[4,1] = 0;
deck[1,1] = "spr_heart_a";
deck[2,1] = "spr_heart_2";
deck[3,1] = "spr_heart_3";
deck[4,1] = "spr_heart_4";
deck[5,1] = "spr_heart_5";
deck[6,1] = "spr_heart_6";
deck[7,1] = "spr_heart_7";
deck[8,1] = "spr_heart_8";
deck[9,1] = "spr_heart_9";
deck[10,1] = "spr_heart_10";
deck[11,1] = "spr_heart_j";
deck[12,1] = "spr_heart_q";
deck[13,1] = "spr_heart_k";
deck[14,1] = "spr_diamond_a";
deck[15,1] = "spr_diamond_2";
deck[16,1] = "spr_diamond_3";
deck[17,1] = "spr_diamond_4";
deck[18,1] = "spr_diamond_5";
deck[19,1] = "spr_diamond_6";
deck[20,1] = "spr_diamond_7";
deck[21,1] = "spr_diamond_8";
deck[22,1] = "spr_diamond_9";
deck[23,1] = "spr_diamond_10";
deck[24,1] = "spr_diamond_j";
deck[25,1] = "spr_diamond_q";
deck[26,1] = "spr_diamond_k";
deck[27,1] = "spr_spade_a";
deck[28,1] = "spr_spade_2";
deck[29,1] = "spr_spade_3";
deck[30,1] = "spr_spade_4";
deck[31,1] = "spr_spade_5";
deck[32,1] = "spr_spade_6";
deck[33,1] = "spr_spade_7";
deck[34,1] = "spr_spade_8";
deck[35,1] = "spr_spade_9";
deck[36,1] = "spr_spade_10";
deck[37,1] = "spr_spade_j";
deck[38,1] = "spr_spade_q";
deck[39,1] = "spr_spade_k";
deck[40,1] = "spr_club_a";
deck[41,1] = "spr_club_2";
deck[42,1] = "spr_club_3";
deck[43,1] = "spr_club_4";
deck[44,1] = "spr_club_5";
deck[45,1] = "spr_club_6";
deck[46,1] = "spr_club_7";
deck[47,1] = "spr_club_8";
deck[48,1] = "spr_club_9";
deck[49,1] = "spr_club_10";
deck[50,1] = "spr_club_j";
deck[51,1] = "spr_club_q";
deck[52,1] = "spr_club_k";
for (i=1;i<52;i++)
{
deck[i,0] = false; // unissued card status
}
aiturn script
for (i=2;i<5;i++)
{
if cardscore[i,0] < 15
{
aicarddealt[i] ++;
cardsdealt ++;
aicards[i,aicarddealt[i]] = rdeck[cardsdealt];
temp = string_char_at(aicards[i,aicarddealt[i]], string_length(aicards[i,aicarddealt[i]]));
switch temp
{
case "a" : cardscore[i,0] += 11;
break;
case "0" :
case "k" :
case "q" :
case "j" : cardscore[i,0] += 10;
break;
case "1" : cardscore[i,0] += 1; break;
case "2" : cardscore[i,0] += 2; break;
case "3" : cardscore[i,0] += 3; break;
case "4" : cardscore[i,0] += 4; break;
case "5" : cardscore[i,0] += 5; break;
case "6" : cardscore[i,0] += 6; break;
case "7" : cardscore[i,0] += 7; break;
case "8" : cardscore[i,0] += 8; break;
case "9" : cardscore[i,0] += 9; break;
}
}
}
Monday, 13 April 2015
Assignment 2 :Build a Console
Human Computer Interface (HCI)
Assignment Two
Human–computer interaction (HCI) involves the study, planning, design and uses of the interfaces between people (users) and computers.
We are studying different HCI devices.
Now this is a simple assignment which realistically can only be completed at home.
Show using any technique you want ( so this means using a mobile phone to take photos and videos and/or putting in a word document, or using a you-tube type video with your voice and hands even extra help). Setting up various game consoles from scratch.
As in literally a step-by-step guide of setting up a game console from disconnected bits (tell me what the 'bits are' and what function they have). Show setting the console up and putting a game in (CD/DVD/or its already installed and you access it) and starting to play a game.
For a Pass I would expect 3 consoles with limited narrative and set-up instructions.
For a Merit I would expect 4/5 Consoles with detailed narrative of set-up in various environments (different TV's/ sound systems etc)
For a Distinction I would expect 6+ Consoles with very detailed narrative covering a large variation of environments.
HCI Assignment 2
Reply to this post with your assignment!
We are studying different HCI devices.
Now this is a simple assignment which realistically can only be completed at home.
Show using any technique you want ( so this means using a mobile phone to take photos and videos and/or putting in a word document, or using a you-tube type video with your voice and hands even extra help). Setting up various game consoles from scratch.
As in literally a step-by-step guide of setting up a game console from disconnected bits (tell me what the 'bits are' and what function they have). Show setting the console up and putting a game in (CD/DVD/or its already installed and you access it) and starting to play a game.
For a Pass I would expect 3 consoles with limited narrative and set-up instructions.
For a Merit I would expect 4/5 Consoles with detailed narrative of set-up in various environments (different TV's/ sound systems etc)
For a Distinction I would expect 6+ Consoles with very detailed narrative covering a large variation of environments.
HCI Assignment 2
Reply to this post with your assignment!
Thursday, 26 March 2015
Easter Break : Game Script help (session three).
Right then lets do a bit of recap
We have a card deck and a random card deck now
Now What?
Well lets talk about the game.
We have 4 players. 3 AI players and one person (you).
Its a blackjack (type) game so its first to 21 (or nearest to 21) without going over 21.
Each player starts with 2 cards.
Then each player decides whether they take (twist) another card. Its a risk, this is the important part of the game.
If a player has a 15 points of cards should they twist or should they twist.
In my game I use simple system
if aiplayersscore < 16
{
they get a card
}
Now the above IS NOT gmscript.
What we need first is a way of holding the totalvalue of each players hand
handvalue[1] = 0;
handvalue[2] = 0;
handvalue[3] = 0;
handvalue[4] = 0;
Each Players hand value is set to 0 at beginning, this will change each round, also handvalue is a global variable.
Also each player has a set of cards and we need to store it as well.
Player 1 gets 2 cards
Player 2 gets 2 cards
Player 3 gets 2 cards
Player 4 gets 2 cards
So at the beginning of round 8 cards are given out.
So lets put this in coding speak.
playercards[1] = deck[1];
playercards[2] = deck[2];
Playercards is the players(as in your) cards and we get first 2 cards from the deck (which remember is random card deck).
Then the 3 AI players get 2 cards each
AIplayercard[1,1] = deck[3];
AIplayercard[2,1] = deck[5];
AIplayercard[3,2] = deck[8];
I have missed some code here. What have I missed?
But in English AIplayer [aiplayernumber,cardnumber]
switch AIplayercard[aiplayernumber,cardnumber]
{
case "a" : Score[i,0] += 11;
break;
case "0" :
case "k" :
case "q" :
case "j" : Score[i,0] += 10;
break;
case "1" : Score[i,0] += 1; break;
case "2" : Score[i,0] += 2; break;
case "3" : Score[i,0] += 3; break;
case "4" : Score[i,0] += 4; break;
case "5" : Score[i,0] += 5; break;
case "6" : Score[i,0] += 6; break;
case "7" : Score[i,0] += 7; break;
case "8" : Score[i,0] += 8; break;
case "9" : Score[i,0] += 9; break;
}
We have a card deck and a random card deck now
Now What?
Well lets talk about the game.
We have 4 players. 3 AI players and one person (you).
Its a blackjack (type) game so its first to 21 (or nearest to 21) without going over 21.
Each player starts with 2 cards.
Then each player decides whether they take (twist) another card. Its a risk, this is the important part of the game.
If a player has a 15 points of cards should they twist or should they twist.
In my game I use simple system
if aiplayersscore < 16
{
they get a card
}
Now the above IS NOT gmscript.
What we need first is a way of holding the totalvalue of each players hand
handvalue[1] = 0;
handvalue[2] = 0;
handvalue[3] = 0;
handvalue[4] = 0;
Each Players hand value is set to 0 at beginning, this will change each round, also handvalue is a global variable.
Also each player has a set of cards and we need to store it as well.
Player 1 gets 2 cards
Player 2 gets 2 cards
Player 3 gets 2 cards
Player 4 gets 2 cards
So at the beginning of round 8 cards are given out.
So lets put this in coding speak.
playercards[1] = deck[1];
playercards[2] = deck[2];
Playercards is the players(as in your) cards and we get first 2 cards from the deck (which remember is random card deck).
Then the 3 AI players get 2 cards each
AIplayercard[1,1] = deck[3];
AIplayercard[2,1] = deck[5];
AIplayercard[3,2] = deck[8];
I have missed some code here. What have I missed?
But in English AIplayer [aiplayernumber,cardnumber]
switch AIplayercard[aiplayernumber,cardnumber]
{
case "a" : Score[i,0] += 11;
break;
case "0" :
case "k" :
case "q" :
case "j" : Score[i,0] += 10;
break;
case "1" : Score[i,0] += 1; break;
case "2" : Score[i,0] += 2; break;
case "3" : Score[i,0] += 3; break;
case "4" : Score[i,0] += 4; break;
case "5" : Score[i,0] += 5; break;
case "6" : Score[i,0] += 6; break;
case "7" : Score[i,0] += 7; break;
case "8" : Score[i,0] += 8; break;
case "9" : Score[i,0] += 9; break;
}
Tuesday, 24 March 2015
Easter Break : Game Script help (session two).
So now we have a filled in game-deck, however these cards are not random.
We need to randomise these cards.
How do we do that?
well we set-up another global variable called deck.
Then we randomly copy cards from gamedeck to deck
We use a special function called irandom, irandom is a Gamemaker function that generates random numbers in a range you set.
so irandom[51] creates a random number from 0 to 51, however our cards start at one and end at 52 so we use
cardno = irandom(51)+1;
where cardno stores a random number from 1 to 52.
now we need to randomly copy all 52 cards from the card deck (set as carddeck) to the random deck (which is defined as deck )
We need a loop to do this in, so we use a for loop
for (i = 1; i < 52 ; i++)
{
}
in this loop i starts at 1 and ends at 52
If we choose a random number there is a chance that we will get the same number again!
Roll some dice and you will get the same numbers occasionally (the theory of probability shows this).
So how do we stop that?
Well when we set the gamedeck up we set it up as gamedeck[1,1] = "heart_a" or something.
gamedeck[1,1] = "heart_a";
So we need to log what cards are taken and we do that using a value of false or true. True means its taken and false means its not, simple as that so...
We do this
gamedeck[1,0] = "false";
Note [1,0] we use 0 not 1 after the ,
Ok I know this is hard to understand but look at this...
for (i = 1; i < 52 ; i++)
{
gamedeck[i,0] = "false";
}
What are we doing?
Answer setting all gamedeck as cards not taken (false).
When we take a card from the gamedeck and copy to random deck (called deck) then we set the value to true (as in its taken)
SO ...
for (i = 1; i < 52 ; i++)
{
cardno = irandom(51)+1;
if gamedeck[cardno,0] == false
{
gamedeck[cardno,0] = true;
deck[i] = gamedeck[cardno,1];
}
}
PS This CODE IS INCOMPLETE! What is missing?
What are we doing?
Checking to see if card is taken if gamedeck[cardno,0] == false
Setting card to taken gamedeck[cardno,0] = true;
Adding card to random card deck deck[i] = gamedeck[cardno,1];
All this needs to be added as a new script as well.
We need to randomise these cards.
How do we do that?
well we set-up another global variable called deck.
Then we randomly copy cards from gamedeck to deck
We use a special function called irandom, irandom is a Gamemaker function that generates random numbers in a range you set.
so irandom[51] creates a random number from 0 to 51, however our cards start at one and end at 52 so we use
cardno = irandom(51)+1;
where cardno stores a random number from 1 to 52.
now we need to randomly copy all 52 cards from the card deck (set as carddeck) to the random deck (which is defined as deck )
We need a loop to do this in, so we use a for loop
for (i = 1; i < 52 ; i++)
{
}
in this loop i starts at 1 and ends at 52
If we choose a random number there is a chance that we will get the same number again!
Roll some dice and you will get the same numbers occasionally (the theory of probability shows this).
So how do we stop that?
Well when we set the gamedeck up we set it up as gamedeck[1,1] = "heart_a" or something.
gamedeck[1,1] = "heart_a";
So we need to log what cards are taken and we do that using a value of false or true. True means its taken and false means its not, simple as that so...
We do this
gamedeck[1,0] = "false";
Note [1,0] we use 0 not 1 after the ,
Ok I know this is hard to understand but look at this...
for (i = 1; i < 52 ; i++)
{
gamedeck[i,0] = "false";
}
What are we doing?
Answer setting all gamedeck as cards not taken (false).
When we take a card from the gamedeck and copy to random deck (called deck) then we set the value to true (as in its taken)
SO ...
for (i = 1; i < 52 ; i++)
{
cardno = irandom(51)+1;
if gamedeck[cardno,0] == false
{
gamedeck[cardno,0] = true;
deck[i] = gamedeck[cardno,1];
}
}
PS This CODE IS INCOMPLETE! What is missing?
What are we doing?
Checking to see if card is taken if gamedeck[cardno,0] == false
Setting card to taken gamedeck[cardno,0] = true;
Adding card to random card deck deck[i] = gamedeck[cardno,1];
All this needs to be added as a new script as well.
Subscribe to:
Posts (Atom)