• Welcome to Dark Bit Factory & Gravity.
 

OldSkool - 2D Twister FX

Started by va!n, September 19, 2007

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

va!n

@DeXtr0:
works fine and smooth here at my temp work. its coded in pb, right? what about sharing / show your source and ppl can take a look where and how to optimize for speed and other ppl can learn from? ^^
- 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:

DeXtr0

Ofcourse, thats a good idea. It's your code I changed (maybe not correctly but I changed it  ;) )
And you are right it's pure PB v4.10 beta4.

In attachement an example file and a .pbi file which contains the procedures including some textures so the example can run :)

I hope somebody can optimize it or help me a bit  ::)

Regards,
deXtr0


Shockwave

Your new twister ran smooth here by the way Dex.

You need to darken the texture as it gets narrower though :)
Shockwave ^ Codigos
Challenge Trophies Won:

DeXtr0

Hey shockwave,

New version with darker textures when narrowed  ;)

Good tip..

What do you think about it ?

Cheers,
DeX

Shockwave

Yes, that gives the bars more depth :) Looks better now, the only two things I would change are the movement and the textures.

Also I think you're doing the scaling in real time, I'd precalculate that I think.

All in all though it's miles better now :) Great job.
Shockwave ^ Codigos
Challenge Trophies Won:

taj

That is really damned nice shockwave.
Challenge Trophies Won:

Shockwave

Shockwave ^ Codigos
Challenge Trophies Won: