Search found 59 matches

by DeXtr0
Sun Nov 25, 2007 3:52 pm
Forum: Coding Questions
Topic: How to draw a line with a sprite
Replies: 2
Views: 1198

Whohooo cool Wolf,

Thanks you very much !
I'll check it out !

Regards,
DeX
by DeXtr0
Sat Nov 24, 2007 10:49 pm
Forum: Coding Questions
Topic: How to draw a line with a sprite
Replies: 2
Views: 1198

How to draw a line with a sprite

Hey guys,

Since I don't have enough experience (yet) with PB maybe somebody can help me:

Is it possible to draw a line with 1 sprite ?

Let me explain, with an example:
I have a square sprite (128x128).
I clip it in 128 sprites of each: 1px height & 128px width

Now I would like to draw a line ...
by DeXtr0
Mon Nov 05, 2007 10:58 pm
Forum: Coding Questions
Topic: Inverse of a SORT is that possible ?
Replies: 19
Views: 2942

Yeps works too,

Thanks trond, appreciate your solution as well

Regards,
DeXtr0
by DeXtr0
Mon Nov 05, 2007 10:10 pm
Forum: Coding Questions
Topic: Inverse of a SORT is that possible ?
Replies: 19
Views: 2942

Hey Guys,

thank you both for the answers. They both worked great !

Really appreciated your help !

Cheers,
DeXtr0
by DeXtr0
Mon Nov 05, 2007 9:01 pm
Forum: Coding Questions
Topic: Inverse of a SORT is that possible ?
Replies: 19
Views: 2942

Inverse of a SORT is that possible ?

Hey everybody,

I'm not sure if this question can be posted here (however I do hope so).

I got the following issue and I have no clue how to start coding it:

I got 1 sorted numeric array with values from 1 to 100.
I want this array to be mixed or mangled or how do you call this. So actually the ...
by DeXtr0
Fri Sep 07, 2007 10:37 am
Forum: Coding Questions
Topic: Transforming a sprite with spritewidth = 1 pixel, Possible ?
Replies: 4
Views: 1307

Good idea Kaeru but I think you are right, performancy will decrease.
I'll check bitblt anyway...

Thanks
by DeXtr0
Fri Sep 07, 2007 10:13 am
Forum: Coding Questions
Topic: Transforming a sprite with spritewidth = 1 pixel, Possible ?
Replies: 4
Views: 1307

Hey Kaeru,

That is correct my sprite is not a square (I should have thought of it !)
In fact , I'm thinking loud now, I don't need Sprite3D.
I can work with a normal 2D sprite too.

Is there a way to draw a sprite from X1,Y2 to X2,Y2 or maybe another way how to transform the 2D sprite into ...
by DeXtr0
Fri Sep 07, 2007 7:52 am
Forum: Coding Questions
Topic: Transforming a sprite with spritewidth = 1 pixel, Possible ?
Replies: 4
Views: 1307

Transforming a sprite with spritewidth = 1 pixel, Possible ?

Hey everbody,

During the coding process of a graphic effect I split up a text into slices by using clipping. To achieve my effect I clipped it into sprites with a width of 1 pixel.

Now I want to add a perspective to it so drawing that 1 pixel-width sprite in the Z-direction but transformsprite3D ...
by DeXtr0
Mon Aug 20, 2007 5:02 pm
Forum: Coding Questions
Topic: Sprite3D Color changing - Can't find it
Replies: 8
Views: 1468

Actually you are 100% right.
netmaestro gave the same tip.

Sorry netmaestro.

Thanks demivec for mentionning it to me.
by DeXtr0
Mon Aug 20, 2007 7:26 am
Forum: Coding Questions
Topic: Sprite3D Color changing - Can't find it
Replies: 8
Views: 1468

Hey guys,

Well it does not "has" to be a sprite3D but it could be very handy.
Nevertheless that is not a "must".

I'm already very happy if it could work with a normal Sprite.

I think, the tip of citystate is a very good one.
I have not tought of that :)

I'll try it as soon as I got some time and ...
by DeXtr0
Sun Aug 19, 2007 8:29 pm
Forum: Coding Questions
Topic: Sprite3D Color changing - Can't find it
Replies: 8
Views: 1468

Hey netmaestro,

You hack is quite good but not really what I was looking for.
The sprite is a full color png file and I want to fade that to white.
If you play with the transparancy parameter it just fades to the real color :o

However the idea was good and I hope to get some more tips.
Maybe ...
by DeXtr0
Sun Aug 19, 2007 7:51 pm
Forum: Coding Questions
Topic: Sprite3D Color changing - Can't find it
Replies: 8
Views: 1468

Sprite3D Color changing - Can't find it

Hey everybody,

I searched the forum a couple of times for a solution but until now, I did not found the right answer to the issue i'm stuck with:

I want to display a sprite3D.
Fade that sprite3D to white
After a while fade back (from the white color) to the original colors of the Sprite.

Is ...
by DeXtr0
Sat Jul 14, 2007 9:48 pm
Forum: Coding Questions
Topic: Bitmap Sinusscroller with low FPS :( Please help ..
Replies: 0
Views: 1304

Bitmap Sinusscroller with low FPS :( Please help ..

Hey guys,

I hope somebody can help me here.
I'm writing my own intro-fx library in PureBasic and I just finished the sinusscroller fully usable with an own sinustable ;).

Hereby a part of the code which works 100% but it's soo slow ??? , only 175FPS on my Intel Dual Core 3.5 with GForce4 8900GTS ...
by DeXtr0
Fri Jul 06, 2007 10:19 am
Forum: Coding Questions
Topic: Wave effect on sprite - [SOLVED]
Replies: 15
Views: 2567

Wholy shit, no I did not knew that one :shock:

I searched a lot on the forum on wave and flag but not on : Matrice / Vagues (the french translation)

1000x thanks Psychophanta for this tip.

Regards,
DeXtr0

P.S. Sorry I created a new topic, really did not found it..
by DeXtr0
Fri Jul 06, 2007 9:30 am
Forum: Coding Questions
Topic: Wave effect on sprite - [SOLVED]
Replies: 15
Views: 2567

OK thnx Kaeru,

Now I can try to code it..
As soon as I have it i'll show it to check the FPS..

I'm very curious what it will be...

Thanks for all the help,
DeXtr0