• Welcome to Dark Bit Factory & Gravity.
 

CLASSIC COMP : HORIZON GASTON #2

Started by bbear, April 21, 2007

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

bbear

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

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)

Rbz

Nice one dude, the sinus scroller is a bit faster for me, anyway nice conversion  :clap:
Challenge Trophies Won:

Shockwave

Really rules! The sine scroll is sining too fast to read here though :)
Great remake tho!
Shockwave ^ Codigos
Challenge Trophies Won:

Ghost^BHT

this is a great remake :) scroller isnt too fast here < probably because my machine don't like some fb things ?  :clap:

bbear

I think it's possible to fix it by using a timer...

benny!

Awesome. Sinus scroller works here perfectly! Excellent conversion! Very well done!
[ mycroBLOG - POUET :: whatever keeps us longing - for another breath of air - is getting rare ]

Challenge Trophies Won:

rain_storm

Excellent entry bbear you work fast

Challenge Trophies Won:

Shockwave

Really excellent job.. May this be uploaded to Intro Inferno?
Shockwave ^ Codigos
Challenge Trophies Won:

bbear

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

benny!

Quote from: bbear on April 23, 2007
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 ;)
[ mycroBLOG - POUET :: whatever keeps us longing - for another breath of air - is getting rare ]

Challenge Trophies Won:

Shockwave

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.
Shockwave ^ Codigos
Challenge Trophies Won:

bbear

update with fullscreen version only : scrollspeed is ok now.
C version soon (next update)

Shockwave

That last update is right on the money. The scroll speed looks the same as original now. Great job!
Shockwave ^ Codigos
Challenge Trophies Won:

ninogenio

very cool bbear i really like that!
Challenge Trophies Won:

Tetra

For me atleast the flsho wont load on the flashtro site, so it nice to get to see it :)
Challenge Trophies Won:

bbear

I added a C version, fullscreen/windowed. check scroll speed

Clyde

Welldone BBear, great effort :)
Still Putting The IT Into Gravy
If Only I Knew Then What I Know Now.


Challenge Trophies Won:

bbear

I done some fixes and updated the zip

Hotshot

Another Excellent demo here

:cheers:

va!n

- hp EliteBook 8540p, 4 GB RAM, Windows 8.1 x64
- Asus P5Q, Intel Q8200, 6 GB DDR2, Radeon 4870, Windows 8.1 x64
http://www.secretly.de
Challenge Trophies Won: