Welcome to Emulationworld

Forum Index | FAQ | New User | Login | Search

Make a New PostPrevious ThreadView All ThreadsNext ThreadShow in Flat Mode*


SubjectRe: Question about learning to make your first game Reply to this message
Posted bySilentAce
Posted on11/22/08 06:04 PM



I took a course on programming logic in college about 4 years ago. I also learned BASIC around the same time. I did some minor work in VB4 a long time ago, i understand a lot when reading php but as for major programming i have no experience.

About to go down to the sand box for like 4 months here soon with noting to do... so will have tons of time to work on this.

> > How did you guys get into it? I have messed around with flash but no real
> action
> > scripts. Any recommendation on a good place to start or a place to go to see
> > some good examples?
>
> flashkit.com has some good sources to get started, as far as i heard. but i had
> the bg to understand the basics, before getting into it.
> do you code already?
> if so, it`s not a big deal.
> if not, i would recommend into getting into the basics of coding (logic)
> beforehand.
>
> >
> >
> >
> > > If you have any questions just ask. I've been making Flash games for a while
> > > now, although I had zero time to dedicate to it recently.
> > >
> > >
> > > First a bit of constructive criticism:
> > >
> > > - Framerate is horrible. First thing you should do is change the default
> 12fps
> > > to something else.
> > > 30 or 40 is good, I sometimes set 60 if it can handle it.
> > >
> > > - Collision detection on the squares needs to be better.
> > > I know this is hard, I've done a game like this myself a while back.
> > > You can for example check what side of the box is hit and then bounce the
> ball
> > > in that direction.
> > >
> > > - Make it bigger, screen is too small!
> > > I usually make games at 640x480 (SVGA) for old time's sake.
> > >
> > >
> > >
> > > Then some tips to improve:
> > >
> > > - Which version of Actionscript are you using?
> > > Don't even bother with AS1. AS2.0 is much better (can do classes), but I
> > > recommend using AS3 to be future proof (but is a bit harder, more like
> > > Java/C++).
> > >
> > > - Put all the tiles into a single movieclip, then collision detect against
> it
> > > before doing any check for a specific tile.
> > > This improves performance significantly.
> > >
> > > - Even better (but more work), you could do the tiles a single MovieClip
> with
> > > BitmapData.
> > > Then you remove the overhead of having multiple MC instances (this is less
> of
> > an
> > > issue with AS3 and Flash9+, but should still be faster).
> > >
> > > - I personally always use OOP when doing Flash games, but that's a matter of
> > > preference. So I have a "Ball" class, a "Paddle class", etc.
> > > In my game, the Paddle was a child of Wall because the collision detection
> was
> > > the same, but Paddle was extended to be controlled by the mouse.
> > >
> > >
> > > Well that's all I can think of for now... hope it helps.
> > >
> > >
> > >
> > >
> > >
> > > [download a life]
> > >
> >
>


-
Entire Thread
Subject  Posted byPosted On
*i made a "game" in flash  Ti-BOne11/21/08 11:51 AM
.*update.  Ti-BOne11/27/08 11:52 AM
..*Re: update.  VmprHntrD11/27/08 08:50 PM
.*thanks for trying it out. -nt-  Ti-BOne11/22/08 06:01 PM
.*Re: i made a "game" in flash  VmprHntrD11/22/08 04:29 PM
..*Re: i made a "game" in flash  Ti-BOne11/22/08 06:01 PM
.*nice! -nT-  itchyNADZ11/22/08 00:01 AM
.*Re: i made a "game" in flash  n2locarz11/21/08 07:14 PM
.*welcome to the club  newsdee11/21/08 05:53 PM
..*Re: welcome to the club  Ti-BOne11/22/08 05:54 PM
..*Question about learning to make your first game  SilentAce11/22/08 04:49 AM
...*Re: Question about learning to make your first game  Ti-BOne11/22/08 05:55 PM
.....Re: Question about learning to make your first game  SilentAce11/22/08 06:04 PM
.....*OOP + some books help  newsdee11/22/08 07:01 PM
.*Re: i made a "game" in flash  SilentAce11/21/08 04:44 PM
..*Re: i made a "game" in flash  Bryzian11/22/08 09:19 AM
...*replied in wrong spot :( -nt- stuipd tired  Bryzian11/22/08 09:20 AM