Dragon Ball Forum
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Flash game

5 posters

Page 1 of 2 1, 2  Next

Go down

Flash game Empty Flash game

Post  Leon Wed Jul 28, 2010 5:52 am

I picked up flash yesterday and started messing around with coding. I'm using stick figures and blocks until I get the hang of coding well to test interactions and what not.

Anyhow, thought I'd post what I have so far:

>_> Don't bash me too hard. I've been learning programing for all of 8 hours now.

Note: He starts flashing and I haven't been able to figure out why. Tap a movement key to fix it.

Movement: Arrow Keys
Jump: Up
Hold Space: Masenko
Shift: Run (Only works in SSj)
Hold Enter: Transform into SSj
Hold Space while SSj: Super Masenko


Check out my SWF file
Leon
Leon

Posts : 223
Join date : 2010-06-29

Back to top Go down

Flash game Empty Re: Flash game

Post  LunchPolice Wed Jul 28, 2010 6:19 am

The gravity is really floaty. Other than that, it's pretty cool. Impressive for having learned in a day, that's
for sure! The interactions were neat too.

A few things:
-Even if you are in Super Saiyan already, pressing enter still triggers the transformation.
-The framerate seemed really slow. What is it set to?
-I think the 'run' could use some speed lines or something.

Also, are you good at drawing, or are you gonna get someone else to improve the graphics once the engine is ready?
I would love to help if you're interested. Of course, you could always get some sprites instead.
LunchPolice
LunchPolice

Posts : 94
Join date : 2010-07-04
Age : 27
Location : New Zealand

http://quackbillion.webs.com

Back to top Go down

Flash game Empty Re: Flash game

Post  Leon Wed Jul 28, 2010 6:28 am

Not wanting to use sprites...primarily because about my favorite DBZ sprites are hyper Dimension, but the characters in it are limited. I'm decent at drawing, but I'll see how things go once I make it that far.

Gravity is floaty. It's on my list of things to fix, just not priority.
Run is supposed to work in SSj and normal, but doesn't for some odd reason. Still hammering that out. Was going to give SSj speed lines but normal not.
Framerate is set pretty damned low...primarily because most of the animations are only about 3 long so it's fast as hell without it.

Thanks for the feedback! ^_^
Leon
Leon

Posts : 223
Join date : 2010-06-29

Back to top Go down

Flash game Empty Re: Flash game

Post  Syrias Wed Jul 28, 2010 2:46 pm

looks fine so far. couldnt find any bugs that you didnt already mention yourself Very Happy

are you open to suggestions for the game? what will it be about?

if you dont have a story ready, can i suggest "Earth invaded!" as a story? that way players could have their own character (character creator ftw!) who is a pupil of one of the big styles. all canon characters are busy beating up the big bads already. level 1 is earth - school yard (of your martial arts school) and it progresses from there...


anyway you probably already have an idea Very Happy

what flash program(s) are you using?
Syrias
Syrias

Posts : 125
Join date : 2010-06-23

Back to top Go down

Flash game Empty Re: Flash game

Post  Leon Thu Jul 29, 2010 2:45 am

Actually. I had an idea similar to that. It would be about the human characters during some plot. The Saiya-jins would be having epic battles and shit while the actual plot follows the humans, like the Transformers movies.

That said, my plan was to make a game based on Shaded Chronicles...^_^

Anyhow, another few hours later and much beating my head on a wall:

http://megaswf.com/serve/30300/


Changes:

A little smoother.
(partial) SSj2. Tap enter again after firing a Super Masenko.

SSj2 Features:

Tested animating movement and standing.
No jump or energy blasts yet.
Leon
Leon

Posts : 223
Join date : 2010-06-29

Back to top Go down

Flash game Empty Re: Flash game

Post  LunchPolice Thu Jul 29, 2010 3:36 am

Cool.

What happened to the run?
LunchPolice
LunchPolice

Posts : 94
Join date : 2010-07-04
Age : 27
Location : New Zealand

http://quackbillion.webs.com

Back to top Go down

Flash game Empty Re: Flash game

Post  Leon Thu Jul 29, 2010 4:36 am

Works in SSj2.

I managed to fix it so the three modes have different base speeds, but can't figure out how to get run to work with all of them
Leon
Leon

Posts : 223
Join date : 2010-06-29

Back to top Go down

Flash game Empty Re: Flash game

Post  Syrias Thu Jul 29, 2010 10:13 am

youd probably have to do run1 run2 run3. one for each form. then tie those exclusively to the form.

again... which flash program are you using?
Syrias
Syrias

Posts : 125
Join date : 2010-06-23

Back to top Go down

Flash game Empty Re: Flash game

Post  Leon Thu Jul 29, 2010 10:27 am

Oh. CS5.

And I have separate runs. I think if might be if else statements, but I dunno as they work for everything else.
Leon
Leon

Posts : 223
Join date : 2010-06-29

Back to top Go down

Flash game Empty Re: Flash game

Post  Syrias Thu Jul 29, 2010 10:55 am

hm... *tries to remember his java past*

so youre doing (sort of)

if form==form1

speed=basespeed1
run=run1

if form==form2

speed=basespeed2
run=run2

else

speed=basespeed3
run=run3

?? (left out any markers and such since i dont really remember the correct syntax right now Very Happy)


hm... maybe you need to specifically turn off the previous forms run? i dont really know how CS5 works... whatever that is. *goes of googling cs5*
Syrias
Syrias

Posts : 125
Join date : 2010-06-23

Back to top Go down

Flash game Empty Re: Flash game

Post  Leon Thu Jul 29, 2010 12:06 pm

Basically, this:
Code:

   if (Key.isDown(Key.SHIFT) and (base))
   {
      speed = (run);
   }
   else if (base)
   {
      speed = (walk);
   }
   else if (ssj)
   {
      speed = (ssjwalk)
   }
        else if (Key.isDown(Key.SHIFT) and (ssj))
        {
                speed = (ssjrun)
        }
   else if (ssj2)
   {
      speed = (ssj2walk)
   }
        else if (Key.isDown(Key.SHIFT) and (ssj2))
        {
                speed = (ssj2run)
        }

I might need to specify for each walk if (KeyUp(Key.SHIFT)
Leon
Leon

Posts : 223
Join date : 2010-06-29

Back to top Go down

Flash game Empty Re: Flash game

Post  Syrias Thu Jul 29, 2010 12:46 pm

hm.. how about you make "run" a single variable that gets put on top of ANY speed if the shift key is pressed? that might work better.
Syrias
Syrias

Posts : 125
Join date : 2010-06-23

Back to top Go down

Flash game Empty Re: Flash game

Post  Leon Thu Jul 29, 2010 1:09 pm

well. I was just going to make it x2, but I don't know how to call a math function yet. >_>
Leon
Leon

Posts : 223
Join date : 2010-06-29

Back to top Go down

Flash game Empty Re: Flash game

Post  Leon Thu Jul 29, 2010 5:55 pm

Two steps forwards, one step back:

+You can only blow up the wall as SSj.

+There's now a camera.

-You fall through the floor every now and again.

http://megaswf.com/serve/30525/
Leon
Leon

Posts : 223
Join date : 2010-06-29

Back to top Go down

Flash game Empty Re: Flash game

Post  Leon Fri Jul 30, 2010 12:11 am

http://megaswf.com/serve/30647/


Fixed clipping errors. Made blocks you can jump on at both sides.

Still trying to figure out why making a copy of a movie clip won't keep the same traits in relation to the character.
Leon
Leon

Posts : 223
Join date : 2010-06-29

Back to top Go down

Flash game Empty Re: Flash game

Post  Leon Fri Jul 30, 2010 2:25 am

http://megaswf.com/serve/30691/


Speed fixed. You can sprint in all forms.

Ki bar added. Ki drain from Blasts / SSj
Leon
Leon

Posts : 223
Join date : 2010-06-29

Back to top Go down

Flash game Empty Re: Flash game

Post  LunchPolice Fri Jul 30, 2010 2:30 am

SSJ2 doesn't work anymore?
LunchPolice
LunchPolice

Posts : 94
Join date : 2010-07-04
Age : 27
Location : New Zealand

http://quackbillion.webs.com

Back to top Go down

Flash game Empty Re: Flash game

Post  Leon Fri Jul 30, 2010 3:08 am

It does. I added a minimum Ki requirement. ^_^
Leon
Leon

Posts : 223
Join date : 2010-06-29

Back to top Go down

Flash game Empty Re: Flash game

Post  Hyp3rB14d3 Fri Jul 30, 2010 6:09 am

Leon wrote:Still trying to figure out why making a copy of a movie clip won't keep the same traits in relation to the character.
Would it be due to the copy of the movie clip having a different name than the movie clip?
Hyp3rB14d3
Hyp3rB14d3

Posts : 192
Join date : 2010-07-08
Age : 36
Location : Somewhere in Colorado

Back to top Go down

Flash game Empty Re: Flash game

Post  Syrias Fri Jul 30, 2010 7:17 am

ssj2 cant jump.
Syrias
Syrias

Posts : 125
Join date : 2010-06-23

Back to top Go down

Flash game Empty Re: Flash game

Post  Leon Fri Jul 30, 2010 12:04 pm

Or shoot an energy blast. ^_^ Haven't made animations for it yet.
Leon
Leon

Posts : 223
Join date : 2010-06-29

Back to top Go down

Flash game Empty Re: Flash game

Post  Buster Fri Jul 30, 2010 1:55 pm

Does not work on my mac... sounds pretty cool though.
Buster
Buster

Posts : 54
Join date : 2010-07-16
Location : US of A

Back to top Go down

Flash game Empty Re: Flash game

Post  Leon Tue Aug 03, 2010 6:36 am

Odd. Dunno why that would be... >_> Macs suck? xD

http://megaswf.com/serve/32067/

Version a.07

Changes:

Black Background
Can fly if you hold down the down key.
A platform you can't stand on
Wall blows up if you Blast it in normal, or just fly through it in SSj.
Testing enemy. Drawn in a style I'm debating using for the game. Touching him will make him blast. Can't figure out how to make it based on hero distance but working on it.
Leon
Leon

Posts : 223
Join date : 2010-06-29

Back to top Go down

Flash game Empty Re: Flash game

Post  Leon Tue Aug 03, 2010 9:00 am

Version a1.0

Big changes:

Health works.
Ki regen increased.
Enemy AI fixed.
If you run out of health....you die.

http://megaswf.com/serve/32102/
Leon
Leon

Posts : 223
Join date : 2010-06-29

Back to top Go down

Flash game Empty Re: Flash game

Post  LunchPolice Tue Aug 03, 2010 5:20 pm

Sweet! However, it's kind of bad if you die by an edge because you will land on your back... in mid-air.
LunchPolice
LunchPolice

Posts : 94
Join date : 2010-07-04
Age : 27
Location : New Zealand

http://quackbillion.webs.com

Back to top Go down

Flash game Empty Re: Flash game

Post  Sponsored content


Sponsored content


Back to top Go down

Page 1 of 2 1, 2  Next

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum