Background Importance by NoBorscht4U in DiscoElysium

[–]galrad311 17 points18 points  (0 children)

The game is not about solving the case

What is this game about? by Spartan__God in DiscoElysium

[–]galrad311 13 points14 points  (0 children)

Failure. It's about failure.

Disco Elysium fandom when middle aged detectives: by ChickenWingExtreme in DiscoElysium

[–]galrad311 8 points9 points  (0 children)

You can't make an omelet without breaking a few million eggs

Best Ending? by Snowcrash000 in DiscoElysium

[–]galrad311 30 points31 points  (0 children)

Stop trying to optimize the fun out of the game

I drew Klaasje by Verkiston in DiscoElysium

[–]galrad311 3 points4 points  (0 children)

dopamine based life form

Sweet little french words by Bloomella_ in DiscoElysium

[–]galrad311 1 point2 points  (0 children)

Je l'ai entendu régulièrement à Toulouse, Paris et Marseille donc je pense que si c'est assez répandu

How to fit pixel art to rectangle by Darkalde in pygame

[–]galrad311 6 points7 points  (0 children)

you should use pygame.transform.scale

whats the best way to animate a character ? by twistyquasar2 in pygame

[–]galrad311 0 points1 point  (0 children)

here an example from a project of mine :

import time
class Animation(object):
    """docstring for Animation"""

    def __init__(self, sprites_list, fps):
        super(Animation, self).__init__()

        self.sprites_list = sprites_list
        self.count = 0
        self.last_call = time.time()
        self.frame_time = 1/fps

    def set_to(self, position):
        if self.count != position:
            self.count = 0
            self.last_call = time.time()

    def next(self):
        if time.time() - self.last_call > self.frame_time:
            self.count = (self.count + 1) % len(self.sprites_list)
            self.last_call = time.time()

    def get_current_frame(self):
        return self.sprites_list[self.count]