rec2swf
Moderator: Moporators
rec2swf
hi.
Dunno why i decided to show you this project, it's very far from completion. Maybe i'm tired to keep it in myself for almost 2 years.
The very first version was done in october, 2004. Actually there was only a level sliding on traectory from rec.
The next version was completed in december, 2004. There was a level (w/o objects), bike (without susps), wheels, head, body and timer. Also that time i didn't have a nice working algorithm for proper polygon filling so level looked like in internal editor =).
The big problem was swf generation itself. It was very easy to create algorithm (there is official swf file reference so i've got file structure and concept rather fast), but it was too hard to implement it in program, so every change in generating block was very painful and i prefered to think twice before doing smth.
That's why after that version i spent 1.5 years trying to deduce fine algorithm of arms/legs movement.
And finally couple days ago i found some good libraries and rewrote generating block from almost assembler =) to normal high-level language. Also i added polygon filling, objects, removed timer and replaced all graphics with simple vector forms.
So. Here are the samples of rec2swfed recs:
http://id.hoyler.net/pit01lut.swf
http://id.hoyler.net/elp10em.swf
From you i want to hear if i should continue work on the project, and what features i should and shouldn't implement.
Note, these swf are not optimized at all, and Flash graphics depends only on processor, not on video-card. So it could work very slow on some processors. For example on my P4 2.2 both movies in fullscreen work twice slower. Dunno, maybe that's because last winter i occasionally splashed tea on motherboard.
Dunno why i decided to show you this project, it's very far from completion. Maybe i'm tired to keep it in myself for almost 2 years.
The very first version was done in october, 2004. Actually there was only a level sliding on traectory from rec.
The next version was completed in december, 2004. There was a level (w/o objects), bike (without susps), wheels, head, body and timer. Also that time i didn't have a nice working algorithm for proper polygon filling so level looked like in internal editor =).
The big problem was swf generation itself. It was very easy to create algorithm (there is official swf file reference so i've got file structure and concept rather fast), but it was too hard to implement it in program, so every change in generating block was very painful and i prefered to think twice before doing smth.
That's why after that version i spent 1.5 years trying to deduce fine algorithm of arms/legs movement.
And finally couple days ago i found some good libraries and rewrote generating block from almost assembler =) to normal high-level language. Also i added polygon filling, objects, removed timer and replaced all graphics with simple vector forms.
So. Here are the samples of rec2swfed recs:
http://id.hoyler.net/pit01lut.swf
http://id.hoyler.net/elp10em.swf
From you i want to hear if i should continue work on the project, and what features i should and shouldn't implement.
Note, these swf are not optimized at all, and Flash graphics depends only on processor, not on video-card. So it could work very slow on some processors. For example on my P4 2.2 both movies in fullscreen work twice slower. Dunno, maybe that's because last winter i occasionally splashed tea on motherboard.
- The_BoneLESS
- 38mins club
- Posts: 4604
- Joined: 7 Sep 2003, 00:30
- Team: HHIT
- Location: Dangerously close to the St-Lawrence River
- Contact:
I don't know how the hell you did that but, damn it looks sweet!
I don't think it would be a good idea to make the graphics more complex ( adding body, arms, grass, etc... ), the actual graphics looks nice. Would be nice if you'd stabilize the speed of the animation (on my computer, it seemed like a 3/5 of normal speed, some kinda sweet slow-motion ).
As it's a flash animation, i don't really know what you could add to make it better. I thought Flash was limited! You obviously proved me wrong!
PS : I'm sure you don't want to show me your code, or how you did that whole "using a replay file infos to make a flash animation" thing but, i would love you to explain me how the hell you did that!
Very nice project, you should definitly continue working on that...
I don't think it would be a good idea to make the graphics more complex ( adding body, arms, grass, etc... ), the actual graphics looks nice. Would be nice if you'd stabilize the speed of the animation (on my computer, it seemed like a 3/5 of normal speed, some kinda sweet slow-motion ).
As it's a flash animation, i don't really know what you could add to make it better. I thought Flash was limited! You obviously proved me wrong!
PS : I'm sure you don't want to show me your code, or how you did that whole "using a replay file infos to make a flash animation" thing but, i would love you to explain me how the hell you did that!
Very nice project, you should definitly continue working on that...
Website || TT:38:05:33 || WC5:15th || HHIT for life || 9th world wide ... BAP is next
ye, i like how it looks now butdon't think it would be a good idea to make the graphics more complex ( adding body, arms, grass, etc... ), the actual graphics looks nice.
1. There should be smth to indicate rotations in swf. Arms are most natural for this.
2. In the beginning (when there was no constfps =)) i planned to release the program as movie-creator. You now, import the swf into Macromedia Flash editor, change whatever you want and then export avi. And for this there should be the whole bunch of elma graphics.
If you play the movie in Adobe (or Macromedia) Flash Player (don't now about other players), fps depend only on your processor perfomance, and cannot exceed the maxfps value (30 in rec2swf). Of course i will try to do smth (maybe splitting big polygons, cutting non-visible objects and so on) but sure the problem would remain on slow computers.Would be nice if you'd stabilize the speed of the animation (on my computer, it seemed like a 3/5 of normal speed, some kinda sweet slow-motion ).
Also i can decrease the maxfps to 15, but it would look ugly then (wheels will rotate strangely, objects will be collected not when they should be, and other bugs tied with low fps).
2 years ago i thought Flash is unlimited. Now i think i was wrong =)).I thought Flash was limited! You obviously proved me wrong!
sorryI'm sure you don't want to show me your code, or how you did that whole "using a replay file infos to make a flash animation" thing
we have replay, we have some knowledge and some guesses about elma, so we just place some objects on proper (or maybe wrong, i've just found head is in wrong position) positions (kinda screenshot) and then flash player makes it move.but, i would love you to explain me how the hell you did that!
sure =)It should be easier to tell the difference between apples and flowers.
These swf are post-edited in Macromedia Flash to add the text and compress them. Actually, both movies are twice bigger (libraries i use don't support the compression). But it's very easy to write it.so little size!
maybe some opaque light colors to distinguish apples and killers, i'll work on it.no colors needed
-
- Kuski
- Posts: 336
- Joined: 10 Jan 2004, 23:31
- Location: Lisbon, Portugal
I've made that objects clipping but can't notice any difference in animation speed =).
But movie now weights 40kb instead of 120 and i think it's good. On the other hand there's nothing to improve in size anymore, so all swfs will be approx. 1,5 times bigger than source rec. Not so bad if remember that swf also includes lev and "maxsimpel" lgr.
Next i plan to implement polygons splitting. In the moment object "level" is the most complex and most big in the whole swf so the most part of frame drawing time is level drawing time. I'll try to divide it in smaller parts. But two problems raises:
1. It's not so easy to do as objects were o_O.
2. swf size depends most on number of objects in a frame, so if i split one big polygon into four small, swf size becomes approx. twice bigger. That's bad but i hope this will help to stabilize animation speed. =)
http://id.hoyler.net/pit01lut_new.swf
But movie now weights 40kb instead of 120 and i think it's good. On the other hand there's nothing to improve in size anymore, so all swfs will be approx. 1,5 times bigger than source rec. Not so bad if remember that swf also includes lev and "maxsimpel" lgr.
Next i plan to implement polygons splitting. In the moment object "level" is the most complex and most big in the whole swf so the most part of frame drawing time is level drawing time. I'll try to divide it in smaller parts. But two problems raises:
1. It's not so easy to do as objects were o_O.
2. swf size depends most on number of objects in a frame, so if i split one big polygon into four small, swf size becomes approx. twice bigger. That's bad but i hope this will help to stabilize animation speed. =)
http://id.hoyler.net/pit01lut_new.swf
Is there a way to convert that to a video file?
but i don't know what are you planning to convert, because there's no public version yet. =)import the swf into Macromedia Flash editor, change whatever you want and then export avi
omg this is nice... i love those graphics looks a bit weird objects aren't there the whole time (objects clipping or what u call it).
else awesome work... and u deffinetly should continue working with this.. don't know what u could improve but ez work more with teh
else awesome work... and u deffinetly should continue working with this.. don't know what u could improve but ez work more with teh
Thorze wrote:I just wanted to make a cool topic like Juish have cool topics..
One more movie, just to show killers =)
http://id.hoyler.net/39stini.swf
http://id.hoyler.net/39stini.swf
Code: Select all
>Converting elp10em.rec & elvenp10.lev into elp10em.swf
>Files have been converted in 0.774929046631 seconds. Press any key to finish
Code: Select all
>Converting pit01lut.rec & pit01.lev into pit01lut.swf
>Files have been converted in 2.46329307556 seconds. Press any key to finish
Code: Select all
>Converting 39stini.rec & qwquu039.lev into 39stini.swf
>Files have been converted in 4.89240980148 seconds. Press any key to finish
Here's a huge level with 52 objects and 5 mins replay on it:
Code: Select all
>Converting rchlp01D.rec & ruschain.lev into 2.swf
>Files have been converted in 70.9307920933 seconds. Press any key to finish
impressive work domovoi
very nice, really! cant wait for the final release of that converter and try it out with the sick recs of my levs hehe
very nice, really! cant wait for the final release of that converter and try it out with the sick recs of my levs hehe
Download Movies: Elma - External Ways. Part 1 --- Mini-Movie LL36 --- Mini-Movie #01 --- Mini-Movie #02
Max najs!Domovoy wrote:Fixed head position, added volts indication.
http://www.elmaclub.com/download/?code= ... d4ca7c88f9
It would be cool if you could add a timer too
<Fihlvein> another case of zworqy-is-always-right closed i guess
<yoosef> zworqy doesnt suck at anything
<yoosef> zworqy doesnt suck at anything
Excellent work Domovoy, looks like you have put a lot of effort in it.
I think, that to get rid of those arrows next to the head that can get a bit annoying, you could get rid of them, but place the images of some of the keyboard buttons (arrows, space, and alovolt), which would be "pressed" when the appropriate action is taking place in the replay.. Or, you could make those arrows next to the head optional.
Looks like it's going to be a great tool when learning/copying various styles!
I think, that to get rid of those arrows next to the head that can get a bit annoying, you could get rid of them, but place the images of some of the keyboard buttons (arrows, space, and alovolt), which would be "pressed" when the appropriate action is taking place in the replay.. Or, you could make those arrows next to the head optional.
Looks like it's going to be a great tool when learning/copying various styles!
timer is very easy to make but for "engine" testing i think swf size is more critical than timer. sure i will add it in public version.It would be cool if you could add a timer too
and yes, timer would be nice too...
it's rather easy to make such controls in ActionScript (Flash built-in scripting language) but i don't know how to work with it in my libraries. i'll try to. =)replay control buttons (like on a media player: play, pause, forward, backward) would be great but not too easy to program i assume :p
yes, i thought about it (and it's much easier to do btw), but the problem is that your look will continually jump from bike to keys, from keys to bike... Such stress =). Anyway i'll try to do it.place the images of some of the keyboard buttons (arrows, space, and alovolt), which would be "pressed" when the appropriate action is taking place in the replay..
sure in public version will be the ability to customize the movie compiling.Or, you could make those arrows next to the head optional.
nice :ODomovoy wrote:it's rather easy to make such controls in ActionScript (Flash built-in scripting language) but i don't know how to work with it in my libraries. i'll try to. =)replay control buttons (like on a media player: play, pause, forward, backward) would be great but not too easy to program i assume :p
Really nice shit, Domy. I could easily agree with A.K.B., that "This adds yet another dimension to elma!"
Nice simple graphics, i guess the lev very quickly. And i feel the lack of teh timer.
Watching this swf - may be good guidebook for young hoylaz, coz they can teach every rotate and brake pressing.
So, good luck to your great project!
Nice simple graphics, i guess the lev very quickly. And i feel the lack of teh timer.
Watching this swf - may be good guidebook for young hoylaz, coz they can teach every rotate and brake pressing.
So, good luck to your great project!
Mary-Jane Racers
Hi! I'm a signature virus. Copy me into your signature to help me spread.
TT 47:5x:xx / OLP TT 29:0x:xx
Hi! I'm a signature virus. Copy me into your signature to help me spread.
TT 47:5x:xx / OLP TT 29:0x:xx
Yes, great project. I was it a year ago or something first time (brag) but haven't heard much since. Once it's ready would be mega nice to implement it to new Moposite replays section (whenever it will be ready). Creating flash replays when you don't have Elma nearby.
40:02,71 (151.) | WCup4: 8. | 3x WR | 3x GAA | 11x FEM | KOM | The History of Elasto Mania (1995-2018)
oh shit, i must hurry =))I wanted to do something like that but abu told me you're already doing it
thanks, but definitely at first i want to try to do it myself.if you need some help with recognizing position/angles of those PCX from the rec file..
If we use graphics from elma, swf will be at least twice bigger (depends on number of graphic objects in one frame). Add to this the size of graphics itself and we'll receive a quite big file. But rec2swf is most useful for online replay viewing so the output file should be as small as possible. That's why i decided not to implement graphic version yet.
Anyway i'm planning to make it. :]
But only after online.
Domovoy, either:
- You like Elma far too much, or
- You have a lot of spare time
because, quite simply, to put that much effort and dedication (2 years??!?) into something that isn't going to make you money, is pretty crazy.
You have talents. You have the right attitude. Go out and become a millionaire ffs.
- You like Elma far too much, or
- You have a lot of spare time
because, quite simply, to put that much effort and dedication (2 years??!?) into something that isn't going to make you money, is pretty crazy.
You have talents. You have the right attitude. Go out and become a millionaire ffs.
[OMG] | [SpEF] | Apparently my TT was once 39:26:06
Re: rec2swf
i wanna see! plz reup this too