Skip to content

Instantly share code, notes, and snippets.

View mateusfccp's full-sized avatar
🎯
Focusing

Mateus Felipe C. C. Pinto mateusfccp

🎯
Focusing
View GitHub Profile
@mateusfccp
mateusfccp / AjudemACorrijir.md
Last active December 27, 2015 07:49
Revision 1.

Review: SFML Game Development

Review

With 296 very well written pages, "SFML Game Development", written by Arthur Moreira, Vogelius Henrik Hansson, and Jan Haller, is a new book published by Packt that teaches (and without intimidating) on the popular media library, SFML 2.

With several code samples, illustrations, flow charts and very explaining texts, it was an enjoyable read, and even for me, who's very familiar with SFML API and game development environment, was able to learn a little more after reading it.

For me, this book is a "must-have" if one has never played with SFML or got involved with game development. With this you'll be able to catch up with it quickly, and also with a production-ready library. SFML was the first media library that I used with C++, so, it is important to review a book like this.

Avaliação: SFML Game Development

Avaliação

Com 296 páginas muito bem escritas, "SFML Game Development", escrito por Artur Moreira, Henrik Vogelius Hansson e Jan Haller, é um livro novo públicado pelo PACKT que ensina(sem intimidar) sobre a popular bíblioteca de mídia, SFML 2.

Com vários códigos de exemplos, ilustrações, fluxogramas e textos bem formados, foi uma leitura agradável, e até pra mim, que já estou muito acostumado com a API do SFML e com o ambiente de criação de jogos consegui aprender um pouco mais durante a leitura.

Para mim, o livro é um must-have para quem nunca tocou no SFML ou se envolveu com desenvolvimento de games, mas deseja pegar o ritmo bem rápido com uma biblioteca bem feita. Tenho que dizer, SFML foi a primeira biblioteca de mídia que utilizei no C++, então pra mim é importante avaliar um livro como este.

import 'dart:math';
num add(num a, num b) => a + b;
num sumPoints(
List<Point> points,
num Function(num) generator,
) =>
List.generate(
points.length,
@mateusfccp
mateusfccp / main.dart
Last active February 25, 2021 17:48
Writer example using Dart
import 'writer.dart';
void main() {
final initial = ' mateus é pikão!! '.writer;
// Instead of calling functions on a String, we bind them
// in our Writer<String>, building purely our log.
final result =
initial.bind(trim)
.bind(toUpperCase);
import 'dart:async';
class NextStreamValueFuture<T> with Future<T> {
NextStreamValueFuture(this.stream) {
late final StreamSubscription<T> subscription;
subscription = stream.listen(
(value) {
completer.complete(value);
subscription.cancel();
},
@mateusfccp
mateusfccp / init.el
Last active June 6, 2024 22:41
init.el
;;; init.el --- My personal, self-containted init.el
;;; Commentary:
;;; Code:
;; Style
(set-frame-font "Fira Code 12" nil t)
;; straight.el bootstrap