9
Some title of sorts. (D something or other) Original idea Teen audence: Content is generally suitable for ages 13 and up. May contain violence, suggestive themes, crude humour, minimal blood, simulated gambling and/or infrequent use of strong language. Idea 1) My idea is for a mobile game is to have a flappy bird engine, which is tap to go from top to bottom (or ledges) and also swipe backward to turn around or swipe forward to be more forward (self-moving), so the 4 player co-op is that there are 4 charters and if they go off the screen they “pop” and whoever is last alive will gain a point first to 5 wins round? Idea 2) Still using the flappy bird engine I could also have a contentious movement then the player has to click when to jump and how long they hold their finger down determines on their jump height. The co-op section would be again last one to survive gets prizes for customisation. Idea 3) this is very similar to flappy birds but this time there is a cause and levels so using a PowerPoint made cause and making the side make u re-start and tapping changes height and changing direction is changed when hit a certain area also movement is automatic.

com23eatpoop.files.wordpress.com€¦  · Web viewSome title of sorts. (D something or other) Original idea. Teen audence: Content is generally suitable for ages 13 and up. May contain

  • Upload
    others

  • View
    2

  • Download
    0

Embed Size (px)

Citation preview

Page 1: com23eatpoop.files.wordpress.com€¦  · Web viewSome title of sorts. (D something or other) Original idea. Teen audence: Content is generally suitable for ages 13 and up. May contain

Some title of sorts. (D something or other)Original idea

Teen audence: Content is generally suitable for ages 13 and up. May contain violence, suggestive themes, crude humour, minimal blood, simulated gambling and/or infrequent use of strong language.

Idea 1) My idea is for a mobile game is to have a flappy bird engine, which is tap to go from top to bottom (or ledges) and also swipe backward to turn around or swipe forward to be more forward (self-moving), so the 4 player co-op is that there are 4 charters and if they go off the screen they “pop” and whoever is last alive will gain a point first to 5 wins round?

Idea 2) Still using the flappy bird engine I could also have a contentious movement then the player has to click when to jump and how long they hold their finger down determines on their jump height. The co-op section would be again last one to survive gets prizes for customisation.

Idea 3) this is very similar to flappy birds but this time there is a cause and levels so using a PowerPoint made cause and making the side make u re-start and tapping changes height and changing direction is changed when hit a certain area also movement is automatic.

Gantt chart

Page 2: com23eatpoop.files.wordpress.com€¦  · Web viewSome title of sorts. (D something or other) Original idea. Teen audence: Content is generally suitable for ages 13 and up. May contain

Storyboard for a new game (totally legit and not stolen)

Then I changed my idea so this all became void.

Story board about a fish …

the start screen

what the main charter looks like

what the enemy looks like

fish failing to avoid the shark.

Page 3: com23eatpoop.files.wordpress.com€¦  · Web viewSome title of sorts. (D something or other) Original idea. Teen audence: Content is generally suitable for ages 13 and up. May contain

This is what the main interface will look like and I have even annotated it …. How nice.

This is a graphical flow chart to describe how the game will run.

Pseudo code for the game.

Load Start screen

Any kea = game start.

Shark start point.

End bottom y point

Shark

Shark end point

End top y pointFish

Page 4: com23eatpoop.files.wordpress.com€¦  · Web viewSome title of sorts. (D something or other) Original idea. Teen audence: Content is generally suitable for ages 13 and up. May contain

Window re-size to background size.

Fish change y access if kea down

If not then fish fall increase by -1 ( so will speed up)

Shark1 sawn off screen(-800) and move -2 along the x access

Shark 2 spawn off screen (-1200) and move -2 along the x access

Shark 3 spawn off screen (-1000) and move -2 along the x access

When shark reach -100 re-spawn back to original passion,

Sharks all have different y access

All will create a cause for fish

If fish touch shark 1,2 or 3 then end,

If fish goes off of the y access top or bottom end.

If end then load start screen.

Coding and were they are and what they are.

A string is a peace of text that is a quotation or an annotation; a string may be the name of a variable such as “flappy”

A real number is any value that is not a string, so a number saying +1 or -1 so something that is adding or subtracting.

A array is multiple values that can be a loop, I have yet to use an array but planning to add it into a high score value, so for each new player it will be calling on the array for the old data.

A Boolean is a value that has to be true or false, so in the future I was planning to add a sound file of a angry shark when the fish was eaten, so this would be a mix of an if statement and a true or false statement dependent on coordinates of both the fish and the shark.

Page 5: com23eatpoop.files.wordpress.com€¦  · Web viewSome title of sorts. (D something or other) Original idea. Teen audence: Content is generally suitable for ages 13 and up. May contain

A pointer is a data type that is going to a memory location, so getting a texture, so it is basically just pointing at a location to find a peace of data, I have used pointers in a very basic way by using a file path.

A enum is what allows you to create your own limited data type in a list that is constant of values, so it is similar to an array but you can create one yourself so it is similar to having lots of variables to be called at once.

A undefined value is null, so if the user doesn’t react for a certain time on the start screen the animation may (re-play) so if the user doesn’t react (null) then something may happen, and when I add a start screen I would like to have a flash animation of a fish swimming and a shark eating it but if no user reaction the it will re-play.

The actual code

So this is what I have written so far but this will be annotated to show where each function is where.

'Show the graphics window GraphicsWindow.Height=739 – this is a real number

GraphicsWindow.Width=1023 – this is a real number

GraphicsWindow.CanResize ="false"– this is a string'Define the sub to run when a key is pressed on the keyboard (to be used to make Flappy jump)GraphicsWindow.KeyDown = flappyJump

'Set up the timer properties, and tell it to execute the gameloop sub each time it ticksTimer.Interval = 10 – this is a real number

Timer.Tick = gameLoop

'Place the bird on screenbird– this is a string = Shapes.AddImage("H:\collage where work goes\flappy game\fish.png” – this is a Pointer)GraphicsWindow.DrawImage("H:\collage where work goes\flappy game\underwater.png"– this is a Pointer,0,0– this is a real number)

Page 6: com23eatpoop.files.wordpress.com€¦  · Web viewSome title of sorts. (D something or other) Original idea. Teen audence: Content is generally suitable for ages 13 and up. May contain

'Set the initial number of steps you want the bird to take hereyStep = 0.2 – this is a real number

'Set the X position (starting point) of Flappy hereflappyX = 100 – this is a real number

'Place a pipe on the screen. 'Do this by using shapes.addImagelowerPipe– this is a string = Shapes.AddImage("H:\collage where work goes\flappy game\shark.png"– this is a Pointer)lowerPip– this is a string = Shapes.AddImage("H:\collage where work goes\flappy game\shark.png"– this is a Pointer)lowerPi – this is a string = Shapes.AddImage("H:\collage where work goes\flappy game\shark.png"– this is a Pointer)'Move the pipe to the right of the screen (instantly), and put it to the desired height'To do this, use shapes.moveShapes.Move(lowerPipe,1100,1000– this is a real number)

Sub gameLoop 'Increase the amount of movement the bird moves with each tick 'Change the number to increase or decrease gravity! yStep = yStep + 0.02 – this is a real number

'Update the position of Flappy

flappyY = flappyY + yStep – this is a string Shapes.Move(bird,flappyX,flappyY) – this is a string 'Keep moving the pipe to the left of the screen, in small steps (say, 1 or 2 pixels) 'To do this, do the following... 'Find out the pipe's current X position, using shapes.getLeft (remember to use a variable to store the result) lPipeX – this is a string = Shapes.GetLeft(lowerPipe) 'Subtract 1 from that value shark1 – this is a string = shark1 – 2 – this is a real number

'Update the position of the sprite, using shapes.move Shapes.Move(lowerPipe,shark1,10– this is a real number)

Page 7: com23eatpoop.files.wordpress.com€¦  · Web viewSome title of sorts. (D something or other) Original idea. Teen audence: Content is generally suitable for ages 13 and up. May contain

'If the x position of the pipe is less than 0, move it back to the original position 'To test the x position of the pipe, use an IF statement 'Move the pipe back to its original starting point with shapes.move If shark1 < -300– this is a real number Then

shark1 = 1500 – this is a real number

Shapes.Move(lowerPipe,shark1,1000– this is a real number)

EndIf 'Keep moving the pipe to the left of the screen, in small steps (say, 1 or 2 pixels) 'To do this, do the following... 'Find out the pipe's current X position, using shapes.getLeft (remember to use a variable to store the result) shark2 – this is a string = Shapes.GetLeft(lowerPip) 'Subtract 1 from that value shark2 = shark2 – 3– this is a real number 'Update the position of the sprite, using shapes.move Shapes.Move(lowerPip,shark2,190– this is a real number )

'If the x position of the pipe is less than 0, move it back to the original position 'To test the x position of the pipe, use an IF statement 'Move the pipe back to its original starting point with shapes.move If shark2 < -300 – this is a real number Then

shark2 = 1500 – this is a real number

Shapes.Move(lowerPip,shark2,1600– this is a real number)

EndIf shark2 = Shapes.GetLeft(lowerPi) 'Subtract 1 from that value shark3 – this is a string = shark3 – 2 – this is a real number

'Update the position of the sprite, using shapes.move Shapes.Move(lowerPi,shark3,400– this is a real number)

'If the x position of the pipe is less than 0, move it back to the original position 'To test the x position of the pipe, use an IF statement

Page 8: com23eatpoop.files.wordpress.com€¦  · Web viewSome title of sorts. (D something or other) Original idea. Teen audence: Content is generally suitable for ages 13 and up. May contain

'Move the pipe back to its original starting point with shapes.move If shark3 < -100– this is a real number Then

shark3 = 1200 – this is a real number

Shapes.Move(lowerPi,shark3,1110– this is a real number)

EndIf EndSubSub flappyJump yStep = - 1 – this is a real number

EndSub