Wednesday, 27 February 2013

2D Game Engine

Construct 2

Construct 2 is a HTML based game editor developed by Scirra LTD. It is aimed at mainly non programmers    , Which is why it uses things like the drag and drop methods. To make things a lot easier and simple for the user.

The layout of the interface is very simple and easy to navigate around. You have clear access to a wide set of tools that allows anyone with no game engine experience to jump in and create something.Objects can be arranged on separate layers for better organisation, allowing advanced parallax and blending effects. You can also make quick edits to your objects and graphics by using the inbuilt image editor.

Construct 2 uses a very simple way of coding; instead of trying to remember loads of different script languages it uses what it known as an 'Event System'. Events are created by selecting possible conditions and actions from an organized list. The event sheet is designed to be as easily readable as possible, so that beginners can get instant results as well. each event sheet has a lit of events, which contain conditional statements or triggers. Once these are met, actions or functions can be carried out. Groups can be used to enable/disable multiple events at once, and for organisation in large projects. Advanced event logic such as OR blocks, sub-events, local variables and recursive functions allow for sophisticated systems to be programmed without learning a comparatively more difficult programming language.

With contruct 2 you can preview your games instantly at anytime. At the press of a button you get your game running in a browser window ready to be tested. This allows for fast prototyping and iterative development which enables testing during the entire creation process making it a lot easier to detect problems.

Ethanon engine

Ethanon Engine is a free and cross-platform 2D game development tool focused on the recent video cards for hardware acceleration and shader effects. Any game style is allowed, from top-down view RPG's to side scollers and shoot'em up games. The main goal is to provide high-quality lighting, shadow and particle effects with an easy to use visual inerface, simple and direct scripting enviroment.

The Ethanon Engine is highly scriptable. The ethanon's angelscript language provides a comfortable and familiar scripting environment for intermediate c++, java or c# developers. Angelscript packs convenient hight level features such as garbage collection and polymorphism while allows lower level and imperative optimizations when necessary.

Link to website - http://ethanonengine.com/


This piece of coding is saying that when the left arrow is press the sprite will move left.
This piece of coding is creating a player box around the player so that it is able to collide with things.

Here is the same again but moving the sprite on the right arrow.
Here is making the sprite move, and when it collides with the enemy it destroys it.
here is adding the animation to make the spite able to jump.
Here is setting it the sprite so when it lands on the enemy it destroys it and bounces off.

Here is setting the enemy to move around the level to make it harder to kill.



Here are the characters I used for my construct level. The sprite (top) and enemy (bottom). I made these characters as basic as possible because I didn't want to make construct too hard for me as I've never used it before. But, I think these characters do kind of suit the look of my level.

Here is the level background I chose to use. Its actually one I used for my game trailer. I thought It would be quite good because the character has several things to jump on like the tree.




Evaluation



Here are some game screens of the level. I do like the simplicity of construct 2 its a lot easier than programs like flash, but I like the simple design of it and think it adds a nice effect. I like the fact you can create little games in a short amount of time without knowing how to spript, you just have to find the right action you want and apply it. If I was to make changes to this, I would defiantly change my characters and include the one I used for my game trailer. But I didnt want to make things too hard for myself and for demo purposes just used blobs. but I think they kind of suit the look of my level.