dcsimg
A Flash Developer Resource Site

Page 7 of 21 FirstFirst ... 3456789101117 ... LastLast
Results 121 to 140 of 407

Thread: MarioKart style flash engine

  1. #121
    Banned By GMF Wannabe Gambini's Avatar
    Join Date
    Oct 2000
    Posts
    976
    Just had to post and say HOW FREAKING AWESOME!!! This is amazing!

    Strille, I just love your version and the "jump" in the middle of the map - had my heart in my mouth!!

  2. #122
    ********* mentuat's Avatar
    Join Date
    Mar 2002
    Location
    out of office
    Posts
    718
    great work guys!

  3. #123
    Senior Member
    Join Date
    Apr 2001
    Posts
    306
    Last edited by azz_kicker; 07-01-2003 at 02:14 PM.

  4. #124
    Member
    Join Date
    Jan 2001
    Location
    I see sea
    Posts
    94

    I want height!

    Excellent thread, great ideas, great code, great explanations.

    I've experimented with some bump mapping (and reverted to Flash5 in the process because I'm antiquated like that):

    BodBod's slow-as bump map ...

    Shame it's too slow to do anything gamey with!

  5. #125
    Untitled-1.fla strille's Avatar
    Join Date
    Mar 2001
    Location
    Sweden
    Posts
    1,626
    BodBod, that's pretty cool. Yes, It's a bit too slow to be usefull in a game... you will have to wait a couple of years

  6. #126
    Member
    Join Date
    May 2003
    Posts
    69
    wow, the bump mapping looks great. I don't know how the code works for bump mapping or anything. So what I am about to suggest may make absolutely no sense or it is impossible. Is there a simple version (quicker) of bump mapping to use for the kart game because it will be great to have some hills or even just bumps on the track for the jumps, and yet the kart game will still run fast enough to be playable.

  7. #127
    Member
    Join Date
    Jan 2001
    Location
    I see sea
    Posts
    94
    My understanding is that to do a bump map properly you need to scan all rendered points and adjust their Y displacement from a reference bump map (plus apply perspective scaling). Storing and handling the bump map in flash is hard enough (but doable) but looking up and applying thousands of height refs per frame is beyond the scope of Flash surely?

    The method I adopted (after much thought, but seemed so obvious afterwards) was to have multiple planes rendered on top of each other using alpha maps to represent depressions. Unfortunately even this simple method with just 3 planes proved too slow.

    Shame Flash doesn't really "duplicateMovieClips" otherwise it would work a lot faster because it wouldn't need to replicate half the maths for each plane, just byte substitution of the bitmap. So my bet would be that do this quickly in flash a decent method of duplicating the complete state of a movieclip (including all internal attachments) would need to be found?

    Any other ideas, or should we just accept our gameworlds are going to be as flat as a pancake?

  8. #128
    2KHeroes / Sylvaniah designer luxregina's Avatar
    Join Date
    Jul 2001
    Location
    Somewhere between Kirlundin and Anskaven
    Posts
    1,273
    Originally posted by BodBod
    (...)should we just accept our gameworlds are going to be as flat as a pancake?
    Until one shows up and be our Anaximandre !

  9. #129
    Senior Member
    Join Date
    Aug 2001
    Posts
    101
    the trick to 3d landscapes in this engine is all in the masking

    if you look at the http://www.pargames.co.uk/mariokart5.html link i posted before, its all done by having the mask animate from a flat line to an arc.

    I had a muck around using flash's drawing api, to dynamically draw each mask each frame, but anything more than 8 vertices (if you will) per mask and u start to get alot of slow down.

    You cant get much of a landscape with 8 vertices.

  10. #130
    Member
    Join Date
    May 2003
    Posts
    69
    Thanks for that explanation bobbob, but I think it is just too hard for me to understand it right now. And I'll take you word for it that it will be too slow to run in flash. The masking wave landscape techique looks great percypea, and it seems to run pretty fast too. But the wave seems always to go away from you. Is it going to be hard to have the mask always be on the same reference point on the map, instead of having the referecing point to you, if you know what I mean. So when you turn, the mask, therefore the hills, will not turn with you in the game. mmmmm.... let me think about it .....

  11. #131
    Senior Member
    Join Date
    Aug 2001
    Posts
    101
    ya, at the moment the masks are just an animated shape tween going from up to down.

    To dynamically draw them depending on where you are in the map will take quite a bit of clever coding and probably at too much of a cost to the CPU

  12. #132
    Senior Member bismark65's Avatar
    Join Date
    Jul 2002
    Location
    not really sure......
    Posts
    331
    Where the hell are the brake lights?! Just kidding. Very nice! Definately worth keeping around on the board.
    Kerry

    A pessimist complains about the wind;
    an optimist expects the wind to change;
    a leader adjusts his sails.

    (anonymous)
    info@bizmoxsystems.com
    http://www.bizmox-systems.com

  13. #133
    Junior Member
    Join Date
    Mar 2001
    Posts
    5
    Respect, very nice! And does you know, that it worx fullscreen (online) too? See http://www.powerflasher.de/plugin/com - the same performace but it looks fullscreen much more spectacular

    BYE Calle
    http://www.powerflasher.com

  14. #134
    Senior Member MiSSenLinX's Avatar
    Join Date
    Jan 2003
    Location
    Perth, Australia
    Posts
    260

    Error

    Sorry dude that link didn't work.

  15. #135
    Junior Member
    Join Date
    Mar 2001
    Posts
    5
    works fine here?!

    but here is the link to a mario fullscreenversion:
    http://www.powerflasher.de/plugin/com/mario/

    for more information see here (its a free plugin)
    http://www.powerflasher.de/plugin/com/popupe.htm


    BYe Calle
    http://www.powerflasher.de

  16. #136
    Member
    Join Date
    May 2003
    Posts
    69
    How do I exit the game from fullscreen?

  17. #137
    Junior Member
    Join Date
    Mar 2001
    Posts
    5
    Sorry: ALT-F4
    You can build in a Exitbutton just with a fscommand("exit"); but I did not edit the fla (its just the orginal SWF)

    ciao Carlo
    byE Calle

    ________________
    Powerflasher
    Carlo Blatz
    cb@powerflasher.de
    www.powerflasher.de

  18. #138
    Junior Member
    Join Date
    Jul 2003
    Posts
    1

    ...

    hi guys,
    just wanna say: great work!
    on flashforum.de we started to play with the code, too.

    http://www.flashforum.de/forum/showt...960#post624960

    if we create something really big we will let you know

    so, keep flashin'
    ciao
    webster

    -> [ CREATIVE.PASSION ] : Flash, Music, Links, Books & more
    -> [ COOL-HOMEPAGES ] : Links to the best sites of the web - b inspired [coming in July03]
    -> [ JUMPMAN ] : my first Jump&Run-Game
    -> [ SUMMERDAY ] : my first "Flash meets 3D"-Experiment

  19. #139
    #
    Join Date
    Apr 2002
    Location
    berlin - germany
    Posts
    107
    You guys make me nervous :o)

    We developed this kind of 3dengine 6 weeks ago and we would have seen you with tears in your eyes, when lanching the final game, hehe.

    Great job, PercyPea :o)

    Anyway, the Release is coming up in a few days and I will post it here for sure. We finally have implemented a OOP structure with Camera, AI, UserControl and a 3dSoundSystem.

    You can choose from 4 characters and 3 courses, collect items, which give you extra behaviors. Can't wait to post it here.


    aM
    --
    http://www.andre-michelle.com
    http://tag-der-arbeit.extrajetzt.de (last project)

  20. #140
    Senior Member mbenney's Avatar
    Join Date
    Mar 2001
    Posts
    2,744
    Originally posted by AndreMichelle
    You guys make me nervous )

    We developed this kind of 3dengine 6 weeks ago and we would have seen you with tears in your eyes, when lanching the final game, hehe.

    Great job, PercyPea )

    Anyway, the Release is coming up in a few days and I will post it here for sure. We finally have implemented a OOP structure with Camera, AI, UserControl and a 3dSoundSystem.

    You can choose from 4 characters and 3 courses, collect items, which give you extra behaviors. Can't wait to post it here.


    aM
    --
    http://www.andre-michelle.com
    http://tag-der-arbeit.extrajetzt.de (last project)
    great, cant wait... just wanna say its an honour to see you around here, i love your stuff!


    yes thats right, he make me did a sex wee



    [m]

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