Search found 1410 matches

by badidea
Jun 20, 2019 18:01
Forum: Community Discussion
Topic: FBC's Cairo clock example error
Replies: 52
Views: 2882

Re: FBC's Cairo clock example error

Tried rotating fonts. I am going by results of google search for this, but the rotations seem very cpu hungry. Perhaps there is a better way. At 60 fps 34% load on 1 CPU-core here. Your energy calculation seems incorrect. The total energy in the system should be a constant. Do you include energy in...
by badidea
Jun 19, 2019 22:15
Forum: General
Topic: Bit strings ? ( "Bit string datatype" )
Replies: 7
Views: 419

Re: Bit strings ? ( "Bit string datatype" )

Not sure if this is what you are looking for, but I post my today's bit exercise anyway: type bit_array redim as ulong buffer(any) '32 bit buffer dim as integer numBits declare sub addBit(bitValue as integer) declare sub setBit(bitIndex as integer, bitValue as integer) declare function getBit(bitInd...
by badidea
Jun 19, 2019 21:05
Forum: General
Topic: smart code formatter
Replies: 9
Views: 648

Re: smart code formatter

Sound like fun. I can only give some advice on how to prevent it: 1) Always use an editor that shows white-space characters 2) Don't use tabs between statements (only for indentation) I had a productive evening yesterday as well. After 1 hour of coding, I accidentally deleted it all by pasting some ...
by badidea
Jun 17, 2019 21:58
Forum: Game Dev
Topic: Atom Breakout
Replies: 5
Views: 621

Re: Atom Breakout

dodicat wrote:The best I can do is annoying pong.

Especially with mouse-pad, it is quite annoying :-)
by badidea
Jun 17, 2019 20:47
Forum: Game Dev
Topic: Atom Breakout
Replies: 5
Views: 621

Re: Atom Breakout

I had read that some of the later classic breakout games used spin, so I put this on my to-do list. I have not given it much thought yet (until now). Static fraction can probably be ignored. The kinetic friction I expect to depend on normal force, contact area and some friction constant. This result...
by badidea
Jun 17, 2019 18:55
Forum: Game Dev
Topic: Atom Breakout
Replies: 5
Views: 621

Re: Atom Breakout

Because of the overwhelming number of positive replies, I decided to make a GitHub version: https://github.com/verybadidea/Atom-Breakout
Which allows me to get familiar with GitHub as well.
by badidea
Jun 16, 2019 20:10
Forum: Community Discussion
Topic: FBC's Cairo clock example error
Replies: 52
Views: 2882

Re: FBC's Cairo clock example error

GitHub account created. I'll play with a project of my own first. Git-clients tried so far from Ubuntu repository: * Giggle : Seems like a piece of crap, no useful help, absolutely no idea how use it. * gitg : Also seems like a piece of crap, on first run never ending stream of GTK errors, broken he...
by badidea
Jun 16, 2019 12:19
Forum: Community Discussion
Topic: FBC's Cairo clock example error
Replies: 52
Views: 2882

Re: FBC's Cairo clock example error

I got about 8 MB in total of downloaded files, then at the last bit the terminal said: cairo latest version already installed, nothing to do. Needless to say cairo doesn't work. (32 bit OS) Then the stuff is probably installed, but the linker cannot find it. I might have the same issue with the 32-...
by badidea
Jun 16, 2019 10:25
Forum: General
Topic: Squares
Replies: 6849
Views: 395015

Re: Squares

The Redditt as a measure of ignorance sounds more appropriate to me.
I understand that the San Andreas movie scores high on the Redditt scale.
by badidea
Jun 15, 2019 23:43
Forum: Game Dev
Topic: Atom Breakout
Replies: 5
Views: 621

Atom Breakout

Start of a small game. Initially I planned to use Cairo, but no real use for it. If things gone wrong, try changing MIN_DT (physics loop time). '=== Atom breakout === const SCRN_W = 800, SCRN_H = 600 const as double MIN_DT = 2.0 / 1000 's const as string KEY_ESC = chr(27) '--------------------------...
by badidea
Jun 15, 2019 22:25
Forum: General
Topic: Squares
Replies: 6849
Views: 395015

Re: Squares

I'm out. Good luck teaching Albert something MrSwiss ...
by badidea
Jun 15, 2019 21:35
Forum: General
Topic: Squares
Replies: 6849
Views: 395015

Re: Squares

I expect that the water will start moving and the movement will depend on volume and frequency and the angle off the sound waves, but it is the complete story from water ripples to an earth quake that is 'shaky'. Here is a funny YouTube clip (with a in water submerged speaker): https://www.youtube.c...
by badidea
Jun 15, 2019 20:13
Forum: General
Topic: Squares
Replies: 6849
Views: 395015

Re: Squares

albert wrote:a "Volume Tick" is the notches on the volume knob of the stereo...

Yes, ask the manufacturer. They just mean loud, louder, loudest. Resulting in more power (in Watt) to your speakers.
by badidea
Jun 15, 2019 20:07
Forum: General
Topic: Squares
Replies: 6849
Views: 395015

Re: Squares

What is a volume tick?

Just use a fast moving (pneumatic) cylinder if you want to create an earth quake (or at least annoying your neighbours).
A pneumatic cylinder can apply a pressure / force.
by badidea
Jun 15, 2019 19:58
Forum: General
Topic: Squares
Replies: 6849
Views: 395015

Re: Squares

I think .5 Kg (4.9 Newtons) , is way to high for water hardness... Water hardness , should be fractions of a kilogram. You have to apply the formula, not just take the random example numbers for area and height that I chose. Not that I see any relation between kilogram and hardness. They are comple...

Go to advanced search