Search found 37 matches

by Haubitze
May 11, 2018 5:50
Forum: Tips and Tricks
Topic: Simple Wather Rippler
Replies: 9
Views: 1027

Re: Simple Wather Rippler

ah yeah i see, looks good :D
by Haubitze
May 10, 2018 22:22
Forum: Tips and Tricks
Topic: Simple Wather Rippler
Replies: 9
Views: 1027

Re: Simple Wather Rippler

i add to the update sub an parameter where you can set the number of new drops. so you can make a big storm :D and i take your updated version, but i think the image version slows down the program. #Include "fbgfx.bi" Using FB '#Include "wather-ripple.bi" Type wather_t public: De...
by Haubitze
May 10, 2018 21:26
Forum: Tips and Tricks
Topic: Simple Wather Rippler
Replies: 9
Views: 1027

Re: Simple Wather Rippler

nice paul, how do you think about this code sniped? buffer2[i][j]= _ Abs( buffer1[i+1][j]+buffer1[i-1][j]+buffer1[i][j+1]+buffer1[i][j-1]+ _ buffer1[i+1][j+1]+buffer1[i-1][j-1]+buffer1[i-1][j+1]+buffer1[i+1][j-1] _ )/4.0-buffer2[i][j] i think it looks a bit more circle like. salute
by Haubitze
May 10, 2018 18:05
Forum: Tips and Tricks
Topic: Simple Wather Rippler
Replies: 9
Views: 1027

Simple Wather Rippler

hi i have sean a video on yt where an nice guy talk about wather ripple and other stuff writen in java. so i wrote an simple wather rippler in freebasic. i hope another can take the idea and make a more powerfull demo ;D salute here my code: #Include "fbgfx.bi" Using FB Type wather_t Decla...
by Haubitze
May 04, 2018 8:35
Forum: Projects
Topic: 3D Playground
Replies: 26
Views: 3005

Re: 3D Playground

nice work paul doe,

i used it for an galaxy generator with MST building, the building of the MST takes a while.

http://users.freebasic-portal.de/haubitze/3DGame.7z
Image
by Haubitze
Oct 15, 2017 13:27
Forum: Tips and Tricks
Topic: Tiny C64 (old school)
Replies: 57
Views: 30096

Re: Tiny C64 (old school)

i think the Z-Falg depends on the instruction not on the register, you can check A/X and Y reg of zero by doing this egg. ldx #$00 'load x with zero beq label 'check if X is zero, if so jump to label ... label: rts or by decreasing or increasing(A also by adc and sbc) egg. loop: ldy #$ff 'load y wit...
by Haubitze
Sep 17, 2017 17:49
Forum: General
Topic: Bug or not? Boolean warning. Can you help me make sure it is? [SOLVED]
Replies: 6
Views: 888

Re: Bug or not? Boolean warning. Can you help me make sure it is?

i think this will work without any problems.

Code: Select all

if ( b = TRUE ) and ( n = 5 ) then
...
endif


salute

Go to advanced search