{"id":582,"date":"2021-02-23T03:39:00","date_gmt":"2021-02-23T03:39:00","guid":{"rendered":"http:\/\/www.goncalo.pt\/por\/?p=582"},"modified":"2023-10-07T03:13:07","modified_gmt":"2023-10-07T03:13:07","slug":"2021-02-23-melhorando-a-performance-dos-scripts-das-bolhas-de-ar-na-agua-no-meu-game-engine-em-c-c","status":"publish","type":"post","link":"https:\/\/www.goncalo.pt\/por\/2021\/02\/23\/2021-02-23-melhorando-a-performance-dos-scripts-das-bolhas-de-ar-na-agua-no-meu-game-engine-em-c-c\/","title":{"rendered":"2021-02-23 &#8211; Melhorando a performance dos scripts das bolhas de ar na \u00e1gua no meu Game Engine em C\/C++&#8230;"},"content":{"rendered":"\n<p>Ontem nalguns minutos livres retomei por horas o game engine, porque j\u00e1 n\u00e3o tocava nele desde o dia 9 de Fevereiro, em que tenho estado ocupado com os trading systems, e dei uns toques, a ver se trabalho em 2 dias da semana no game engine, talvez aos S\u00e1bados e Domingos (como descanso, programa\u00e7\u00e3o relaxante -> criar jogos), e durante a semana o trabalho &#8220;chato&#8221; (ver n\u00fameros por todo o lado, e meti chato entre aspas porque sou daquelas pessoas das quais dizem que gostam mais de n\u00fameros do que de pessoas, mas n\u00e3o \u00e9 todas as pessoas haha).<br><br>Neste caso estive a testar quando as bolhas saem fora da \u00e1gua (da\u00ed os rect\u00e2ngulos brancos na sa\u00edda), para optimizar c\u00f3digo, porque desde que o PC ficou marado (e os FPS baixaram para os 40 FPS apenas), que me for\u00e7ar\u00e1 a adaptar o jogo a m\u00e1quinas lentas, e j\u00e1 consigo tirar 50 FPS numa m\u00e1quina super lenta a 400 MHZ com 14 backgrounds e foregrounds din\u00e2micos, com centenas de bolhas no ecr\u00e3, com anima\u00e7\u00f5es, 100 inimigos, etc e 1001 coisas mais, ou seja, um dia at\u00e9 testo este game engine (com muitas destas maluqueiras bonitas desligadas) num Pentium 166 MMX e aposto que terei uns 100 FPS na boa (cortando o n\u00famero de bolhas, etc).<br><br>Os quadrados (ali\u00e1s rect\u00e2ngulos) aparecem no topo, com a largura da bolha que toca l\u00e1, mas com uma altura fixa (para eu ver bem), da\u00ed terem larguras diferentes.<br><br>N\u00e3o pude fazer muito com a m\u00e1quina lenta, mas dei uns toques.<br><br>2021-02-23.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ontem nalguns minutos livres retomei por horas o game engine, porque j\u00e1 n\u00e3o tocava nele desde o dia 9 de<\/p>\n","protected":false},"author":1,"featured_media":583,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6,284,5,3,285,289,4,133],"tags":[150,7,118,207,24,23,117,281,120,128,126,26,25],"class_list":["post-582","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-game-development","category-platformers","category-programacao","category-projectos","category-shoot-em-up","category-horizontal-shooter","category-softwares","category-video-jogos","tag-agua","tag-c","tag-desenvolvimento-de-jogos","tag-dev","tag-game-dev","tag-game-engine","tag-motor-de-jogos","tag-platformer","tag-programacao","tag-shoot-em-up","tag-shooter","tag-videogames","tag-videojogos"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.4 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>2021-02-23 - Melhorando a performance dos scripts das bolhas de ar na \u00e1gua no meu Game Engine em C\/C++... - Gon\u00e7alo Ferreira<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.goncalo.pt\/por\/2021\/02\/23\/2021-02-23-melhorando-a-performance-dos-scripts-das-bolhas-de-ar-na-agua-no-meu-game-engine-em-c-c\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"2021-02-23 - Melhorando a performance dos scripts das bolhas de ar na \u00e1gua no meu Game Engine em C\/C++... - Gon\u00e7alo Ferreira\" \/>\n<meta property=\"og:description\" content=\"Ontem nalguns minutos livres retomei por horas o game engine, porque j\u00e1 n\u00e3o tocava nele desde o dia 9 de\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.goncalo.pt\/por\/2021\/02\/23\/2021-02-23-melhorando-a-performance-dos-scripts-das-bolhas-de-ar-na-agua-no-meu-game-engine-em-c-c\/\" \/>\n<meta property=\"og:site_name\" content=\"Gon\u00e7alo Ferreira\" \/>\n<meta property=\"article:published_time\" content=\"2021-02-23T03:39:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-10-07T03:13:07+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.goncalo.pt\/por\/wp-content\/uploads\/2021\/04\/2021-02-23-Improving-game-performance-with-the-air-bubbles-on-water-on-my-C-Cpp-Game-Engine-1024x576.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1024\" \/>\n\t<meta property=\"og:image:height\" content=\"576\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"gnmf\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"gnmf\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.goncalo.pt\/por\/2021\/02\/23\/2021-02-23-melhorando-a-performance-dos-scripts-das-bolhas-de-ar-na-agua-no-meu-game-engine-em-c-c\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.goncalo.pt\/por\/2021\/02\/23\/2021-02-23-melhorando-a-performance-dos-scripts-das-bolhas-de-ar-na-agua-no-meu-game-engine-em-c-c\/\"},\"author\":{\"name\":\"gnmf\",\"@id\":\"https:\/\/www.goncalo.pt\/por\/#\/schema\/person\/28a9f845c4de91a7c067707279b1d8dd\"},\"headline\":\"2021-02-23 &#8211; Melhorando a performance dos scripts das bolhas de ar na \u00e1gua no meu Game Engine em C\/C++&#8230;\",\"datePublished\":\"2021-02-23T03:39:00+00:00\",\"dateModified\":\"2023-10-07T03:13:07+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.goncalo.pt\/por\/2021\/02\/23\/2021-02-23-melhorando-a-performance-dos-scripts-das-bolhas-de-ar-na-agua-no-meu-game-engine-em-c-c\/\"},\"wordCount\":285,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.goncalo.pt\/por\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.goncalo.pt\/por\/2021\/02\/23\/2021-02-23-melhorando-a-performance-dos-scripts-das-bolhas-de-ar-na-agua-no-meu-game-engine-em-c-c\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.goncalo.pt\/por\/wp-content\/uploads\/2021\/04\/2021-02-23-Improving-game-performance-with-the-air-bubbles-on-water-on-my-C-Cpp-Game-Engine.png?v=1618146990\",\"keywords\":[\"\u00c1gua\",\"C++\",\"Desenvolvimento de Jogos\",\"Dev\",\"Game Dev\",\"Game Engine\",\"Motor de Jogos\",\"Platformer\",\"Programa\u00e7\u00e3o\",\"Shoot Em Up\",\"Shooter\",\"VideoGames\",\"VideoJogos\"],\"articleSection\":[\"Desenvolvimento de Jogos\",\"Platformers\",\"Programa\u00e7\u00e3o\",\"Projectos\",\"Shoot 'Em Up\",\"Shooter Horizontal\",\"Softwares\",\"Video Jogos\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.goncalo.pt\/por\/2021\/02\/23\/2021-02-23-melhorando-a-performance-dos-scripts-das-bolhas-de-ar-na-agua-no-meu-game-engine-em-c-c\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.goncalo.pt\/por\/2021\/02\/23\/2021-02-23-melhorando-a-performance-dos-scripts-das-bolhas-de-ar-na-agua-no-meu-game-engine-em-c-c\/\",\"url\":\"https:\/\/www.goncalo.pt\/por\/2021\/02\/23\/2021-02-23-melhorando-a-performance-dos-scripts-das-bolhas-de-ar-na-agua-no-meu-game-engine-em-c-c\/\",\"name\":\"2021-02-23 - Melhorando a performance dos scripts das bolhas de ar na \u00e1gua no meu Game Engine em C\/C++... - Gon\u00e7alo Ferreira\",\"isPartOf\":{\"@id\":\"https:\/\/www.goncalo.pt\/por\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.goncalo.pt\/por\/2021\/02\/23\/2021-02-23-melhorando-a-performance-dos-scripts-das-bolhas-de-ar-na-agua-no-meu-game-engine-em-c-c\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.goncalo.pt\/por\/2021\/02\/23\/2021-02-23-melhorando-a-performance-dos-scripts-das-bolhas-de-ar-na-agua-no-meu-game-engine-em-c-c\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.goncalo.pt\/por\/wp-content\/uploads\/2021\/04\/2021-02-23-Improving-game-performance-with-the-air-bubbles-on-water-on-my-C-Cpp-Game-Engine.png?v=1618146990\",\"datePublished\":\"2021-02-23T03:39:00+00:00\",\"dateModified\":\"2023-10-07T03:13:07+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.goncalo.pt\/por\/2021\/02\/23\/2021-02-23-melhorando-a-performance-dos-scripts-das-bolhas-de-ar-na-agua-no-meu-game-engine-em-c-c\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.goncalo.pt\/por\/2021\/02\/23\/2021-02-23-melhorando-a-performance-dos-scripts-das-bolhas-de-ar-na-agua-no-meu-game-engine-em-c-c\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.goncalo.pt\/por\/2021\/02\/23\/2021-02-23-melhorando-a-performance-dos-scripts-das-bolhas-de-ar-na-agua-no-meu-game-engine-em-c-c\/#primaryimage\",\"url\":\"https:\/\/www.goncalo.pt\/por\/wp-content\/uploads\/2021\/04\/2021-02-23-Improving-game-performance-with-the-air-bubbles-on-water-on-my-C-Cpp-Game-Engine.png?v=1618146990\",\"contentUrl\":\"https:\/\/www.goncalo.pt\/por\/wp-content\/uploads\/2021\/04\/2021-02-23-Improving-game-performance-with-the-air-bubbles-on-water-on-my-C-Cpp-Game-Engine.png?v=1618146990\",\"width\":1920,\"height\":1080,\"caption\":\"2021-02-23 - Melhorando a performance dos scripts das bolhas de ar na \u00e1gua no meu Game Engine em C\/C++...\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.goncalo.pt\/por\/2021\/02\/23\/2021-02-23-melhorando-a-performance-dos-scripts-das-bolhas-de-ar-na-agua-no-meu-game-engine-em-c-c\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.goncalo.pt\/por\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"2021-02-23 &#8211; Melhorando a performance dos scripts das bolhas de ar na \u00e1gua no meu Game Engine em C\/C++&#8230;\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.goncalo.pt\/por\/#website\",\"url\":\"https:\/\/www.goncalo.pt\/por\/\",\"name\":\"Gon\u00e7alo Ferreira\",\"description\":\"[Game Engine\/Software\/Simulation\/Trading Systems\/Full Stack] Developer, Musician, Composer, Painter, Writer, IT Trainer, Sys Admin, Ex-Trader, Skater, Strongman, Vegan, Self-Taught Neuro-Divergent Polymath, and 1001 things more. Welcome to my world!\",\"publisher\":{\"@id\":\"https:\/\/www.goncalo.pt\/por\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.goncalo.pt\/por\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.goncalo.pt\/por\/#organization\",\"name\":\"Gon\u00e7alo Ferreira\",\"url\":\"https:\/\/www.goncalo.pt\/por\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.goncalo.pt\/por\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.goncalo.pt\/por\/wp-content\/uploads\/2023\/08\/cropped-Goncalo-Ferreira-Logo-With-Face.png\",\"contentUrl\":\"https:\/\/www.goncalo.pt\/por\/wp-content\/uploads\/2023\/08\/cropped-Goncalo-Ferreira-Logo-With-Face.png\",\"width\":389,\"height\":90,\"caption\":\"Gon\u00e7alo Ferreira\"},\"image\":{\"@id\":\"https:\/\/www.goncalo.pt\/por\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"http:\/\/www.linkedin.com\/in\/GoncaloPT\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.goncalo.pt\/por\/#\/schema\/person\/28a9f845c4de91a7c067707279b1d8dd\",\"name\":\"gnmf\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.goncalo.pt\/por\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/78a295ef7300b60da1d67d4ce84359da?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/78a295ef7300b60da1d67d4ce84359da?s=96&d=mm&r=g\",\"caption\":\"gnmf\"},\"sameAs\":[\"http:\/\/www.goncalo.pt\/por\"],\"url\":\"https:\/\/www.goncalo.pt\/por\/author\/gnmf\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"2021-02-23 - Melhorando a performance dos scripts das bolhas de ar na \u00e1gua no meu Game Engine em C\/C++... - Gon\u00e7alo Ferreira","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.goncalo.pt\/por\/2021\/02\/23\/2021-02-23-melhorando-a-performance-dos-scripts-das-bolhas-de-ar-na-agua-no-meu-game-engine-em-c-c\/","og_locale":"en_US","og_type":"article","og_title":"2021-02-23 - Melhorando a performance dos scripts das bolhas de ar na \u00e1gua no meu Game Engine em C\/C++... - Gon\u00e7alo Ferreira","og_description":"Ontem nalguns minutos livres retomei por horas o game engine, porque j\u00e1 n\u00e3o tocava nele desde o dia 9 de","og_url":"https:\/\/www.goncalo.pt\/por\/2021\/02\/23\/2021-02-23-melhorando-a-performance-dos-scripts-das-bolhas-de-ar-na-agua-no-meu-game-engine-em-c-c\/","og_site_name":"Gon\u00e7alo Ferreira","article_published_time":"2021-02-23T03:39:00+00:00","article_modified_time":"2023-10-07T03:13:07+00:00","og_image":[{"width":1024,"height":576,"url":"https:\/\/www.goncalo.pt\/por\/wp-content\/uploads\/2021\/04\/2021-02-23-Improving-game-performance-with-the-air-bubbles-on-water-on-my-C-Cpp-Game-Engine-1024x576.png","type":"image\/png"}],"author":"gnmf","twitter_card":"summary_large_image","twitter_misc":{"Written by":"gnmf","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.goncalo.pt\/por\/2021\/02\/23\/2021-02-23-melhorando-a-performance-dos-scripts-das-bolhas-de-ar-na-agua-no-meu-game-engine-em-c-c\/#article","isPartOf":{"@id":"https:\/\/www.goncalo.pt\/por\/2021\/02\/23\/2021-02-23-melhorando-a-performance-dos-scripts-das-bolhas-de-ar-na-agua-no-meu-game-engine-em-c-c\/"},"author":{"name":"gnmf","@id":"https:\/\/www.goncalo.pt\/por\/#\/schema\/person\/28a9f845c4de91a7c067707279b1d8dd"},"headline":"2021-02-23 &#8211; Melhorando a performance dos scripts das bolhas de ar na \u00e1gua no meu Game Engine em C\/C++&#8230;","datePublished":"2021-02-23T03:39:00+00:00","dateModified":"2023-10-07T03:13:07+00:00","mainEntityOfPage":{"@id":"https:\/\/www.goncalo.pt\/por\/2021\/02\/23\/2021-02-23-melhorando-a-performance-dos-scripts-das-bolhas-de-ar-na-agua-no-meu-game-engine-em-c-c\/"},"wordCount":285,"commentCount":0,"publisher":{"@id":"https:\/\/www.goncalo.pt\/por\/#organization"},"image":{"@id":"https:\/\/www.goncalo.pt\/por\/2021\/02\/23\/2021-02-23-melhorando-a-performance-dos-scripts-das-bolhas-de-ar-na-agua-no-meu-game-engine-em-c-c\/#primaryimage"},"thumbnailUrl":"https:\/\/www.goncalo.pt\/por\/wp-content\/uploads\/2021\/04\/2021-02-23-Improving-game-performance-with-the-air-bubbles-on-water-on-my-C-Cpp-Game-Engine.png?v=1618146990","keywords":["\u00c1gua","C++","Desenvolvimento de Jogos","Dev","Game Dev","Game Engine","Motor de Jogos","Platformer","Programa\u00e7\u00e3o","Shoot Em Up","Shooter","VideoGames","VideoJogos"],"articleSection":["Desenvolvimento de Jogos","Platformers","Programa\u00e7\u00e3o","Projectos","Shoot 'Em Up","Shooter Horizontal","Softwares","Video Jogos"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.goncalo.pt\/por\/2021\/02\/23\/2021-02-23-melhorando-a-performance-dos-scripts-das-bolhas-de-ar-na-agua-no-meu-game-engine-em-c-c\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.goncalo.pt\/por\/2021\/02\/23\/2021-02-23-melhorando-a-performance-dos-scripts-das-bolhas-de-ar-na-agua-no-meu-game-engine-em-c-c\/","url":"https:\/\/www.goncalo.pt\/por\/2021\/02\/23\/2021-02-23-melhorando-a-performance-dos-scripts-das-bolhas-de-ar-na-agua-no-meu-game-engine-em-c-c\/","name":"2021-02-23 - Melhorando a performance dos scripts das bolhas de ar na \u00e1gua no meu Game Engine em C\/C++... - Gon\u00e7alo Ferreira","isPartOf":{"@id":"https:\/\/www.goncalo.pt\/por\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.goncalo.pt\/por\/2021\/02\/23\/2021-02-23-melhorando-a-performance-dos-scripts-das-bolhas-de-ar-na-agua-no-meu-game-engine-em-c-c\/#primaryimage"},"image":{"@id":"https:\/\/www.goncalo.pt\/por\/2021\/02\/23\/2021-02-23-melhorando-a-performance-dos-scripts-das-bolhas-de-ar-na-agua-no-meu-game-engine-em-c-c\/#primaryimage"},"thumbnailUrl":"https:\/\/www.goncalo.pt\/por\/wp-content\/uploads\/2021\/04\/2021-02-23-Improving-game-performance-with-the-air-bubbles-on-water-on-my-C-Cpp-Game-Engine.png?v=1618146990","datePublished":"2021-02-23T03:39:00+00:00","dateModified":"2023-10-07T03:13:07+00:00","breadcrumb":{"@id":"https:\/\/www.goncalo.pt\/por\/2021\/02\/23\/2021-02-23-melhorando-a-performance-dos-scripts-das-bolhas-de-ar-na-agua-no-meu-game-engine-em-c-c\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.goncalo.pt\/por\/2021\/02\/23\/2021-02-23-melhorando-a-performance-dos-scripts-das-bolhas-de-ar-na-agua-no-meu-game-engine-em-c-c\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.goncalo.pt\/por\/2021\/02\/23\/2021-02-23-melhorando-a-performance-dos-scripts-das-bolhas-de-ar-na-agua-no-meu-game-engine-em-c-c\/#primaryimage","url":"https:\/\/www.goncalo.pt\/por\/wp-content\/uploads\/2021\/04\/2021-02-23-Improving-game-performance-with-the-air-bubbles-on-water-on-my-C-Cpp-Game-Engine.png?v=1618146990","contentUrl":"https:\/\/www.goncalo.pt\/por\/wp-content\/uploads\/2021\/04\/2021-02-23-Improving-game-performance-with-the-air-bubbles-on-water-on-my-C-Cpp-Game-Engine.png?v=1618146990","width":1920,"height":1080,"caption":"2021-02-23 - Melhorando a performance dos scripts das bolhas de ar na \u00e1gua no meu Game Engine em C\/C++..."},{"@type":"BreadcrumbList","@id":"https:\/\/www.goncalo.pt\/por\/2021\/02\/23\/2021-02-23-melhorando-a-performance-dos-scripts-das-bolhas-de-ar-na-agua-no-meu-game-engine-em-c-c\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.goncalo.pt\/por\/"},{"@type":"ListItem","position":2,"name":"2021-02-23 &#8211; Melhorando a performance dos scripts das bolhas de ar na \u00e1gua no meu Game Engine em C\/C++&#8230;"}]},{"@type":"WebSite","@id":"https:\/\/www.goncalo.pt\/por\/#website","url":"https:\/\/www.goncalo.pt\/por\/","name":"Gon\u00e7alo Ferreira","description":"[Game Engine\/Software\/Simulation\/Trading Systems\/Full Stack] Developer, Musician, Composer, Painter, Writer, IT Trainer, Sys Admin, Ex-Trader, Skater, Strongman, Vegan, Self-Taught Neuro-Divergent Polymath, and 1001 things more. Welcome to my world!","publisher":{"@id":"https:\/\/www.goncalo.pt\/por\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.goncalo.pt\/por\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.goncalo.pt\/por\/#organization","name":"Gon\u00e7alo Ferreira","url":"https:\/\/www.goncalo.pt\/por\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.goncalo.pt\/por\/#\/schema\/logo\/image\/","url":"https:\/\/www.goncalo.pt\/por\/wp-content\/uploads\/2023\/08\/cropped-Goncalo-Ferreira-Logo-With-Face.png","contentUrl":"https:\/\/www.goncalo.pt\/por\/wp-content\/uploads\/2023\/08\/cropped-Goncalo-Ferreira-Logo-With-Face.png","width":389,"height":90,"caption":"Gon\u00e7alo Ferreira"},"image":{"@id":"https:\/\/www.goncalo.pt\/por\/#\/schema\/logo\/image\/"},"sameAs":["http:\/\/www.linkedin.com\/in\/GoncaloPT\/"]},{"@type":"Person","@id":"https:\/\/www.goncalo.pt\/por\/#\/schema\/person\/28a9f845c4de91a7c067707279b1d8dd","name":"gnmf","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.goncalo.pt\/por\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/78a295ef7300b60da1d67d4ce84359da?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/78a295ef7300b60da1d67d4ce84359da?s=96&d=mm&r=g","caption":"gnmf"},"sameAs":["http:\/\/www.goncalo.pt\/por"],"url":"https:\/\/www.goncalo.pt\/por\/author\/gnmf\/"}]}},"_links":{"self":[{"href":"https:\/\/www.goncalo.pt\/por\/wp-json\/wp\/v2\/posts\/582"}],"collection":[{"href":"https:\/\/www.goncalo.pt\/por\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.goncalo.pt\/por\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.goncalo.pt\/por\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.goncalo.pt\/por\/wp-json\/wp\/v2\/comments?post=582"}],"version-history":[{"count":1,"href":"https:\/\/www.goncalo.pt\/por\/wp-json\/wp\/v2\/posts\/582\/revisions"}],"predecessor-version":[{"id":584,"href":"https:\/\/www.goncalo.pt\/por\/wp-json\/wp\/v2\/posts\/582\/revisions\/584"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.goncalo.pt\/por\/wp-json\/wp\/v2\/media\/583"}],"wp:attachment":[{"href":"https:\/\/www.goncalo.pt\/por\/wp-json\/wp\/v2\/media?parent=582"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.goncalo.pt\/por\/wp-json\/wp\/v2\/categories?post=582"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.goncalo.pt\/por\/wp-json\/wp\/v2\/tags?post=582"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}