We are currently in the process of converting the website to the new design. Some pages, like this one, are still broken. We appreciate your patience.
popcorn
Thanks, I have learned how to do it the C++ and not the C way. I didn't know this.
»
Mārtiņš Možeiko
You can write such code ONLY if Sprite is C struct, not C++ class (or more accurately - structure…
»
popcorn
So I guess I can't mix them? I don't even know if I am... chunkOfMemory = new char[1024*9000]; spr…
»
Mārtiņš Možeiko
What? new and malloc doesn't create any smart pointer. Just a regular C++ or C pointer which you n…
»
popcorn
Grr so when I do a new or alloc or malloc or whatever, it marks it as a "smart" pointer. So someho…
»
Christian Jacob
I don't know if this has been covered yet. Since I am only at episode 10 it could most probably ha…
»
Mārtiņš Možeiko
Send an e-mail to Casey (casey (at) mollyrocket.com), he'll help you get your download link.
»
Edu Tarascon
Hi guys, I purchased the game several months ago and I wanted to download the recent code again bu…
»
Mārtiņš Možeiko
That could mean your other threads were waiting on some resource (mutex, critical section, etc..)…
»
Jan-Erik Platte
Hi, I just watched epsiode 80 and wanted to outline my assumption of the "sword collision bug". On…
»
Livet Ersomen Strøm
Yes. That is correct. however, if I try to use 100%, nothing is gained. And thats why I posted th…
»
lakmeer
Hi, I've knocked up a quick interactive thingie to demonstrate my proposal for a visual effect for…
»
Mārtiņš Možeiko
The number is correct. Your code uses 50% of logical CPU cores. Using 8 cores still makes sense be…
»
Livet Ersomen Strøm
Thanks. But are you saying that the 50% reported is thus wrong? (That they really utilize 100%) Or…
»
Mārtiņš Možeiko
Most likely you have quad-code CPU with Hyper-Threading enabled in BIOS. That's why 4 threads uses…
»
Livet Ersomen Strøm
If you are interested, I'd like you to write code that does the following, on 1, 4 and 8 threads: …
»
The_8th_mage
that sounds kinda good.
»
Mārtiņš Možeiko
Well the first question should be why do you need to allocate persistent string at all? If you rea…
»
The_8th_mage
I am fairly new to c++, having worked on c# for at least 5 years. i tried making a function that r…
»
Casey Muratori
Well, the problem is that I'm not sure we could actually leverage that knowledge. In order to com…
»
jeringa
When running two loops, One for the room and another for any sold object collisions you mentioned …
»
Casey Muratori
So, again, we'll cover this later in the series, so I won't go into too much detail here, but the …
»
Oliver Marsh
What I understood was that, if the hardware processed the movement as a square and we process it a…
»
Burmi
So if I understand correctly, only because I have one Function, the CPU will load all my objects i…
»
Mārtiņš Možeiko
That article only shows example how to implement circle dead zone. It doesn't say what kind of dea…
»
Tim Liou
Oh... OK, I got it. Thank you! owensd.
»
Daniel Bartholomae
Hi Casey, thanks for your quick reply. I was just wondering because from my experience for most ga…
»
Zyconite
@FullOfCaffeine I just ended up going back to windows :P sold the macbook and brought me one of th…
»
Jesse Coyle
I see from mmozeiko's first post there on how to use it. Using Lua & Löve2d for 2 years, then dra…
»
Casey Muratori
It depends on what you mean by "deadzone". It is a square if you mean "region where the stick doe…
»