Sunday, 16 December 2012

Flash Platform Game 

Second Version 


I have now restarted my whole flash game with a new style of coding that I came across in "game design with flash" which works by coding each individual platform and making them movie clips.
This has enabled me to have a faster process with regards to level layout and creation, this is because I can see what the level looks like as I construct it. Also all the tiles having a standard size means they fit together easier.
I have found that this way of coding can not be done on Flash Action Script 3.0 as movie clips cant not have actions added to them, so I have started this project in Flash Action Script 2.0
Upon using this style of coding I managed to make the enemies move across the map correctly. I have now managed to get their simple AI to work in a way that is easily adjusted.
I have also managed to fix all the problems I had come across with the coins in previous versions, so now point increase is working correctly.
This version has seen the addition of health packs which has brought up a problem with the way that the health goes up. For example if the health was 83 and a player picked up a health pack worth 20 the health would change to 8320.
I have come across one problem more significant than the others and that is that player movement is not yet working correctly. By this I mean that when ever the player touches any part of a tile it snaps the player position to the top of that tile. This is currently my largest problem with this version as it makes testing quite difficulty and is not something I can move past until it is fixed.


Wednesday, 7 November 2012






"Foundation Game Design with Flash" Review



This is the book I bought to assist me with my flash coding.













Heres a review of it from "Expert Reviews"...



"Gaming is a significant area within the world of Flash development.


It encompasses everything from small curiosities that add value, to microsites to fully fledged titles such as the ones found on Facebook. However, turning your great idea into a real game requires an understanding of ActionScript.


So, it's no surprise that there's code aplenty in this book. Nonetheless, its cover boasts that you don't need to bring any previous experience in programming or game design to the table. It's an accurate assessment, as you'll find most of the scripts here are untaxing if you have any programming skills already.


Techniques start out with the very basics, such as controlling on-screen characters, and you're taught the ActionScript that holds your virtual world together along the way. Coverage of the Flash workspace isn't as exhaustive as in a more generalised book, though. Instead the focus is on such directly relevant subjects as ActionScript preferences, using the built-in drawing tools to create graphics and publishing your work.


Later chapters explore more advanced subjects, such as simulating physics that constrain characters and artificial intelligence. The latter is explained in a very light manner that's easy to grasp, although the level of intelligence is akin to what you would find in 1980s arcade games. Ideas are presented in a manner that's easy to grasp through the use of clearly annotated figures and well-considered explanations.


However, there's a disappointing lack of advanced techniques. There's no discussion of CS4's Inverse Kinematics tools in a gaming context and frame-based character animation is poorly developed.


What's covered in Foundation Game Design with Flash are the very basics of game development. You won't be building professional-quality games by the end of the book, but you will be in a better position for getting ideas out of your head and onto the screen, where you can experiment further. The closing section points you towards third-party frameworks and further reading that you should pursue in specific areas, such as artificial intelligence."


...its helped me with the basics of flash gaming, reinforcing what I already know, as well as giving me a more structured way of coding that I can more easily repeat on other games.

Friday, 5 October 2012


Web Design Links and Reccomendations


I've only done a limited amount of web design and projects using web based development environments, however these are some external resources that helped me...

HTML and CSS resources


Dave Raggett’s introduction to HTML.

Check your HTML with the W3C HTML validation service. Please note: the simple examples on this site won’t validate. That’s to keep the examples simple.

Firefox has an HTML validator add-on which will save you time by checking your code as you write it. Watch for a green tick or red cross in the bottom right corner of the browser when you refresh the page.

Mulder’s style sheet tutorial at Webmonkey.

Dave Raggett’s CSS style sheet tutorial.

Dave Raggett has also produced the HTML Tidy

There is a standard for CSS, written by the W3C (World Wide Web Consortium). Check your CSS with the W3C CSS validation service

CSS Zen Garden has a demonstration of the power of CSS stylesheets thats pretty cool.

Herself’s Webtools has information on template design, security and SEO for WordPress.


Colours


This is the best colour scheme chooser I’ve found so far.

Colour Palette Generator.

An excellent color chart for determining those difficult hexadecimal RGB values.

A W3C chart of CSS colours by name.


Image Editing and Creation


GNU Image Manipuation Program (or The Gimp for short) is a free open source image editor, otherwise there is always photoshop.


Font Design


GlyphTracer is an open source tool for creating a font from an image containing source characters.
FontForge is an open source tool for designing fonts.


Browsers

Heres a selection of the most popular browsers to check your website works in a wide range of internet browsers.

Firefox – the biggest independent browser.

Google Chrome – Fast

Opera – Some people swear by it.

Safari – mostly used on Apple Macs
.

Tools


Most servers expect you to upload files using FTP. I use the excellent FileZilla FTP client. Download the client, not the server.

I’ve been using IETester for cross-browser compatibility testing. You can test your web pages in IE5.5, IE6, IE7 and IE8.

Thursday, 27 September 2012

Flash Platform Game 


Background Design Templates




These background designs have been made for a future platform game with the working title "Men vs Women, A battle of the sexes". The current concept is to have two sets of 4 levels, a male "path" and a female "path". These two designs are for a classroom level and an office level. The idea for the game is to play through the four levels as your chosen gender and "battle" through the levels and the opposite gender's stereotypical views and ideals. We aim to produce this game as a comical look at gender dispuites that are often seen across the web.








Saturday, 14 July 2012

Flash Platorm Game

 

The Coin Error


As referered to from my post on the 14/06/2012, I was having trouble with getting the coins to function correctly. I have now managed to remedy this problem. To do this I had to individually place several coins on the actual stage instead of calling the movieclips. Then I had to give each individual coin code that allowed it to disappear when touched and increment the score by one.

Thursday, 14 June 2012

Flash Platform Game 


First Version

My first attempt at a platform game has been made using Flash Action Script. I used several arrays to construct an array block to organise the game map.
The whole of each level is written in one frame of the time line, and movie clips are called from here. I built this game obeying suitable laws of physics, for instance the jump height and speed have been set with limits, as well as a top fall speed similar to the real world.
In this version it is possible to gain points from collecting coins, though I am finding it difficult to get the correct result that I want. By this I mean to say that the coin either doesn't disappear or all the coins disappear from the stave at once.
It is also possible to be damaged from the spikes, which increments a health lose by 5 for all the time you are making contact with the spikes. It is also possible to die in this version, upon this the player then spawns into the start place for that particular level instantaneously. Then upon the loss of the player's final life the player moves to the "dead" frame and is unmovable.
I have also made a door to transition the player to the next level. This then enabled me to produce several levels and check their playable experience as a typical user.
The alien, that is visible in two of the screen shots in the upper left corner, has been coded with a basic AI type of behaviour. The idea was that the alien would count to a preset number and for every count it would move several pixels in a direction, either left or right, then once the preset number was reached the count would reset to 0 and the alien would turn in the other direction automatically. Unfortunately all the alien does currently is count to the preset number and then shift several pixels left and then right.
This version has also seen a successful use of ladder squares that connect and can be climbed with ease allowing the player more access vertically in the game.
Another unconventional tile I have used is the "quicksand" square. I actually found the code needed for this square by mistake when I missed out a function. Because of this mistake the player would sink through the squares passing through them completely. I noticed a potential for these tiles in the game so made notes of the code needed and have included them in the level designs since as it adds another direction of travel throughout the game.


Thursday, 17 May 2012


Using Net Logo for Artificial Intelligence Environments...




Wednesday, 4 April 2012


CSIT1


E-Media Conclusion


Throughout the module "E-media" I learnt to ...

  •  understand what motivates design decisions
  •  appreciate the importance of creating systems that are fit for their intended purpose
  •  make straightforward design decisions 
  •  understand the reasoning behind some of the decisions that have been made in the design of existing techniques and technologies for storing, transmitting and processing information
  •  understand the relationship between form, function, content and aesthetics, and their importance in the design of documents and the systems that manipulate them
  • understand some of the options that are available to those designing and implementing systems for the storage, transmission and presentation of information

Overall the most important skills that I learnt were to be able to make straightforward design decisions, taking into account the relationship between form, function, content and aesthetics and how to be able to make an informed choice between different means of representing, transmitting and processing information.

Tuesday, 6 March 2012

Friday, 20 January 2012


CSIT1


E-Media Our Assignment- What we had to produce


A Flash CV containing five screens:

  1. Welcome Screen ( With interesting animation)
  2. Personal Details 
  3. Education 
  4. Hobbies and Interests
  5. Employment
The general requirements for the CV are
  1. It should be possible to navigate from any one screen to any other with a single click 
  2. The file size should be small 
  3. It should contain completely original content ( with the exception of sound files)
  4. It should have two images of you in it 




Thursday, 12 January 2012


CSIT1


E-Media


Our Flash CV Assignment


• This assignment related to developing an interactive online CV according to a brief
• We had to prepare the CV prior to a practical examination practical examination – where we were asked to modify our CVs on the day.


Thursday, 5 January 2012

CSIT1


E-Media


Tutorial 1 On Masking




Here is the tutorial from which I learn the basics of "Masking"