background preloader

Flex

Facebook Twitter

Techniques de création de jeux - Plateforme - Mediabox - Centre de Formation Adobe - Ressources. Activez JavaScript pour une utilisation optimale.

Techniques de création de jeux - Plateforme - Mediabox - Centre de Formation Adobe - Ressources

Avant Propos Bonjour, Je suis un passionné qui développe des jeux pour s'amuser. Je puise mon inspiration dans les jeux Amstrad, Amiga ou Atari, des machines d'un autre temps où concevoir des jeux demandait d'utiliser des techniques pointues pour que les jeux tiennent sur une disquette (voire moins) et puissent tourner avec la faible capacité des ordinateurs de l'époque. Si les plus anciens d'entre nous voient tout à fait de quoi il s'agit, les plus jeunes se demandent peut être de quoi nous allons parler, c'est pourquoi nous allons commencer par une petite vidéo d'introduction, quand je parle de jeux de plateformes voici ce dont je parle, attention essayez de trouver le point commun entre tous les jeux qui vous sont présentés dans la vidéo : » Voir la vidéo Voici donc une petite série d’exercices pour lever un coin du rideau et voir ce qu'il se passe derrière.

La technique de base utilisée est celle des tuiles, c’est un classique. Multidimensional Arrays and Vectors Optimized with VectorEx. Bit Flags in Actionscript: An Example. It seems that when writing Actionscript I am so accustomed to doing things a certain way that often I forget there may be better ways to accomplish something.

Bit Flags in Actionscript: An Example

This happened recently on a project I am working on. I was creating the classes that defined the various user types and what permissions each type has. I decided that the best way to do this was to create a abstract ‘User’ class and subclass it to create each actual user type. So the basic design looks like this. The abstract ‘User’ class would define all of the permissions as boolean properties with each permission initially set to ‘false’ so that the ‘User’ class wouldn’t have any permissions. And as an example the sub class ‘Authenticated User’ would look like this: This would give the ‘Authenticated User’ permissions to edit, save and print but not permission to create new users. If(user.canEdit) { // do something } if(user.canSave) { // do something } Each permission is stored as a ‘uint’ data type.

Oaxoa Blog.

Developpement

Squiggly. Follow these steps to get started with Squiggly: Download and Install Flash Player 10 or AIR 2.

Squiggly

Try the online demo to become familiar with the functionality provided by Squiggly See the Product Details section of this page for more information about this release and to review the release notes. Download the Squiggly package. Expand it into your Flash development environment and review the Squiggly ASDoc, along with the sample code. Ask questions and share your feedback in the Squiggly forum Please note that your submission of comments, ideas, feature requests and techniques on this and other Adobe maintained forums, as well as Adobe's right to use such materials, is governed by the Terms of Use.

Below you'll find references and links to help you participate in the Squiggly community. Online Forum Ask questions and discuss ideas with other Squiggly users in the Labs forums. Spark DataGrid with HierarchicalCollection and GroupingCollection « Alex’s Flex Closet. A Spark-based DataGrid is one of the most important additions to Flex.

Spark DataGrid with HierarchicalCollection and GroupingCollection « Alex’s Flex Closet

It will be officially released shortly with the Flex 4.5 SDK. Finally, folks will be able to use the same skinning workflows they use on their other Spark components to customize the look of the DataGrids in their applications. Unlike the MX DataGrid, where I wrote most of the code, and like the MX AdvancedDataGrid, where I didn’t write any of the code, I don’t think I wrote a single line of code for Spark DataGrid. A completely different team of folks wrote it. And that means I’m not all that familiar with how it works under-the-hood, so I decided to try learn more about it by stretching its capabilities in order to see if it has the right APIs and extension points, by adding a capability that won’t ship in-the-box with Flex 4.5, and that is the ability to use GroupingCollection to get some sort of hierarchical (tree-like) display in the Spark DataGrid. It took about 4 hours to get to this point. Flex - Paul Search. Flex Army kNife.

Mobile

MdaME. AIR and LinkedIn  Hey guys… long time no see I had to play a little bit with the LinkedIn API based on a classic REST architecture and on OAuth (Open Authorization) to identify the users.

AIR and LinkedIn 

Browsing the content of LinkedIn developers forum, I was amazed by the number of developers who are trying to access the LinkedIn API from Adobe AIR. Reading the threads, a lot of them failed. That’s why I’m sharing the source code of a minimalistic AIR app that retrieves your LinkedIn contacts. The hardest part is definitely the authentification using OAuth. Before coding anything, you need to request an API key here: First, you must declare your AIR application.