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

Pages: 1 [2]
21
Well, it was mostly meant as a test to see if none of them got stuck or fell through.

I wonder if calling a super.update() in the heart classes would help.

22
Just a guess here, but it could be a problem with using overlap.

Heart.velocity.y *= -0.888;

It's possible that the bounce function is getting called repeated and making the velocity change over and over between a positive and negative number. I'd test my theory by changing that to just a static negative number and seeing what it does.

e.g. Heart.velocity.y = -100;

23
help / Re: PowerUps (now bounce, dang-it!)
« on: Sun, Oct 10, 2010 »
Quote
Code: [Select]
if(FlxG.keys.C)
   {
     _hearts = new Hearts(mouseX,mouseY-12);           
     add(_hearts);   
                   
     _hearts2 = new Hearts2(mouseX,mouseY);
     add(_hearts2);       
   }

Try adding the hearts to the FlxGroup right here and see if it works.

e.g. _heartz.add(_hearts);

24
help / Re: PowerUps (now bounce, dang-it!)
« on: Sun, Oct 10, 2010 »
Did you add the two heart powerups to the heartz FlxGroup?

25
help / Re: PowerUps (now bounce, dang-it!)
« on: Sun, Oct 10, 2010 »
Quote
Code: [Select]

           
 FlxU.collide(_heartz, _hill);
       
 public function bounce(_hearts:Hearts, Hill:Hills):void
   {
       
      _hearts.velocity.y = -500;
             
   }

Your bounce function isn't getting called. To do it like this, you'll have to use overlap. If you want to use collide, you'll want to override hitBottom in the powerup classes and change the velocity there.

As for making them disappear after a few seconds, I'd just create an internal timer on the powerup classes that will kill them once expired.

26
help / Re: building issues
« on: Sat, Oct 9, 2010 »
Sounds to me like it's building the swf in a different location, but unfortunately, I don't think I'll be able to help you if it's an issue with Flex Builder itself, as I use FlashDevelop.

27
help / Re: building issues
« on: Sat, Oct 9, 2010 »
It's not throwing any errors when compiling?

28
help / Re: PowerUp!
« on: Sat, Oct 9, 2010 »
My tutorial http://www.omegastormproductions.com/uber-flash/flixel-2-tutorial-extended goes through adding random powerups to the Flixel 2 tutorial on http://www.creativeapplications.net/flash/flixel-2-tutorial-flash-tutorials-games/

It should give you a general idea of how to go about doing it.

29
games / Re: Flixelvania
« on: Sat, Sep 25, 2010 »
Very cool, I like the mini map.

30
games / Re: Rune Hunt [Released]
« on: Fri, Sep 24, 2010 »
I played it awhile back and I enjoyed it. I did manage to kill myself at a certain point in the game and had to play through it again to get the proper ending. Didn't know the game would actually end the first time when I did it (I'm sure you know what I'm talking about).

31
help / Re: A good pixel software for animations
« on: Tue, Sep 21, 2010 »
Yeah, I've been using GraphicsGale and it works pretty good.

http://www.humanbalance.net/gale/us/

32
I wrote up an extension to that tutorial awhile back. You can find it on my site at http://www.omegastormproductions.com/uber-flash/flixel-2-tutorial-extended if you want to get ideas.

33
games / Re: Flixelvania
« on: Thu, Sep 16, 2010 »
yeah, theres also Slidelaunching too :D but that's all stuff i'll get to later. Thanks for checkin' it out and for the bug report

By "slide launching," I assume you mean continuing at the sliding velocity as long as you keep jumping and don't let the sliding animation finish.  ;)

Also, the hitbox doesn't resize when sliding, so you can't slide under things.

34
help / Re: DAME - a new map editor made using flixel!
« on: Sun, Sep 12, 2010 »
.dam automatically added to filenames when doing a save as

Yeah, that will help keep new users from being confused. Before it would save it as a file without an extension and Windows wouldn't know what program to associate it with and DAME could'tn find it to open it. (Unless you actually typed .dam when saving, of course)

- Ability to reload the tileset, maybe with a keyboard shortcut or a button on the tile pallet title bar?
I'll look into this, and possibly for sprites as well...

Yes, this would help quite a bit. If you make changes to a tileset that is in use while DAME is open right now, you have to close it and reopen to get the new version of the tileset to show.

35
help / Re: DAME - a new map editor made using flixel!
« on: Fri, Sep 10, 2010 »
Haven't checked 1.0.2 yet, but in 1.0.1, I noticed it doesn't auto associate the project files and you have to manually type .dam when saving.

36
help / Re: Up to date Game tutorial
« on: Fri, Sep 10, 2010 »
You can find a tutorial that is compatible with the current stable release (2.35) at http://www.creativeapplications.net/flash/flixel-2-tutorial-flash-tutorials-games/ that creates a basic defender style shooter.

I've expanded on this tutorial a little bit, so once you complete it, you can find my extension that picks up where it left off here:http://www.omegastormproductions.com/uber-flash/flixel-2-tutorial-extended

I still fairly new to Flixel and Actionscript myself, so I figured I'd contribute to other people's learning. :3

Pages: 1 [2]