Ben —
see https://github.com/cocos2d/cocos2...lob/v3/cocos/2d/CCSprite.cpp#L128
Ok that's no problem then, thanks for helping.
Yeah, sorry if I made that unclear. English is not my native language.
What I wanted to tell is s…
mmozeiko There is exception where you can do, but you shouldn't rely on that (class has no vtable…
oh sorry, Texture,Image and Sprite is all part of the cocos framework so I guess I would have to …
In case it was not clear from above posts - you are NOT ALLOWED to call any method on object (lik…
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 …
That doesn't really save memory, but it's a good observation. If alpha is the "coverage" of a pix…
BTW, thanks for the shout-out in the show, Casey! You'll excuse my absence since it was 3am local…
See also https://github.com/itfrombit/osx_handmade_minimal for a code example of mmap working on …
mmozeiko Or simply don't store any pointers to serialized data, just indices, then doing fread/fw…
I'm still thinking my way through this stuff as well, so you have been forewarned...
There is a …
It depends a lot on the circumstances, but yeah, generally you don't need to talk to the renderer…
Yeah I think we don't want to fuss with sword collision until we're going to fix everything :) L…
Maybe we can do a little more talking about premultiplied alpha on Monday? Now that we've done it…
What i can't understand from the Friday video, was why a bitmap blend on premultiplied alpha bitm…
Yes, if you set the collides flag it will ”hit” the monstar.
However, the sword collision handli…
I just wanted to point out my cool observation i had when watching the friday stream.
if you save…
mmozeiko Or simply don't store any pointers to serialized data, just indices, then doing fread/fw…
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 …
I will be writing it up for The Witness Wednesday series later in the year. Right now, no, I don…
I doubt there will be any function pointer writing. It'll just be two or three switch statements…
rathersleepy I forget where I read it, but it suggested that the 4 levels of expertise are
I …
Does that mean we will have to make a function pointer wrapper for each api call and call into it…
Hey there,
It's been lots of fun following along with this video series. As someone who's been c…
Hard to say. Probably not? They'll probably just be compiled into the OS layer as #includes, wh…
So I assume by this it will also mean a new Compilation Unit will be added?
1.Platform Dependent…
Hey everyone,
I was just wondering if there was more info about __search in position__ type of …