GLBasic forum

Main forum => Bug Reports => Topic started by: Hemlos on 2009-Sep-10

Title: Fluids.rar in showroom
Post by: Hemlos on 2009-Sep-10
Hello Gernot,

Can you update Fluids.rar?

I would like to see it running with the current version.
Perhaps i will use the vec2 in SpriteZ
Title: Re: Fluids.rar in showroom
Post by: MrTAToad on 2009-Sep-10
It actually doesn't run on my Windows machine - just get a black screen.

Those nasty array errors would be a pain to fix :)
Title: Re: Fluids.rar in showroom
Post by: Schranz0r on 2009-Sep-10
vec2 ?


Code (glbasic) Select

Type vec2
    x%;y%
ENDTYPE

GLOBAL Tvec2[] AS vec2


LOCAL my_vac2 AS vec2
my_vac2.x = 10
my_vac2.y = 40
DIMPUSH Tvec2[], my_vac2




?
Title: Re: Fluids.rar in showroom
Post by: Hemlos on 2009-Sep-11
Curious, am i achieving the same affect as fluids project, Gernot?


Here is my alternative for now(as i cant fix fluids.rar myself), a 3 x 3 dimension png file, black border, white dot in middle.
The poly is larger than the image, so it stretches to fit.
And, i added a color mask to the polyvector to make it look like this:
I did this with an image of odd pixel count and non power of 2, (3x3=9) :

x=black, o=white
XXX
XOX
XXX


[attachment deleted by admin]