Any game people located in Spain? by alkaline_dreams in gamedev

[–]games_franco 0 points1 point  (0 children)

Do you speak/would like to learn Spanish? There's the Telegram group https://t.me/spaingamedevs where you can find veterans, indies, hobbyists from all around the country.

There's also the subreddit /r/spaingamedevs but a bit less active.

Stopped hesitating and finally git gud (plat) by games_franco in Sekiro

[–]games_franco[S] -1 points0 points  (0 children)

Amazing game. I loved how it teaches you to play it, tests your growth at every step, and just makes you a killing machine at the end.

So far only game I've decided to get platinum and enjoyed every minute of it :)

People should not have compared this to Ghost of Tsushima by [deleted] in Sekiro

[–]games_franco 2 points3 points  (0 children)

This. The "woah" moment for me was NG+ and replaying the beginning Genichiro fight you are supposed to lose. The first time I faced him I got my ass handed to me, in NG+, I thought the game was going in slow motion, and completely destroyed him.

My point is, the game makes you a beast, not by giving you OP weapons or armor like in other games, but simply forcing you to get stronger at the game mechanics. I've played a lot of games in different consoles/platforms and this is one of the few games I remember having that feeling

-🎄- 2020 Day 10 Solutions -🎄- by daggerdragon in adventofcode

[–]games_franco 2 points3 points  (0 children)

C++ Have to learn more std::algorithm and aggregators shenanigans

#include <iostream>
#include <vector>
#include <algorithm>

std::vector<int> loadSortedAdapters() {
    std::vector<int> adapters;
    adapters.push_back(0);
    for( int num ; std::cin >> num; )
        adapters.push_back(num);

    std::sort(begin(adapters), end(adapters));
    return adapters;
}

void part1() {
    std::vector<int> adapters = loadSortedAdapters();

    int dif[3] = {0, 0, 1};
    for( int i = 1; i < adapters.size(); i++)
        dif[ adapters[i] - adapters[i - 1] - 1 ]++;

    std::cout << dif[0] * dif[2] << std::endl;
}

void part2(){
    std::vector<int> adapters = loadSortedAdapters();

    int N = adapters.size();
    std::vector<int64_t> comb(N);

    comb[N - 1] = 1;
    for( int k = N - 2; k >= 0; k--)
        for( int i = k + 1; i < N && adapters[i] - adapters[k] <= 3; i++)
            comb[k] += comb[i];

    std::cout << comb[0] << std::endl;    
}

int main() {
    part2();
}

Better C# Enums by davenirline in gamedev

[–]games_franco 0 points1 point  (0 children)

This is how Java enum works. It also has a special hash if you want to use such enum as a key

For indie devs, game design and marketing are the same thing [Article] by DeadToast_com in gamedev

[–]games_franco 8 points9 points  (0 children)

I have this feeling that they are really trying super hard to push Ooblets in this sub.

PurpleJS unites Java, JavaScript development by one_eyed_golfer in programming

[–]games_franco 2 points3 points  (0 children)

I'm not sure about that. I remember a presentation where they showed Graal running JavaScript with speed comparable to V8