A Flash Developer Resource Site

Results 1 to 9 of 9

Thread: tutorials needed

  1. #1
    I'm dope. Psytrix's Avatar
    Join Date
    Aug 2002
    Location
    Slidell, LA
    Posts
    309

    tutorials needed

    hi, i am trying to make an above-view tank game. the only thing that i have made so far is a tank that moves by keypress. now i need to know how to make walls that the tank its bullets(once i make them) cant go through. does anyone have a tutorial i could print out so i can learn it whenever i have free time at school? i know how to do neither, but should i use hitTest or like a tile-based game? how does a tile-based game work? can i get a good tutorial for that to print out? the one edmacks site is broken up and is hard to print out even tho im still looking into it...thank you.

  2. #2
    Lunatic Baukereg's Avatar
    Join Date
    Nov 2000
    Location
    Lowlands
    Posts
    853
    Take a look at the turtorial section of Flash Kit. There's a turtorial about a spaceshooter, which also handles shooting and hitTest.

    People, first search yourself before posting threads like this!

  3. #3
    I'm dope. Psytrix's Avatar
    Join Date
    Aug 2002
    Location
    Slidell, LA
    Posts
    309
    i hate you.

    well anyway i printed up tile based games tutorials at Ed Mack's site(Mario Part 1-8). Right now im at number three but im not understanding exactly how this code works(what it does):

    this.attachMovie("empty","cont",1);
    for(y=0;y<map.length;y++){
    for(x=0;x<map[0].length;x++){
    var t="tile"+x+"_"+y;
    cont.attachMovie("tile",t,d++);
    cont[t]._x=x*tile_width;
    cont[t]._y=y*til_height;
    cont[t].gotoAndStop(map[y][x]);
    }
    }

    so?

  4. #4
    Time Killer sspskater's Avatar
    Join Date
    Jun 2002
    Location
    Closer to u then u think
    Posts
    493
    Hey Psytrix,
    The best answer I could give is well ill explain it and then ill tell you some parts of a tut that would work. I would make a fla for you but I have no time today. But if you can wait a couple days ill make a fla for you. Any way....

    Explaination:
    You will want a bullet instance that has a linkage to be exported into actionscript.
    Then when the player pushes the button the bullet instance is created at the x and y pos of the character and assends the direction of the x or y you want it to go.

    Tuts:
    Like Baukereg said the space shooter would have some parts that would help you in it. I read Ed Tuts before too before when I started and they were hard to understand so I would go by some simple tuts in flashkit.

    Regards.
    A young mind is more knowledgable then a mind corrupted and blinded by society.

    Portfolio: My Portfolio
    FFGuardians:PHP MMORPG(Closed Beta)
    PyroWare Studios:PyroWare Studios-Flash&Web Development

  5. #5
    I'm dope. Psytrix's Avatar
    Join Date
    Aug 2002
    Location
    Slidell, LA
    Posts
    309
    i need a link to that tutorial, i was looking for it...

    http://www.flashkit.com/tutorials/Ga...-610/index.php

    is that it? well i need the URL to the "part 1" of that tutorial, but i cant find it

    i wonder wut country Baukereg is from.


  6. #6
    Lunatic Baukereg's Avatar
    Join Date
    Nov 2000
    Location
    Lowlands
    Posts
    853
    Yep, that's the turtorial. It explains everything about duplicating bullets and let them move. That turtorial learned very much to me, when I started creating games in Flash.

    The turtorials of Ed are tile-based. So you really have to make a choose for tile-based are art-based. Tile-based is good when you want to use huge worlds, but it needs a lot more actionscript.

    The choose is yours!

  7. #7
    I'm dope. Psytrix's Avatar
    Join Date
    Aug 2002
    Location
    Slidell, LA
    Posts
    309
    tile based is the obvious choice but edmacks tutorial is hard to understand at times, do you know of a better one?

    i need the "PART 1" part of that tutorial that i provided the link for earlier, but i cant find it!!!!


  8. #8
    Senior Member
    Join Date
    Feb 2003
    Location
    right behind you
    Posts
    174
    is this it? tutorial

  9. #9
    I'm dope. Psytrix's Avatar
    Join Date
    Aug 2002
    Location
    Slidell, LA
    Posts
    309
    YES! thanks, that will help me a lot.

    grow and prosper

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center