Flash

C++, C#, Java, PHP, ect...
User avatar
Agent
Posts: 164
Joined: Tue Jul 14, 2009 5:22 am

Re: Flash

Post by Agent »

Yeah I thought so, wasn't 100% sure though - MX just looks a little different but is yeah, practically the same deal.
In that case the coding behind it should be fairly simple.

I have attached a scrap sample off the top of my head (I am still assuming spirit is referring to health bars or the like)
- from the attached .fla i hope you can make from it what you need to make your own system work - this is just a general base (has a few fixable bugs) and is open to become much more dynamic. If you can't really understand it let me know - I will have to find the time to make a tutorial for it inside my RPG tutorial series, so see how you go.

Goodluck.
User avatar
SpiritWebb
Posts: 3107
Joined: Sun Jul 12, 2009 11:25 pm

Re: Flash

Post by SpiritWebb »

Agent wrote:Yeah I thought so, wasn't 100% sure though - MX just looks a little different but is yeah, practically the same deal.
In that case the coding behind it should be fairly simple.

I have attached a scrap sample off the top of my head (I am still assuming spirit is referring to health bars or the like)
- from the attached .fla i hope you can make from it what you need to make your own system work - this is just a general base (has a few fixable bugs) and is open to become much more dynamic. If you can't really understand it let me know - I will have to find the time to make a tutorial for it inside my RPG tutorial series, so see how you go.

Goodluck.
I downloaded the .zip file, but when I try to open the file in flash, it tells me unexpected file format, and closes. I cannot unfortunately open the file. I have attached a sample file from a game, to where I was referring to the HUD system. The HUD system is located both at the top and bottom, this does not move. I'm trying to figure out how to create a HUD that doesn't move, but the center does for game play.
Image

Image
User avatar
Sakar
Posts: 520
Joined: Thu Apr 23, 2009 2:59 am

Re: Flash

Post by Sakar »

I've only used Flash a few times, but maybe you could put the HUD on a separate layer from the game.
User avatar
neronix17
Posts: 317
Joined: Sat Aug 01, 2009 5:01 am

Re: Flash

Post by neronix17 »

I was going to say that! lol, to stop it from moving just have it on the layer above the game, it is honestly as simple as that.
This isnt just a gimp mask...This is an S&M gimp mask...
User avatar
SpiritWebb
Posts: 3107
Joined: Sun Jul 12, 2009 11:25 pm

Re: Flash

Post by SpiritWebb »

neronix17 wrote:I was going to say that! lol, to stop it from moving just have it on the layer above the game, it is honestly as simple as that.
Sakar wrote:I've only used Flash a few times, but maybe you could put the HUD on a separate layer from the game.
I never would have thought about that...now i feel like i just got hit by a truck...lol...
Image

Image
User avatar
neronix17
Posts: 317
Joined: Sat Aug 01, 2009 5:01 am

Re: Flash

Post by neronix17 »

lol, the first thing they told us in college in animation, whn using flash, try having each and every separate piece on a different layer, keeps it tidy and stops it all moving at once when you dont want it to. :D
This isnt just a gimp mask...This is an S&M gimp mask...
User avatar
SpiritWebb
Posts: 3107
Joined: Sun Jul 12, 2009 11:25 pm

Re: Flash

Post by SpiritWebb »

Im just starting out learning flash now. Another question I have is how to set a background with an image, and be the exact size of the screen. I know how to import to stage, but I dont know how to make it a background, instead of the solid color background.
Image

Image
User avatar
neronix17
Posts: 317
Joined: Sat Aug 01, 2009 5:01 am

Re: Flash

Post by neronix17 »

just use a new layer, but make sure to have them in the order you want to see them, the bottom on the list will appear at the back, and the top will show at the very front, im not entirely sure if or how to make the background an image instead of a colour but a background layer has always worked fine for me
This isnt just a gimp mask...This is an S&M gimp mask...
User avatar
SpiritWebb
Posts: 3107
Joined: Sun Jul 12, 2009 11:25 pm

Re: Flash

Post by SpiritWebb »

Now is there a way to control the sprite using the mouse to move, like a point - click - move, instead of using the keyboard?
Image

Image
User avatar
neronix17
Posts: 317
Joined: Sat Aug 01, 2009 5:01 am

Re: Flash

Post by neronix17 »

i think so but i wouldnt know how to do that, sorry, I havnt done enough actionscript to be helpfull with that :?
This isnt just a gimp mask...This is an S&M gimp mask...
Post Reply

Return to “Coding”