Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - werem

Pages: [1] 2 3 4
1
help / Re: Collision in an "infinite" world?
« on: Mon, Jun 4, 2012 »
I just tryed enlarging the collision window with FlxU.setWorldBounds but doesnt work. I'm using flixel v2.43

2
I just try the FlxU.setWorldBounds with the width and height of the tilemap, but the enemys keep falling of the world.

3
I'm araid not, there is only a FlxG.followMax and FlxG.followMin, but none of them allow you to set the UpdateWorldBounds variable.

4
* I'm ussing Flixel v2.43,
* the player starts the level on position 0, 230
* the camera follow the player
* The enemyes are placed on the create() method
* All the enemys outside the screen does not collide with the terrain and fall into the void.

I see several posts regarding this issue, but none of the solutions seems to aply(IE, my FlxG does not support the FlxG.worldBounds method)

Any help will be wellcomed.

5
releases / Re: v2.50 demo activity
« on: Mon, Mar 26, 2012 »
I'm trying to migrate from v2.43 to v2.50. The classes are very different and the first try was all error-red. Several overrided methods no longer exist...

The reason I try to migrate is the color bitmap level design feature(http://forums.flixel.org/index.php/topic,5086.msg28301.html#msg28301).

Is there a place when I can see the way to migrate from one version to another? Whats the best way to go?

Thanks in advance.

6
flixel version 2.55

Error says:


TypeError: Error #1009: Cannot access a property or method of a null object reference.
   at org.flixel.system::FlxQuadTree/overlapNode()[C:\proyectos\FlashBuilder4.5\StoryTeller\src\org\flixel\system\FlxQuadTree.as:571]
   at org.flixel.system::FlxQuadTree/execute()[C:\proyectos\FlashBuilder4.5\StoryTeller\src\org\flixel\system\FlxQuadTree.as:500]
   at org.flixel.system::FlxQuadTree/execute()[C:\proyectos\FlashBuilder4.5\StoryTeller\src\org\flixel\system\FlxQuadTree.as:515]
   at org.flixel.system::FlxQuadTree/execute()[C:\proyectos\FlashBuilder4.5\StoryTeller\src\org\flixel\system\FlxQuadTree.as:509]
   at org.flixel.system::FlxQuadTree/execute()[C:\proyectos\FlashBuilder4.5\StoryTeller\src\org\flixel\system\FlxQuadTree.as:515]
   at org.flixel::FlxG$/overlap()[C:\proyectos\FlashBuilder4.5\StoryTeller\src\org\flixel\FlxG.as:968]
   at PlayState/update()[C:\proyectos\FlashBuilder4.5\StoryTeller\src\PlayState.as:108]
   at org.flixel::FlxGame/update()[C:\proyectos\FlashBuilder4.5\StoryTeller\src\org\flixel\FlxGame.as:635]
   at org.flixel::FlxGame/step()[C:\proyectos\FlashBuilder4.5\StoryTeller\src\org\flixel\FlxGame.as:585]
   at org.flixel::FlxGame/onEnterFrame()[C:\proyectos\FlashBuilder4.5\StoryTeller\src\org\flixel\FlxGame.as:453]



The line that throws the error is

this ---->      _iterator = _iterator.next;
         }
         
         return overlapProcessed;
      }
   }

line 571 function overlapNode class FlxQuadTree

Any idea?

7
Where is the "fixed" property in FlxSprite?

8
releases / Can you update the release notes please?
« on: Fri, Feb 3, 2012 »
The release notes in github seems to be outdated. I'm working with version 2.55 and the release notes stops on 2.43.

I have several override functions that stop working because there is no function to override!.

Thanks

9
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


10
onEmit?

11
Some more missing classes:

FlxFade?
hitBottom on FlxSprite?

12
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

13
I was looking for this feature so long. The thing is, I can't make it work. Wich version you used to create it?

This is the error I'm getting once I get it running.

TypeError: Error #1009: Cannot access a property or method of a null object reference.
   at org.flixel::FlxTilemap/overlapsWithCallback()[C:\proyectos\FlashBuilder4.5\Codename Lumberjack\src\org\flixel\FlxTilemap.as:952]
   at org.flixel::FlxObject$/separateX()[C:\proyectos\FlashBuilder4.5\Codename Lumberjack\src\org\flixel\FlxObject.as:989]
   at org.flixel::FlxObject$/separate()[C:\proyectos\FlashBuilder4.5\Codename Lumberjack\src\org\flixel\FlxObject.as:964]
   at org.flixel.system::FlxQuadTree/overlapNode()[C:\proyectos\FlashBuilder4.5\Codename Lumberjack\src\org\flixel\system\FlxQuadTree.as:566]
   at org.flixel.system::FlxQuadTree/execute()[C:\proyectos\FlashBuilder4.5\Codename Lumberjack\src\org\flixel\system\FlxQuadTree.as:500]
   at org.flixel.system::FlxQuadTree/execute()[C:\proyectos\FlashBuilder4.5\Codename Lumberjack\src\org\flixel\system\FlxQuadTree.as:515]
   at org.flixel.system::FlxQuadTree/execute()[C:\proyectos\FlashBuilder4.5\Codename Lumberjack\src\org\flixel\system\FlxQuadTree.as:513]
   at org.flixel.system::FlxQuadTree/execute()[C:\proyectos\FlashBuilder4.5\Codename Lumberjack\src\org\flixel\system\FlxQuadTree.as:509]
   at org.flixel::FlxG$/overlap()[C:\proyectos\FlashBuilder4.5\Codename Lumberjack\src\org\flixel\FlxG.as:967]
   at org.flixel::FlxG$/collide()[C:\proyectos\FlashBuilder4.5\Codename Lumberjack\src\org\flixel\FlxG.as:991]
   at com.arc.lumberjack.state::Play/update()[C:\proyectos\FlashBuilder4.5\Codename Lumberjack\src\com\arc\lumberjack\state\Play.as:63]
   at org.flixel::FlxGame/update()[C:\proyectos\FlashBuilder4.5\Codename Lumberjack\src\org\flixel\FlxGame.as:635]
   at org.flixel::FlxGame/step()[C:\proyectos\FlashBuilder4.5\Codename Lumberjack\src\org\flixel\FlxGame.as:585]
   at org.flixel::FlxGame/onEnterFrame()[C:\proyectos\FlashBuilder4.5\Codename Lumberjack\src\org\flixel\FlxGame.as:453]


14
Hey there, is some tutorial to por flixel into an Actionscript Mobile Project of Flash Builder 4.5? I'm trying to put flixel in an iphone 4 and keep working in actionscript.

I made some tests and is quite performant if you use bitmaps. So I think that flixel will works really good.

I tryed but get some errors(cant remember now). If there is some article or guidelines will be great. Thanks!

15
releases / Re: v2.50 beta thread!
« on: Thu, May 26, 2011 »
Is hard to use the FlxGroup.sort method in a group with groups. Even if you overload the sortHandler method so the group does not generates an error because does not have the "y" property, you can't be sure that the sprites sort correctly, because they are sorted inside the groups.

16
releases / Re: Flixel Iphone
« on: Tue, Nov 16, 2010 »
I try, it's slow like hell. See more details in my posts in this same thread.

17
help / Help on performance for iphone dev
« on: Wed, Oct 27, 2010 »
Ok, I'm a iphone dev(wanabee). I try to compile mode and other experiments done in flixel and run them into the iphone, and the result is painfully slow. Even the more simple test are slow in the iphone(I test with the device, not the emulator).

Can we try to make some more deep changues to be activated when the mobile = true is set?

If not, can we custom some classes in order to speed up the performance in this device?

I just read this thread

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

I dont try this yet, but I think is the way to go. I can do some test for my own and post them in this thread, but my time is limited and I think will be more easyer if more people post some code snipets and ideas.


Thanks in advance

18
help / Re: Line of Site Question
« on: Wed, Oct 27, 2010 »
please, edit your question title to "line of sight" in order to be easyly founded by other people.

Second, there are a lot of ways to do that. You must discard the performance expensive ones(use ray tracing and blurs is a NO).

You should use a circular bitmap simulating a ligt source that you use like a mask over a black rectangle. And project rectangular shadows only for certain objects(tiles and enemys). For project shadows, I mean delete rectangles of the mask via bitmap manipulation. The shadows project away the light source.

It's a little tricky but is doable and the experience should be good enought.

Hope this helps.

19
help / Help writing a C# translator
« on: Tue, Oct 26, 2010 »
I'll like to write a translator, from Actionscript to C#.

I need some help about how to handle the tranlation process in order to extend it easily when the translator doesn´t work in certain circumstances and make it work for other languages(objective C).

Example:
 The translator convert "var c:int = 0" to "int c = 0" very well, but cant process "var c:Number = 0". So you can add your case to the stack in order to translate "var c:Number = 0.5;" to "float c = 0.5F;"

Any ideas?

Thanks!

20
releases / Re: Flixel Iphone
« on: Tue, Oct 5, 2010 »
Now that Apple is playing ball with Adobe, has anyone tried exporting a Flixel powered project from FlashCS5 to the iPhone? Cheers!

I try compile "mode" and "works", but at something like 2 frames/sencond. I'm trying to develop games on iphone and it's a pain. I'm really hope that the flixel port of this lib come soon.

Regards.

Pages: [1] 2 3 4