Dark Bit Factory & Gravity
GENERAL => Challenges & Competitions => Topic started by: bbear on April 21, 2007
-
my first try with FreeBasic. Thanks to Shockwave for his base code and rbraz for tinyptc_ext...
not optimized at all, 640x480 and 320x240 versions
original code by Gaston, original music by Blaizer, converted module by Estrayk, great logo by Strider
flashtro : http://www.flashtro.com/page.php?id=39
introinferno: http://www.intro-inferno.com/production.php?id=912
download remake here (http://cyberpingui.free.fr/HorizonGaston.zip)
update: original lores version added
update2: 2 versions added, fullscreen only but scrollspeed ok. old versions are called _fw (fullscreen or windowed) with speed problem
final update: added C version fullscreen/windowed
big update of the zip (bugs fixed for all versions+sources)
-
Nice one dude, the sinus scroller is a bit faster for me, anyway nice conversion :clap:
-
Really rules! The sine scroll is sining too fast to read here though :)
Great remake tho!
-
this is a great remake :) scroller isnt too fast here < probably because my machine don't like some fb things ? :clap:
-
I think it's possible to fix it by using a timer...
-
Awesome. Sinus scroller works here perfectly! Excellent conversion! Very well done!
-
Excellent entry bbear you work fast
-
Really excellent job.. May this be uploaded to Intro Inferno?
-
the scroll is always a bit too fast, and I don't know how to fix this problem (depend on CPU : a friend of mine on a 4 Ghz run at speedx3!)
I'm trying to adapt it in C
update soon with c version and all sources
thanks
-
the scroll is always a bit too fast, and I don't know how to fix this problem (depend on
CPU : a friend of mine on a 4 Ghz run at speedx3!)
...
Time is / should be equal on every cpu - meaning 1 sec on a 1Ghz computer is the
same as on a 4Ghz computer ;)
-
The problem is with the gfx card settings on different peoples machines.
Personally for those fucking assholes who like to turn off vsync on thier cards, I don't care about them and they can go fuck themselves as they don't deserve to see anything on thier pc.
The real problem is easy to fix.
Some people's cards in 640 X 480 will refresh at 100fps, some at 70fps, some at 50fps etc.
You should NOT delta time the scroll refresh rate as it will always look jerky on things like sine scrolls, but what you could do is compromise.
Get a variable, make it a double and store the timer value in that variable and check at the end of each frame how much time elapsed by saying;
elapsed = timer - oldtime
You will be left with a number that can be divided and used as the addition for your sine wave so at least the wave always moves at roughly the same speed.
IMHO it's wrong to delta time the whole scrolltext unless it's 3D stuff.
-
update with fullscreen version only : scrollspeed is ok now.
C version soon (next update)
-
That last update is right on the money. The scroll speed looks the same as original now. Great job!
-
very cool bbear i really like that!
-
For me atleast the flsho wont load on the flashtro site, so it nice to get to see it :)
-
I added a C version, fullscreen/windowed. check scroll speed
-
Welldone BBear, great effort :)
-
I done some fixes and updated the zip
-
Another Excellent demo here
:cheers:
-
d/l link does not work :(