It's all about making sure that you don't overmix the cookie dough and don't overbake them in the oven. Overbaking cookies will change their texture, as does overmixing.