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!! :)
Printable View
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!! :)
great work guys!
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!
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 :)
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.
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?
Until one shows up and be our Anaximandre !Quote:
Originally posted by BodBod
(...)should we just accept our gameworlds are going to be as flat as a pancake?
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.
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 .....
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 :(
Where the hell are the brake lights?! Just kidding. Very nice! Definately worth keeping around on the board.
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
Sorry dude that link didn't work.
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
How do I exit the game from fullscreen?
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
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
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)
great, cant wait... just wanna say its an honour to see you around here, i love your stuff!Quote:
Originally posted by AndreMichelle
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)
yes thats right, he make me did a sex wee
:cool:
[m]
i´ve been away for a while as i moved,congrats to all participants for the great work,nice to see such stuff coming up on fk :)
hey there andre,glad to see you on fk :)
i´m looking forward to your game since you send me the first screenshot ;)
Ah, the God of Flash has been made nervous!Quote:
Originally posted by AndreMichelle
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.
This cant be good sign :) :) :)
hey AndreMichelle,
you've got some great work on your site, I look forward to seeing your game :)
Thanks, as you :o)Quote:
hey AndreMichelle,
you've got some great work on your site, I look forward to seeing your game :)
Believe me, it was hard to see your engine here, when we are closed to finished our game. We all knew, that this is great stuff for all.
I watched your site too, and I see, that you are very familiar with these 3d workaounrds. Very fine work.
I hope next week, we can publish our game.
Stay tuned :o)
thanks, havent done much to my site for a while :)
just registered on flashforum.de so i could download your fla, tis nice work :)
AndreMichelle, wondered if you gave any thought to bumps on your engine? I'm convinced there must be a way to do it but that eureka moment is escaping me.
you mean bumpmapping ?
I didn't thought of it much more, cause I tried to add several layer to the movieclip, which were attach and translate. The performance was horrible, so I didn't make more research.
Even one more grafic decreases performance.
You can simluate a light bumping by grafics. Not really convincing, but anyhow :o)
But did you break apart the grafic and cut a rectangle out of it ?
The car could fall into a hole :o)
We didn't implement this, it was to late. Next time - next game :p
*play eerriieee music*
the secret is in the massskkkss..... loooook to the masksssss
wooooooooooo
i... i sorry
arg, the masks!
Are you talking about drawing the masks dynamically on each frame ?
PercyPea, thanks I read your comments before and looked at your example - but altering the masks is a 2D distortion effect not a pseudo 3D displacement map - i.e. it has no interaction with the 3D space at all. Your example is great for a visual effect but I'm after more realism for the project I have in mind.
As I mentioned before a dynamic mask system would need to adjust according to a height map lookup table.
K... here a less crude example
the hills are infinite, but as you turn they kind of work :)
it would be possible using this method to make a landscape
I had to use your engine Andre, hope you dont mind, but i didnt have mine here at work.
slow as hell, but impressive :p
How do you compute the form of the masks ?
PercyPea,cool one :)
andre: sag bescheid,falls ihr noch jemand braucht,der bei eurem game mitmacht (wink,wink ;) )
LOL! This thread will soon become the biggest of them all!
the mask is drawn like thisQuote:
How do you compute the form of the masks ?
*------*-------*-------*-------*
with 5 points along the top for the 'lineTo's and then again for 2 pixels below to close the mask.
in the version i just put up, the points y position simply follow a sine wave as you turn.
Im sure theres a way though to make the points match a predefined landscape and move and adjust with it.
but ya, theres gonna be a big performance hit :)
If i had time i might explore it more, but unfortunatly I dont :(
PercyPea that game is absolutely amazing!!!!!
How can you make a game like that in Flash.
brilliant!!!
:D :D :D
I've already seen strille's, PercyPeas, and Blink's work linked in 3 other forums. And we're having guest appearances by Andre Michelle...I love the games forum!!!
i wanna be able to do this stuff:(
you will be able to
when i was ur age i could do nowt!
just keep practicing and u'll get better
good mexicanmonkee!
HILLSSS.. I can smell them, I know they are coming soon.