currently working on the code for my collision detection. these are the 4 most popular methods to detecting collisions. ill probably end up using bounds as it works for all object types. distance is calculated with coodinates as does contains a point but its not suitable for all my objects and bitmap comparision will take too much time to code. if i was in a job and time was short id have to learn the best and fastest way to code this so i think bounds is best.
Thursday, 28 March 2013
Wednesday, 27 March 2013
the logic behind some of my flash game structure
thefirst part of the diagram shows the interaction between the actionscript files on a basic level and how the classes interact with each other also showing the parent and child relationships.
i will also be using a parallax background structure as well which means that the objects or layers in the background on the screen with be duplicated and set on the side on the screen images or layers. Then i will apply a loop to each layer individually so that it will reset when it gets to the edge of the screen. however each layer will be set on a different speed setting so that each layer will be moving at a different pace. I achieved this today. So far i have the code for the welcome screen with active buttons, the change from the welcome screen to the ingame play and the moving character against the moving background. On the side in illustrator im creating the background design for the game and the sprite sheet to go with it. i also will be working on the animated character in flash over the weekend.
Wednesday, 20 March 2013
beginning setting up my fyp for starling
tutorial for starling game platform will help me create my demo for my game for after easter break. Im hoping to have some of the game working and some of my data base working after easter break to take a bit of the pressure off. this tutorial is going to be a big help in showing me what starling can do and what my game can do. i think i will change my game layout but im inital game achievements will still be the same.
beginning my database for fyp
I began creating my database after speaking with nick this morning. he advised 2 tables user and high score with the following information as seen in my image. tomorrow i will speak to liz about the code i created for my database and where to go next.
Tuesday, 19 March 2013
websites for flash john suggested i look at
http://active.tutsplus.com/sessions/as3-101/
http://www.flashgamedojo.com/
http://www.emanueleferonato.com/2011/08/03/create-a-terrain-like-the-one-in-tiny-wings-with-flash-and-box2d-adding-a-car/
http://www.freeactionscript.com/page/11/
http://www.flashgamedojo.com/
http://www.emanueleferonato.com/2011/08/03/create-a-terrain-like-the-one-in-tiny-wings-with-flash-and-box2d-adding-a-car/
http://www.freeactionscript.com/page/11/
sketches of my game layout (story)
Spoke with John Jennings to make a start on my game. He advised i create these layers as backgrounds and for the prototype after christmas make sure the character moves, make sure the background moves and them work on all the design elements afterwards. This is what im going to spend the 2 weeks off doing.
the game engine ill be using
Starling does not cost a dime. Download and use it right away — no strings attached. And because it is Open Source, you're always in control: step through the code and learn from its internals. Everything is well documented and easy to understand. Drop your in-house engine and focus on your games!
the reasons I chose it is because:
http://gamua.com/starling/
the reasons I chose it is because:
- its free
- its editable
- adobe supports it
- it has great preformance
http://gamua.com/starling/
Friday, 15 March 2013
scenes for the game
I have decided to being creating the scenes from my game. im not sure how they'll fit together but ihelps me start thinking about the game more.
Wednesday, 6 March 2013
Subscribe to:
Posts (Atom)