Search found 190 matches

by cyboryxmen
July 12th, 2017, 6:35 pm
Forum: Everything
Topic: A math question
Replies: 10
Views: 4392

Re: A math question

krautersuppe wrote:I am not going to explain this madness :? here in detail - if you really wish to know you should read an academic text about mathematical series - I can provide a link if you are fluent in german.
Ja bitte.
by cyboryxmen
July 3rd, 2017, 6:07 am
Forum: Everything
Topic: A math question
Replies: 10
Views: 4392

A math question

Is the square root of infinity bigger or smaller than infinity?
by cyboryxmen
July 1st, 2017, 6:05 am
Forum: Everything
Topic: Branching vs calculation
Replies: 7
Views: 2931

Re: Branching vs calculation

Yeah I didn't mention the cpu's branch predictor since I have no information on the performance of that component. I suppose that would make sense if your inputs are going to be really predictable, the cpu would easily predict what each branch is going to be and apply the appropriate optimisations.
by cyboryxmen
June 28th, 2017, 7:21 am
Forum: Everything
Topic: Simon Says Game
Replies: 67
Views: 25943

Re: Simon Says Game

He probably forgot to setup a proper .gitignore. The repo must be filled with .obj and .log files.
by cyboryxmen
June 27th, 2017, 6:34 pm
Forum: Everything
Topic: Branching vs calculation
Replies: 7
Views: 2931

Re: Branching vs calculation

Thanks. I learnt to benchmark a lot better since the last time. For one thing, the random number engine is not seeded so it will produce the same result every time. Not to mention I learnt to do better statistics on these benchmarks and included all the things you need to have proper statistics. Ran...
by cyboryxmen
June 27th, 2017, 1:25 pm
Forum: Everything
Topic: Branching vs calculation
Replies: 7
Views: 2931

Branching vs calculation

Anyone that has dabbled with very simple physics will have seen one of these before. void Update ( const float delta_time ) { if ( alive_ ) { position_ += speed_ * delta_time; } } However, I have come to the realisation that this may be better. void Update ( const float delta_time ) { position_ += s...
by cyboryxmen
June 27th, 2017, 7:32 am
Forum: Everything
Topic: Another small question
Replies: 4
Views: 1729

Re: Another small question

C++ programs are standardised to store their variables based on their "storage specification". auto storage(not to be mistaken with the keyword auto) is the default storage specification. These variables are written in function parameters and code blocks and are created "automatically" when the cpu ...
by cyboryxmen
June 15th, 2017, 10:54 am
Forum: Everything
Topic: TankZ - Invasion mode added (version 3.2 available)
Replies: 31
Views: 15828

Re: TankZ - Invasion mode added (version 3.2 available)

Game is too hard and missiles are too weak. So I made them explode into rockets that also explode into rockets...that also explode into rockets.

Runs pretty well surprisingly.
by cyboryxmen
May 31st, 2017, 7:32 pm
Forum: Everything
Topic: Books/other stuff for new programmers
Replies: 11
Views: 5878

Re: Books/other stuff for new programmers

Game Programming Patterns - Robert Nystrom. This book is kind of like the famous Design Patterns book by the Gang of Four (I'm told). It provides solid examples of software design patterns and some optimizations used in the games industry. It's a fun book to read, often making you laugh as it (imo)...