Benoit Freslon

Benoît Freslon – game designer – indie developer – freelance – teacher

My name is Benoît Freslon, and I’m a professional game developer since 2006.

I got several profiles:

  • Independent game developer;
  • Game designer and game developer as a freelancer with Unity 3D;
  • Teacher;

I usually develop games with Unity 3D and Adobe Animate CC, but I can easily adapt myself.

You can find on my website all my creations.

Don’t hesitate to contact me for all requests: a mission, advice, expertise, or if you want to purchase licenses of my games, etc.

Read more details.


I already worked for:

  • Disney.com
  • Sony Music
  • Hachette Multimédia
  • ArmorGames.com
  • Orange France Telecom
  • King.com
  • Castor Et Pollux
  • Plus Conseil
  • NoHuman Interactive
  • Kongregate.com
  • Playwala
  • Yahoo.com
  • Smart-kit.com
  • GameShed.com
  • MoFunZone.com
  • Andkon.com
  • Avea
  • GameZHero
  • ISART Digital
  • Zapak
  • Exkee
  • Faeria
  • Chugulu Games
  • PlayTDGames

CleanLand – Cleanance (2014)

Facebook game for Cleaneance brand.
Flash development, ActionScript 3.0.

Planet Crunch (2014)

Play on LudoKado

Flash game like “Candy Crush Saga”.
ActionScript development.

Kmembert (2013)

Game developed in 48h during the Ludum Dare 28.
Flash game, type: Puzzle/action.
Game design, level design, 2D design,  Flash development, ActionScript 3.0.

Flash tutorial: creating a simple button with Flash ActionScript 3.0

Today : How to create a simple button in Flash with AS3.

Example

Sources

You can find the .fla and with the ActionScript source code inside.

Download the source code here: Simple_button_benoitfreslon.com.fla

Let’s start

  1. Open Flash > Create a new Flash ActionScript 3.0 document
  2. Insert > New Symbol
  3. Name : Btn
  4. Type > Button
  5. Click OK

Capture d’écran 2013-09-28 à 16.10.09

  1. Draw a button in the Up state (when the button is released)
  2. Draw a different button in the Over  state (when the mouse cursor is over the button)
  3. Daw a different button in the Down state (when the button is pressed)
  4. Draw a simple shape in the Hit state (The Hit area of the button)
  5. It’s done. Back to the stage now.

Capture d’écran 2013-09-28 à 16.18.25

  1. Then select the MovieClip on the stage
  2. Set an instance name “mc_btn” in the Properties pannel like this

simple_button_02

  1. Create a new Layer with this name: Actions
  2. Select this new layer
  3. Open the Actions Pannel: Windows > Actions or hit F9

simple_button_03

Copy and paste this code:

FlashDevelop: Color scheme and syntax coloring with all ActionScript 3 keywords

For all developers who love Flash Develop like me, you probably NEED to colorize all ActionScript 3.0 keywords.

Here a screenshot of the syntax coloring:

flash_develop

You can download Flash Develop 4 here.

Download my AS3.xml file and replace the AS3.xml in the Languages folder.

C:\Program Files (x86)\FlashDevelop\Settings\Languages

or

C:\Users\XXXX\AppData\Local\FlashDevelop\Settings\Languages

The xml file is compatible with Flash Develop 4.X.X.

ActionScript: Move object with smooth acceleration and deceleration with inertia

Today a simple sample of code to create an inertia effect in ActionScript 3.0.

The character will start to move with smooth acceleration if you press an arrow key.

You can download the source code here : Flash_acceleration_benoifreslon.com.fla

Jump’Box – Fleury Michon (2013)

Jeu Flash de plateformes sur Facebook.
Game design, développement Flash, ActionScript, Starling, Stage3D, soud design, level design.

Tutorial: How to create a game like Angry Birds in Flash – Part 4 – Create the pigs and the collision detection

Part 4 – Create the pigs and the collision detection

Introduction

Here the 4th tutorial to learn how to create a physic based game like Angry Birds in Flash.

You can download the complete sources here: How_to_create_a_game_like_angry_birds_part4.zip

If you missed the first tutorial you can find it here: https://benoitfreslon.com/fr/tutorial-how-to-create-a-game-like-angry-birds-with-box2d-world-construction-kit-flash-part-1

In this tutorial we will create the the ennemies: the Pigs. We will detect the collision to destroy it.

Create the Pig character

Create the Pig MovieClip:

  1. Insert > New Symbol
  2. Name: Pig
  3. Type: MovieClip
  4. Check export for ActionScript
  5. Class: Pig
  6. OK

Capture d’écran 2013-04-28 à 22.25.04

Draw a beautiful green pig like this with this dimensions: 30×30

Capture d’écran 2013-04-28 à 22.25.21

Or get my sprite:

pig

The Pig class

Create the Pig class.

  1. New > File > ActionSript 3.0 class
  2. Class name: Pig

Copy and paste this code:

Finally add pigs in the World MovieClip like this:

Capture d’écran 2013-04-28 à 23.32.12

And test your level.

The tutorial is over. If you want more features and more tutorials about the Angry birds engine please post a comment :).

Have fun !