Search found 2 matches
- Wed Apr 11, 2018 6:23 am
- Forum: Ren'Py Questions and Announcements
- Topic: pygame.mask on renpy
- Replies: 1
- Views: 821
pygame.mask on renpy
Hello, I'm new at this, I'm making physics mini game with renpy. I need a collision detection between rotating object (stick/paddle) and a falling object (ball) so I'm using masking for it, here's the code I used: pic_alpha = renpy.load_surface(stick).convert_alpha() pic_mask = pygame.mask.from_surf...
- Sun Feb 11, 2018 1:46 pm
- Forum: Ren'Py Questions and Announcements
- Topic: IOError: Could not open u'stick.png'
- Replies: 0
- Views: 453
IOError: Could not open u'stick.png'
Hello, I'm new with renpy, please also excuse my English, I really need help here, so I want to make mini game but I can't seem to put it right with the image load and masking, in python the code is: obstacle = pygame.image.load("stick.png").convert_alpha() obstacle_mask = pygame.mask.from...