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 - Foxtacy

Pages: [1] 2
chat / Re: FliXNA - with Xbox and Windows Templates
« on: Tue, Jan 31, 2012 »
I tried to set up the environment here with the template you've provided...

And it says it can't find the type definition for FlxPath...

This file doesn't even seem to exist on the namespace...

plz...halp? D:

releases / Re: FlixelJS [INCOMPLETE]
« on: Tue, Jan 31, 2012 »
Do you intend to finish this? i'm very interested in this ^_^

chat / Re: FliXNA - with Xbox and Windows Templates
« on: Tue, Jan 31, 2012 »
Will you support this like... fovever =3?

chat / Re: FliXNA - with Xbox and Windows Templates
« on: Mon, Jan 30, 2012 »
Can't wait to get home and test this :3

chat / Re: 20 or more weapons animations
« on: Mon, Jan 30, 2012 »
Also Check out FlxWeapon on Flixel Power Tools plugin by Photonstorm :3

Makes your life WAAAAAAAY easier :D

chat / Re: Sprite problem
« on: Mon, Jan 30, 2012 »
Also, i believe this kind of stuff you should ask on the HELP session, not here. This  makes mods happy =3 :P

chat / Re: Sprite problem
« on: Mon, Jan 30, 2012 »

Check this out written on

* This function is called after the game engine successfully switches states.
* Override this function, NOT the constructor, to initialize or set up your game state.
* We do NOT recommend overriding the constructor, unless you want some crazy unpredictable things to happen!

Instead of Overriding create. Whenever using states, you should do the same stuff you're doing on create, on your state's constructor.

like this:

public function PlayState()
        FlxG.bgColor = 0x008040;
   _character = new Character();


Hope i have helped :D

chat / Re: Global Game Jam 2012 is comming!
« on: Mon, Jan 30, 2012 »
Too bad i couldn't make anything good enough worth showing here T_T

My team were 3 artists
1 <overloaded> pixel artist,
me in SFX/BGM,
and my friend that stupidly decided to use RAW XNA on the Game Jam.

This year's fail, is all his fault >=|

I told him we should use flixel.

I feel like i "wasted" 48 hours of my life.

The good thing is that this year i managed to TALK to other jammers, getting to know their projects, companies, etc.

Here's the song i made for our "game attempt":

chat / Re: Global Game Jam 2012 is comming!
« on: Mon, Jan 30, 2012 »
Dang! Sounds like fun and a great learning experience.  I'll have to keep better informed in this area.  Anyone know of a good resource for keeping up-to-date with jams, conferences and other meetups?  I know there's a section for that on the tigsource forums but I'm wondering what else is out there.

John! there are lots of events!

Google up those:

Flashpunk (they have their own "flashpunk jam")
Global Game Jam! (anual)
Ludum Dare (like a GameDev Thriatlon) -

I am looking forward to participate this year's Ludum Dare, it will happen in April =)

releases / Re: fliXNA
« on: Thu, Jan 26, 2012 »
Please port this along with it:  That is my sole request.

Thirdieded :D

chat / Re: Global Game Jam 2012 is comming!
« on: Thu, Jan 26, 2012 »
oops! XD

Don't worry! It's an anual event!

If you did not make it this year, there will be many others! :D

help / Re: Doubt about killing
« on: Wed, Jan 25, 2012 »
Hey thanks! that was helpful :D

help / Re: Erase parts of image
« on: Wed, Jan 25, 2012 »
There's a VERY VERY easy way to do it with photonstorm's Flixel Power Tools.

Check it out! ^^

help / Doubt about killing
« on: Tue, Jan 24, 2012 »
Good day guys!

Despite the name of the post, this is not a psycopath question.

The thing is.

What happens when i group.kill() ?

does it automatically kills all the objects inside my group or, does it kill the group but keeps the object within alive?


Important tip!

At some point on your game, you might want to overwrite the kill() method of FlxSprite.

Assuming you will use the "object pool" idea as a good practice, here's a killer tip:

When creating the group, you will have to turn the object off (alive = false, exists = false). AND FOR GOD'S SAKE! DO NOT CALL YOUR OVERWRITTEN kill(), or it might turn out killing you, of a heart attack caused by stress.

If you do not do this, and forget to turn the objects off, strange things might happen.

I'm telling you this, because i just wasted 4 hours of my life trying to correct a strange null pointer exception that made NO SENSE, and because i do not want any of you guyz to suffer over this.

Hope that helps!

Hehe you're welcome ^u^

you could also use getFirstAvail()!

This method can get you the first >existing and alive< (not sure if it gets by alive, or by both exists and alive) without the need to iterate to find an available member :)

chat / Global Game Jam 2012 is comming!
« on: Mon, Jan 23, 2012 »
Hello everybody i hope you're all having a great day!


Who's going to participate into Global Game Jam 2012 and who's using flixel on it?

In advance, i'll wish everyone success, i hope everyone succeeds in making their games during the jam and not letting it die.

Aaaand That's it flixel community :)

Thanks for all the help so far, and i hope i'm able to help everyone with anything, (anything at all) on flixel :)

Good afternoon my good friends!

Well, i think i have one possible solution for your problem!

if you want to use only ONE animation sequence, make sure it's pointed DOWN. on the sprite.png file,

Then, you might want to create 4 constants with angle values, such as:

Angles.UP = 90;
Angles.DOWN = 270;
Angles.LEFT  = 0;
Angles.RIGHT = 180;

Or something like that!

Please notice! that the angles, could vary from -180 to 180, 0 to 359, or from 0 radian to 2PI, depending on the method you're using to acquire the angle.

I'm having a BIG trouble with this crazy angle values myself X_X, but i managed to noticed that! :D

Hope i have helped :3

help / Re: Tiling an image possible?!
« on: Fri, Jan 20, 2012 »
Maybe you could use the "exists" or "alive" boolean flags to do so! then you could revive() when you want it on, and kill() when u want it off :D!

this flag is present on all the objects, bcuz it's on FlxBase or FlxObject, the most primitive types on flixel :)

help / Re: Tiling an image possible?!
« on: Fri, Jan 20, 2012 »
If i understood your question right...

I think maybe, you might prefer to make your sprite animated, or, draw an animated sprite over a tile.

to get the tile you might have to do something like:

map.getTile(i,y) // Note: x,y not in pixels, but in tile indexes.

var tempbolt = new FlxSprite(i*32,y);
tempBolt.loadGraphic(electricPNG, false, false, 32, 16, false);

I know for sure, that there is a better way to do this. I mean, you CAN create animated tiles, i just don't know, but i know there's a way to do it on flixel...

Maybe you should look out DAME or the flixel API to figure out how to do it:

Pages: [1] 2