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.
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…
»
Casey Muratori
I doubt there will be any function pointer writing. It'll just be two or three switch statements…
»
Abner Coimbre
rathersleepy I forget where I read it, but it suggested that the 4 levels of expertise are I …
»
Ray Garner
Does that mean we will have to make a function pointer wrapper for each api call and call into it…
»
Chris Parsons
Hey there, It's been lots of fun following along with this video series. As someone who's been c…
»
Casey Muratori
Hard to say. Probably not? They'll probably just be compiled into the OS layer as #includes, wh…
»
Ray Garner
So I assume by this it will also mean a new Compilation Unit will be added? 1.Platform Dependent…
»
Oliver Marsh
Hey everyone, I was just wondering if there was more info about __search in position__ type of …
»