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.
Andy
Hi there, I've been trying to follow along at home however as I'm coding along with day 21 I not…
»
popcorn
oh duh! thanks.
»
Mārtiņš Možeiko
Remove "://" from end of URL: https://bitbucket.org/alfonse/gltut/downloads
»
popcorn
I'm getting a 404 not found..
»
Ian
Can be found at https://bitbucket.org/alfonse/gltut/downloads There are PDFs and HTML format boo…
»
Stefan Nordkvist
Wow thanks for the elaborate answer! :D I will try and get that book, shouldn't be that expensive…
»
Drexir
I would avoid that whole "Learn C the Hard Way". Author continuously insists "Google it." Leaving…
»
Ben
see https://github.com/cocos2d/cocos2...lob/v3/cocos/2d/CCSprite.cpp#L128
»
popcorn
Ok that's no problem then, thanks for helping.
»
Mārtiņš Možeiko
Yeah, sorry if I made that unclear. English is not my native language. What I wanted to tell is s…
»
Andrew Bromage
mmozeiko There is exception where you can do, but you shouldn't rely on that (class has no vtable…
»
popcorn
oh sorry, Texture,Image and Sprite is all part of the cocos framework so I guess I would have to …
»
Mārtiņš Možeiko
In case it was not clear from above posts - you are NOT ALLOWED to call any method on object (lik…
»
popcorn
What if the constructor is private? How would it work? sprite = (Sprite*) push(&memoryStack…
»
nikki
the problem is resolved thanks guys (the problem was not using a large enough adres) I followed …
»
Andrew Bromage
That doesn't really save memory, but it's a good observation. If alpha is the "coverage" of a pix…
»
Andrew Bromage
BTW, thanks for the shout-out in the show, Casey! You'll excuse my absence since it was 3am local…
»
Chris Parsons
See also https://github.com/itfrombit/osx_handmade_minimal for a code example of mmap working on …
»
Chris Parsons
mmozeiko Or simply don't store any pointers to serialized data, just indices, then doing fread/fw…
»
Patrick Lahey
I'm still thinking my way through this stuff as well, so you have been forewarned... There is a …
»
Casey Muratori
It depends a lot on the circumstances, but yeah, generally you don't need to talk to the renderer…
»
Casey Muratori
Yeah I think we don't want to fuss with sword collision until we're going to fix everything :) L…
»
Casey Muratori
Maybe we can do a little more talking about premultiplied alpha on Monday? Now that we've done it…
»
The_8th_mage
What i can't understand from the Friday video, was why a bitmap blend on premultiplied alpha bitm…
»
Kim Jørgensen
Yes, if you set the collides flag it will ”hit” the monstar. However, the sword collision handli…
»
The_8th_mage
I just wanted to point out my cool observation i had when watching the friday stream. if you save…
»
Andrew Bromage
mmozeiko Or simply don't store any pointers to serialized data, just indices, then doing fread/fw…
»
Mārtiņš Možeiko
Yes, that's pretty much you will need to do - adjust pointers to serialized stuff, if you keep an…
»
Don S.
Thanks for the explanations Casey. So you're saying you'll just continue to pass all render data …
»
Casey Muratori
I will be writing it up for The Witness Wednesday series later in the year. Right now, no, I don…
»