fantomEngine v1.55 released 2

Hello folks,fe_logo

hopefully everything is running well on your side. Here it is, I am just totally busy with non Monkey related things. But for your pleasure I have uploaded version 1.55 of fantomEngine. Your favorite game framework for Monkey X. One of the new features is isometric map support for Tiled created maps. And over nice little additions.

There is still no Gui module or Particles which I am still working on. The problem I have is that I am still not satisfied with the current implementation I came up with. After all I want to give you a great toolset for your awesome games.

Here are the changes in version 1.55:

New functionalities

  • - Added ftAstar.GetAngle:Float() to retrieve the angle of the grid.
  • Added ftAstar.GetScaleX:Float() to retrieve the X scale factor of the grid.
  • Added ftAstar.GetScaleY:Float() to retrieve the X scale factor of the grid.
  • Added ftLayer.GetTransitionCount:Int() to retrieve the current number of transitions.
  • Added ftLayer.SetLayerScissor:Void(..) so you can set the render scissor offset for each layer.
  • Added ftEngine.GetLocalX:Float(…) and ftEngine.GetLocalY:Float(…) to convert virtual coordinates to device coordinates.
  • Added ftEngine.GetWorldX:Float(…) and ftEngine.GetWorldY:Float(…) to convert device coordinates to virtual coordinates.
  • Added ftEngine.CreateSpriteAtlas(…) to setup a sprite atlas in one step.
  • Added ftSpriteAtlas.GetImageHeight(…) and ftSpriteAtlas.GetImageWidth(…) to retrieve the proportions of a sub image.

Fixes

  • Fixed ftPath.RenderAllWP and ftPath.RenderAllMarker to take virtual canvas sizes into the render calculation.

Changes

  • Various changes regarding the calling of ftAstar.SetAngle and ftAstar.SetScale to avoid multiple calculation and floating point errors when setting grid node positions or adding grid nodes.
  • Changed ftLayer.Render to react on a layer individual scissor offset.
  • Changed ftEngine.CreateTileMap to support isometric tilemaps.
  • Changed ftObject.Render to support isometric tilemaps.
  • Changed ftEngine.LoadImage(…) to use Image.MidHandle as the default flag.

New example

  • TileMaps/Tiled/TiledIsometric.monkey
  • SpriteSheets/SheetAnim/SheetAnim.monkey

Fixed example

  • Objects/Behaviour/ObjectMovement/ObjectMovement2 – fixed setting the ID of a shot

 

And like always, have fun. Let me know if you run into problems and post it on our support forum.

Take care
Michael


fantomEngine V1.54 released

Hi folks,

another month, another update of the fantomEngine game framework. Version 1.54 for Monkey is now released. fe_logoBug fixes, enhancements and some new stuff made it into this release. One big feature is now the support for bitmap fonts created by FontMachine. Anyway, here is the list of changes:

 

New functionalities

  • Added ftVec2D.Perp:Void() function
  • Added ftObject.SetAnimRepeatCount(repeatCount:Int = -1) function
  • Added _repeatCount parameter to ftObject.CreateAnim.
  • Added ftEngine.OnObjectAnim method, which is called when one loop of an animation is finished
  • Added support to load fonts create via FontMachine. They have to be “packed”.
  • Added ftEngine.CreatePivot method so you can create an empty object which you can parent other objects to.
  • Added ftObject.SetAngleOffset method so you can manually set the offset for the drawing angle.

 

Fixes

  • Fixed collision routines regarding the usage of the collision scale factor
  • Fixed ftSpriteAtlas.Load when using a sprite atlas data file where the lines are delimited by CR13 CR10.
  • Fixed ftEngine.CreateImage when using a sprite atlas data file where the lines are delimited by CR13 CR10.
  • Fixed ftFont.Load when using a data file where the lines are delimited by CR13 CR10.
  • Fixed reading Image rotation when using ftSpriteAtlas class. Use ftSpriteAtlas.GetAngleOffset to read the rotation offset.
  • Fixed ftObject.Render with images. They had disappeared at the edges of the Canvas when scaled up.
  • Fixed ftScene.CreateTransAlpha and ftScene.CreateTransPos to return the transition object (ftTrans).

Changes

  • ftEngine.CopyObject now copies assigned children too.

New example

  • Misc/UpdateObjects
  • Objects/Collision/Collision
  • Objects/Collision/CollisionBoxes
  • Timers/Timers

 Changed example

  • Objects/Creation/CopyObject -> added a child
  • BaseScript/BaseScript -> added new OnObjectAnim method

And like always, have fun. Let me know if you run into problems and post it on our support forum.

Take care
Michael


Tool development for fantomEngine 4


Hello all,

I would love to see which tool you would like to see first for fantomEngine. As of today, fantomEngine already supports great 3rd party tools. It will do so in the future but I would love to add its own toolset. So please take the time to choose the tool you would love to see first. Vote till June 15th 2014! Thank you.

This poll is closed! Poll activity:
start_date 19/05/2014 07:54:10
end_date 15/06/2014 23:59:59
Poll Results:
Which tool do you want to see next?