You definitely want to do shift instead of division by 255. Division by non power of two compile …
What I did was this:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
2…
KRB —
... oh bugger, now I have to add them!
... later :P
My OSX port in debug mode runs right around 53% CPU with day 39 code.
I notice that Casey is not wearing his Gauntlets of Power.
I don't know if he's mentioned it on stream, but there's a nice Q&A on Gamasutra with Casey. …
Hey,
I've worked on my own game a couple of times, and one of the main questions i have asked my…
KRB —
This is what I think its like every time Casey codes: he beats the game into submission! (sorry, …
Yeah, I wasn't super concerned about the usage, just wanted to see where things stood for people.
Hey! Just tried it out! great work! (I've been using this as a rough guide for some linux things …
Now up to date with Day 38.
I haven't looked at this at all but that doesn't sound high to me. The bitmap drawing code is ve…
My Linux port using xcb has the following behaviour:
Debug build:
~40% CPU - xcb_handmade
Opt b…
So I've got day 38 loaded up in my swift platform layer and I'm seeing about 70% cpu usage when r…
Another update:
Day 38 support with bmp loading included (thanks to itfrombit for finding a solut…
I assume that you're doing this on the desktop, so the answer is yes you certainly can create a p…
That does indeed work. Just added it to my dylib custom compile flags in case anyone was wonderin…
Skinpop thrahistan There is also a plugin for that with the SublimeLinter
https://github.com/Sub…
Tim —
@Skinpop: you are awesome!
thrahistan There is also a plugin for that with the SublimeLinter
https://github.com/SublimeLint…
There is also a plugin for that with the SublimeLinter
https://github.com/SublimeLinter/SublimeL…
Hi, I struggled a bit with this as well.
First thing I tried was using sublime linter, it kinda …
One of these ways of counting the trailing zeroes without a loop might be a good default for plat…
Tim —
I really like Casey's TODO and NOTE highlights. Does anyone know of a way to get the same functio…
For now you could try allocating smaller size for TransientStorage. Try something like 256MB. Als…
robby —
So there won't be any chance to develop the game in a 32bit environment? Asking because i like to…
If you don't learn OO you will be limiting your options in today's world. There is a lot of OO c…
I think first solution is OK to use as long as there are very few conditions test (so you are not…
I doubt this code will have more performance. Typically you want to avoid branches in inner loops…