Author Topic: Update from 2.43 to 2.55 and cant find several objects  (Read 1952 times)

werem

  • Member
  • **
  • Posts: 79
  • Karma: +0/-0
    • View Profile
Sorry for the questions, but I cant solve my problems with the release notes.

Where the FlxQuake class goes?
Where the createGraphic method from the FlxSprite class goes?

Thanks

werem

  • Member
  • **
  • Posts: 79
  • Karma: +0/-0
    • View Profile
Some more missing classes:

FlxFade?
hitBottom on FlxSprite?

werem

  • Member
  • **
  • Posts: 79
  • Karma: +0/-0
    • View Profile
onEmit?

camasthecat

  • Contributor
  • ****
  • Posts: 461
  • Karma: +0/-0
  • WOW! 400+ Posts!? Jeez! Do I have a life!?!?
    • View Profile
    • My site for thermalJS, an HTML5/Javascript engine kinda-like flixel:
FlxQuake is now embedded into FlxCamera. So: FlxG.camera.shake();
FlxFade is too: FlxG.camera.fade();

werem

  • Member
  • **
  • Posts: 79
  • Karma: +0/-0
    • View Profile
Thanks camasthecat!. Is there a place where I can get this information? Any clue?(which version this changes where introduced?)

I'm working with tilemap now(the main reason I made the update), and there are a huge change in this.

My main problem is that I made several overrides, and now the new version is rejecting my hack.

Whats the best way to proceed? I have a lot of work and I can't just cam here and post every function I have problems with.

What I'm missing now is:

renderTileMap on FlxTilemap.
hitLeft and so on in the class FlxSprite
postProcess on FlxState
FlxAnim class

This upgrade will be a pain :D


werem

  • Member
  • **
  • Posts: 79
  • Karma: +0/-0
    • View Profile
Where is the "fixed" property in FlxSprite?

auriplane

  • Snails!!
  • Contributor
  • ****
  • Posts: 497
  • Karma: +1/-0
  • Snails!!
    • View Profile
renderTileMap on FlxTilemap.

drawTilemap

Quote
hitLeft and so on in the class FlxSprite

http://forums.flixel.org/index.php?topic=4827.0

Quote
postProcess on FlxState

Don't know.  I think you can do the same thing by overriding draw() though (which used to be render(), FYI).

Quote
FlxAnim class

FlxAnim moved from data/ to system/, but I think it's still the same FlxAnim you know and love.

Quote
This upgrade will be a pain :D

Yep!

Tony0817

  • Member
  • **
  • Posts: 14
  • Karma: +0/-0
    • View Profile
createGraphic is FlxG.makeGraphic()

hitBottom or hitanything is FlxSprite.isTouching()

hope that helps  :)

Tony0817

  • Member
  • **
  • Posts: 14
  • Karma: +0/-0
    • View Profile
Where is the "fixed" property in FlxSprite?

Also, I think it's FlxSprite.immovable now