Does anyone know how to use Casey's File I/O, or tell me if it is even capable of what I'm trying…
Generally when you read keyboard input you can have two different approaches.
In games you typic…
To be honest, almost word for word, my win32 is the same as Casey's, so you're actually almost ri…
1) Sorry for implying the copy-paste.
2) I have no idea what the hell happened there, the pieces …
At the limit you probably want to optimize for arrays and structs that are 16-byte friendly all t…
I think the problem is that the key is down, and every frame it looks at the controller and sees …
Ah, yes, that pretty much discusses my problem very thoroughly.
Although, it seems a bit iffy to…
This was discussed a bit in this thread. You might find the comments there useful.
In my own projects, I've been trying to write code where I request all the memory for my applicat…
There is one more level below Xlib. Newest versions of Xlib library use XCB to perform its work: …
Pete —
I am trying to find a good answer to what the native API is for doing GUI applications in linux.
…
Day 6, 42:30 - Casey starts coding the keyboard input.
From what I remember, while you hold the k…
I've tried it, Got rid of the wasdown != isdown check, and made keyup serperate as well as vice v…
Casey's processing of these messages is clever indeed.
You can try something simpler, you can pr…
If anybody is interested, I have added the ability to download assets from sendowl and pre stream…
Is this a loss cause? I still need help.
I need to move on to other stuff, so I may just instead…
Answering second part of your question - "rendering and updating in one function" doesn't mean th…
Burmi —
Hello Everyone,
I started to watch the Videos of Casey a while ago and I'm currently at Day 16 - …
Ah, so in place of WasDown != IsDown I should do: ((Message.lParam & (1 << 30)) == 0) r…
I don't see your source, but on WM_KEYDOWN MSDN page for bit 30 it says:The previous key state. T…
Sup everybody.
I've been following along with handmade hero for a bit, and I wanted to use what …
Nimbal Since C++11, there's the alignof keyword that works similarly to sizeof.
There's also ali…
I also use VirtualBox, works fine. I've used VMWare in the past (trial version), but never really…
Yeah I did
ObjectA a = (Object*) chunkOfMemory;
a->init();
it doesn't work properly.
I als…
Heeiiigou But don´t ask me what this exactly does. I just c/p it of the other code in the .emacs …
Thanks for the kind words! I'm glad to hear that you're getting on well with the series... since…
Thank you!
If anyone has the same problem, I added this to the .emacs file:
1
2
3
4
5
6
7(defun …
There seems to be lot of audio problems. I also had them, but solved them my own way. Not necessa…
The plentifully linked http://www.dataorienteddesign.com/dodmain/dodmain.html has some notions ab…
Hi,
ahh thank you! I will have a look at the resources :) An physics or graphics component inte…