Home Creators Posts Import Register Favorites Logout

Content

 Rough draft of what the video is going to look like. Feel free to make any suggestions! 

Files

9. CONDITIONAL STATEMENTS

NOTE: THIS IS A DRAFT! It's probably missing a lot of things and has mistakes in some places, so keep that in mind, and thank you for your support. :) Twitter ► https://twitter.com/thecherno Instagram ► https://instagram.com/thecherno Patreon ► https://patreon.com/thecherno Series Playlist ► https://www.youtube.com/playlist?list=PLlrATfBNZ98dudnM48yfGUldqGD0S4FFb Slack ► https://slack.thecherno.com Stream ► http://www.twitch.tv/thecherno Website ► http://www.thecherno.com Facebook ► http://www.facebook.com/thecherno

Comments

Silvan Hau

Hey Cherno, you could consider to talk about the importance of branches in the game-loop, for example if I have a list of objects in my scene and an isActive parameter, is it better to check against an active object every frame or use two lists, one for active and one for inactive objects. And maybe mention this nice little neat optimization which today cpus are doing called branch prediction :)