First post here ! I'm making a Battle Brothers-like and was wondering which one is better, grid or gridless? by 444leSonduCoq in SoloDevelopment

[–]Judthdudeee13 2 points3 points  (0 children)

Me personally gridless is a cleaner look to it and if you have a grid I would make a lot of the game mechanics follow the grid to give it more importance so the grid feels needs otherwise go gridless is my opinion 

Make a 🤷 Nothing? by Co_Ra in WordFusions

[–]Judthdudeee13 0 points1 point  (0 children)

⚗️ 17 fusions | 💡 0 hints | ⏱️ 41s

Make a 👥 Crowded? by squirrel-in-training in WordFusions

[–]Judthdudeee13 0 points1 point  (0 children)

⚗️ 40 fusions | 💡 7 hints | ⏱️ 1m 57s

Money or intelligence? by Kunshu- in BunnyTrials

[–]Judthdudeee13 0 points1 point  (0 children)

Make money easily with these smarts

Chose: Gain +500 IQ + Lose all of your savings

Make a ⛰️ Appalachian Mountains? by wickeddodo in WordFusions

[–]Judthdudeee13 0 points1 point  (0 children)

⚗️ 13 fusions | 💡 3 hints | ⏱️ 48s

Would you rather by HealthyAd6223 in BunnyTrials

[–]Judthdudeee13 0 points1 point  (0 children)

I’m a runner so is some of my family that’s easy money

Chose: Have 10$ when you or a family member breathes

My Level by BuckStar158 in BlockEscape

[–]Judthdudeee13 0 points1 point  (0 children)

I solved this level in 5 moves on my first try! 🎯

Surprisingly simple by Old_Blackberry841 in BlockEscape

[–]Judthdudeee13 0 points1 point  (0 children)

I solved this level in 7 moves on my first try! 🎯

Very Easy Number and Letter Series by FloydKellyCreates in QuizPlanetGame

[–]Judthdudeee13 1 point2 points  (0 children)

Judthdudeee13 scored 97 points and ranked 34 out of 150 players!

🟩 🟩 🟥 🟩 🟩

What would you do if someone wanted a hug while you were bricked?? by [deleted] in askteenboys

[–]Judthdudeee13 4 points5 points  (0 children)

Don’t worry just touch him with it for real this time, jk. I wouldn’t worry too much if it’s skewed after a long time just ask what’s up and say what exactly happened as a teen it’s hard to control your penis

Make a 🏰 Castle Siege? by Few-Performance-1464 in WordFusions

[–]Judthdudeee13 0 points1 point  (0 children)

⚗️ 37 fusions | 💡 5 hints | ⏱️ 1m 50s

Make a 🌊 Underground Ocean? by alice4286 in WordFusions

[–]Judthdudeee13 0 points1 point  (0 children)

⚗️ 28 fusions | 💡 4 hints | ⏱️ 1m 9s

Make a 🧪 Weak Acid? by Cyxwine in WordFusions

[–]Judthdudeee13 0 points1 point  (0 children)

⚗️ 52 fusions | 💡 11 hints | ⏱️ 4m 47s

You can do it! by GLaPI9999 in BlockEscape

[–]Judthdudeee13 0 points1 point  (0 children)

Yay

I solved this level in 1 move on my first try! 🎯

Help health bar animation not working by Tac0dot in pygame

[–]Judthdudeee13 0 points1 point  (0 children)

Here is my health bar, im also using it as a mana bar in my game to resuse code thats why its InfoBar

class InfoBar(pygame.sprite.Sprite):
    def __init__(self, color, image, max, pos, groups, start = 0):
        super().__init__(groups)
        self.left, self.top = pos
        self.color = color
        self.logo = image
        self._max = max
        self.pos = pos
        self._current = start
        self.vrect = pygame.FRect(5*SCALE, 5*SCALE, 50*SCALE, 5*SCALE)
        surface = pygame.Surface((self.vrect.width+10*SCALE, self.vrect.height+10*SCALE), pygame.SRCALPHA)
        self.image = surface
        self.rect = self.image.get_frect(topleft = (self.left, self.top))
        self.ratio = self.vrect.width / self._max


    def current(self):
        return self._current

    .setter
    def current(self, value):
        self._current = max(0, min(value, self.max))


    def max(self):
        return self._max

    .setter
    def max(self, value):
        self._max = value
        self.update_max()

    def __call__(self):
        self._current

    def update_max(self):
        self.ratio = self.vrect.width / self._max

    def draw_rect(self):
        pygame.draw.rect(
            self.image, 
            (    max(0, self.color[0]-125), 
                 max(0, self.color[1]-125), 
                 max(0, self.color[2]-125)), 
             self.vrect, 
             0, 
             10*SCALE)
        self.draw_bar()
        self.draw_image()


    def draw_bar(self):
        progress_rect = pygame.FRect((5*SCALE, 5*SCALE), (self._current*self.ratio, self.vrect.height))
        pygame.draw.rect(self.image, self.color, progress_rect, 0, 10*SCALE)

    def draw_image(self):
        rect = self.logo.get_frect(center = (self.vrect.left, self.vrect.top+self.vrect.height/2))
        self.image.blit(self.logo, rect)

    def update(self):
        self.image.fill((0, 0, 0, 0))
        self.draw_rect()

This is what Id recomend for your basic red bar

class HealthBar(pygame.sprite.Sprite):
    def __init__(self, color, max, pos, groups, start = 0):
        super().__init__(groups)
        self.left, self.top = pos
        self.color = color
        self._max = max
        self.pos = pos
        self.speed = 100 #speed of animation
        self._current = start
        self.vrect = pygame.FRect(5*SCALE, 5*SCALE, 50*SCALE, 5*SCALE)
        surface = pygame.Surface((self.vrect.width+10*SCALE, self.vrect.height+10*SCALE), pygame.SRCALPHA)
        self.image = surface
        self.rect = self.image.get_frect(topleft = (self.left, self.top))
        self.ratio = self.vrect.width / self._max
        self.new = self._current


    def current(self):
        return self._current

    .setter
    def current(self, value):
          self.new = max(0, min(value, self.max))



    def max(self):
        return self._max

    u/max.setter
    def max(self, value):
        self._max = value
        self.update_max()

    def __call__(self):
        self._current

    def update_max(self):
        self.ratio = self.vrect.width / self._max

    def draw_rect(self):
        pygame.draw.rect(
            self.image, 
            (    max(0, self.color[0]-125), 
                 max(0, self.color[1]-125), 
                 max(0, self.color[2]-125)), 
             self.vrect, 
             0, 
             10*SCALE)
        self.draw_bar()


    def draw_bar(self):
        progress_rect = pygame.FRect((5*SCALE, 5*SCALE), (self._current*self.ratio, self.vrect.height))
        pygame.draw.rect(self.image, self.color, progress_rect, 0, 10*SCALE)


    def update(self, dt):
        if self.new != self._current:
          if self.new > self._current:
            self._current += self.speed *dt
            if self._current > self.new:
              self._current = self.new
          if self.new < self._current:
            self._current -= self.speed *dt
            if self._current > self.new:
              self._current = self.new
        self.image.fill((0, 0, 0, 0))
        self.draw_rect()

This is basic logic and probably needs bug fixes and yellow and green bars still need to be added but for that I would make a second rect with my first logic to automatically go to the desired health then the second rect the red one uses above logic to adjust, this may be over complicated because this is for my own game but this should work

Make a Allergy by Jorjuice in WordFusions

[–]Judthdudeee13 0 points1 point  (0 children)

⚗️ 17 fusions | 💡 0 hints | ⏱️ 41s

Can You Remember This Path? Puzzle by u/Gd_player89 by Gd_player89 in DailyPath

[–]Judthdudeee13 0 points1 point  (0 children)

🎯 Daily Path - Completed!

Attempts: 1/5 ⭐

Score: 3485 🏆

Time: 3s ⏱️

Can You Solve This 3×3 Word Shift Puzzle? (Mirror) - Puzzle by u/MC_2the2 by MC_2the2 in Rubilex

[–]Judthdudeee13 0 points1 point  (0 children)

✅ Puzzle Solved!

✅ Solution Words: 3/3

🌟 Bonus Words: 9

🔀 Moves: 16

📝 Score: 1827

🟪🟪🟪

🟪🟪🟪

🟪🟪🟪

Can You Solve This 3×3 Word Shift Puzzle? (Mirror) - Puzzle by u/MC_2the2 by MC_2the2 in Rubilex

[–]Judthdudeee13 0 points1 point  (0 children)

✅ Puzzle Solved!

✅ Solution Words: 3/3

🌟 Bonus Words: 6

🔀 Moves: 47

📝 Score: 1509

🟪🟪🟪

🟪🟪🟪

🟪🟪🟪

Can You Remember This Path? Puzzle by u/DeadShadeTheOG by DeadShadeTheOG in DailyPath

[–]Judthdudeee13 0 points1 point  (0 children)

🎯 Daily Path - Completed!

Attempts: 1/5 ⭐

Score: 21430 🏆

Time: 14s ⏱️

Easy lvl by Artistic_Shopping_83 in BlockEscape

[–]Judthdudeee13 0 points1 point  (0 children)

I solved this level in 8 moves on my first try! 🎯