Showing posts with label Engine. Show all posts
Showing posts with label Engine. Show all posts

Friday, December 17, 2010

Introduction to the Blender Game Engine


Source::http://solarlune.wordpress.com/2010/12/17/introduction-to-the-blender-game-engine/

The ninja of the night, SolarLuneHi, there. As you may or may not already know, this is a blog about game design, and I’m going to help you, the reader, to create your very own PC game. The tool I will be using is the Blender Game Engine, to which I will refer as the ‘BGE’ from now on. Now, because this is a very basic tutorial and it’s not really meant to delve into the more complex topics of the BGE, but rather is meant to just give a basic understanding of how the BGE works. The game logic executed in the BGE is made up of Logic Bricks. What is a Logic Brick?

This is a logic brick: A Logic Brick for use in the Blender Game Engine

In the Blender Game Engine, a Logic Brick is a portion of code (shaped like a rectangle) that the developer can customize to fit his needs and perform some sort of action. In the example to the right, this Keyboard logic brick is capable of reading information from the specified key – the Left Arrow. Logic Bricks are split into three types:

Sensors – Sensors sense physical data in the game engine or test data equalitiesActuators – Actuators perform actions on data or game objects – examples are motion, sound playing, and object creationControllers – Controllers test to see if the attached sensors equate as true, and if so, then they trigger the attached actuators. A controller could be And, Or, Nor, or other types of testing values.

As the example above shows, sensor logic bricks in particular have true and false pulse modes, which are the two buttons to the left of the ‘Freq:’ number box. The True and False pulse modes control how the sensor reads the input data specified.

The basic idea of using the BGE would be to use sensors to read the data about the state of the game and to activate the actuators. For example, if you attach an “Always” sensor, through an “And” controller, and attach it to a Motion actuator, then the “Always” sensor will drive the Motion actuator – because there is no other sensor attached to the “And” controller, just the “Always” sensor will actuate it. (For more info, look up Blender explanation)

For those who are more adept with programming, a Python controller is also present, which allows for using a Python script file to read the sensors and control the actuators. Python is a very powerful and useful programming language that allows for much more precision in the BGE than using logic bricks alone. With Python, most anything is possible to do with the BGE. Here’s a link to a page featuring basic tutorials for using the BGE. Now, with a normal understanding of how the BGE works, making a game isn’t going to be difficult at all. So, let’s create a new game using the BGE. Since there are already tutorials for making basic games using the BGE, I was going to try making more complex ones. Let’s try… A 2D Platformer.


View the original article here

Thursday, December 16, 2010

Google App Engine Java and GWT Application Development


Google App Engine Java and GWT Application Development
Google App Engine Java and GWT Application Development
Paperback: 480 pages
Publisher: Packt Publishing (November, 2010)
Language: English
ISBN-10: 1849690448
ISBN-13: 978-1849690447
File Size: 11.3 MB
Google Application Engine is a cloud computing technology that lets you run web applications that are easy to build and maintain as well as being scaled and load-balanced automatically. To build interesting and interactive web applications developers are turning to Java. However, building and deploying scalable web applications using Google Web Toolkit and Google App Engine for Java can be challenging even to developers. The start to finish approach of this book helps you meet these challenges.

This book is designed to give developers all the information they need to develop their own GAE+GWT applications, with a particular focus on some of the technologies useful for building scalable social-media-oriented applications. It is an easy-to-follow guide that shows you how to get the most out of combining the powerful features of GAE and GWT. It provides you with solutions to many of the problems that arise in developing, maintaining, and scaling web applications.


The book introduces you to the features of Google App Engine (GAE) and the Google Web Toolkit (GWT) to help you build interesting and interactive real-world AJAX applications. Over the course of the book, you are guided by the development of a sample application using the Google Web Toolkit (GWT) plugin for Eclipse. To make things easier for you, all application building blocks are explained in detail, walking you through the development process step by step.


The book teaches you the key technologies and methodologies that can be applied to developing your application locally, enhancing your application functionality and accelerating performance, integrating your application with Google Accounts, Facebook, and Twitter as well as monitoring and maintaining your web application.


Packed with great examples and clear explanations, you will be able to build your own web applications that are scalable and reliable using GAE and GWT with Java.


Build a real-world interactive web application in the cloud using GAE/J and GWT, with Push, background processing, OAuth, social media APIs, and more


What you will learn from this book:


* Develop state-of-the-art AJAX web applications with optimized javascript using GAE and GWT
* Explore the basics of using Eclipse via a sample GWT/Google App Engine application generated automatically by the Google plugin
* Learn how GWT works as an AJAX framework, and why it makes you more productive as a developer
* Use GWT RPC for easy client-server communication
* Develop a GWT + App Engine application locally and use Eclipse for “one-click” deployment
* Construct GWT user-interface elements using UIBinder, so that layout and style information is separated from logic
* Integrate your application with Google Accounts, Facebook, and Twitter for user authentication and information retrieval
* Delve deeper, to investigate datastore-related ways to help increase the robustness, speed, and scalability of an App Engine app, and apply these techniques to our “Connectr” application
* Configure, deploy, monitor, and maintain an App Engine application


Approach
This is a practical guide with a step-by-step approach that builds an application in stages. Each stage of the application is used along with screenshots to introduce or develop your understanding of how to write powerful GAE applications.


Who this book is written for
If you are a developer with prior programming experience of Java development and object-oriented programming and want to understand the key concepts of how to build AJAX web applications with Java, then this book is for you. The book assumes some previous exposure to the basics of using GWT, for example at the level of Google’s online introductory GWT tutorials. You don’t need to know anything about Google App Engine. This book will teach you everything you need.


Download Links:
http://hotfile.com/dl/89716298/2fe398b/G.App.Engine.Java.and.GWT.App.Dev.Nov.2010.rar.html
or
http://www.filesonic.com/file/43140169/G.App.Engine.Java.and.GWT.App.Dev.Nov.2010.rar

View the original article here