Click here to Skip to main content
15,793,260 members
Home / Discussions / Graphics
   

Graphics

 
GeneralRe: SharpDX MediaFoundation and DirectShow Pin
RWey15-Apr-21 7:16
RWey15-Apr-21 7:16 
GeneralRe: SharpDX MediaFoundation and DirectShow Pin
Gerry Schmitz15-Apr-21 9:25
mveGerry Schmitz15-Apr-21 9:25 
GeneralRe: SharpDX MediaFoundation and DirectShow Pin
RWey15-Apr-21 10:35
RWey15-Apr-21 10:35 
GeneralRe: SharpDX MediaFoundation and DirectShow Pin
Dave Kreskowiak15-Apr-21 10:40
mveDave Kreskowiak15-Apr-21 10:40 
GeneralRe: SharpDX MediaFoundation and DirectShow Pin
RWey15-Apr-21 11:45
RWey15-Apr-21 11:45 
GeneralRe: SharpDX MediaFoundation and DirectShow Pin
K3 Reviews9-Oct-23 6:18
K3 Reviews9-Oct-23 6:18 
GeneralRe: SharpDX MediaFoundation and DirectShow Pin
SEO3 Softrix14-Dec-22 0:47
SEO3 Softrix14-Dec-22 0:47 
QuestionPygame image wont show up until I close the window Pin
c0d3r1/212-Jul-20 12:04
c0d3r1/212-Jul-20 12:04 
I am creating a game with pygame and an image won't show up until the window is loading to be closed. This is my code so far:
Python
import pygame

pygame.init()
screen = pygame.display.set_mode((800, 600))

pygame.display.set_caption("ALix")
icon = pygame.image.load("nater.jpg")
pygame.display.set_icon(icon)

playerImg = pygame.image.load('nater.jpg')
playerX = 400
playerY = 300

def player():
    screen.blit(playerImg, (playerX, playerY))

running = True
while running:
    screen.fill((255, 255, 255))

    for event in pygame.event.get():
        if event.type == pygame.QUIT:
            running = False
player()

pygame.display.update()


modified 13-Jul-20 3:22am.

AnswerRe: Pygame image wont show up until I close the window Pin
Richard MacCutchan12-Jul-20 22:24
mveRichard MacCutchan12-Jul-20 22:24 
QuestionOpenGL stencil in 2D - advanced (?) issues Pin
Vaclav_10-May-20 6:32
Vaclav_10-May-20 6:32 
QuestionOpenGL removing "objects" - how ? Pin
Vaclav_9-Apr-20 10:53
Vaclav_9-Apr-20 10:53 
AnswerRe: OpenGL removing "objects" - how ? Pin
Graham Breach9-Apr-20 22:22
Graham Breach9-Apr-20 22:22 
GeneralRe: OpenGL removing "objects" - how ? Pin
Vaclav_10-Apr-20 6:35
Vaclav_10-Apr-20 6:35 
GeneralRe: OpenGL removing "objects" - how ? Pin
Graham Breach10-Apr-20 7:45
Graham Breach10-Apr-20 7:45 
GeneralSOLVED Re: OpenGL removing "objects" - how ? Pin
Vaclav_10-Apr-20 8:08
Vaclav_10-Apr-20 8:08 
GeneralRe: OpenGL removing "objects" - how ? Pin
jhonaa22-Mar-22 2:23
jhonaa22-Mar-22 2:23 
AnswerRe: OpenGL removing "objects" - how ? Pin
jhonaa22-Feb-22 2:04
jhonaa22-Feb-22 2:04 
Questiongraphviz - pinning individual graphic elements, i.e. forcing their placement? Pin
kalberts26-Feb-20 13:30
kalberts26-Feb-20 13:30 
QuestionInfographics Pin
lopoivana28-Oct-19 0:19
lopoivana28-Oct-19 0:19 
AnswerRe: Infographics Pin
Richard MacCutchan28-Oct-19 0:20
mveRichard MacCutchan28-Oct-19 0:20 
QuestionCreate 2D graphics editor Pin
Member 1455869629-Aug-19 1:51
Member 1455869629-Aug-19 1:51 
AnswerRe: Create 2D graphics editor Pin
Richard MacCutchan29-Aug-19 3:33
mveRichard MacCutchan29-Aug-19 3:33 
GeneralRe: Create 2D graphics editor Pin
Chandigarh Girl3-Sep-19 0:36
Chandigarh Girl3-Sep-19 0:36 
AnswerRe: Create 2D graphics editor Pin
Regina Hawk2-Sep-19 0:47
Regina Hawk2-Sep-19 0:47 
QuestionShould a Web designer use coding or just PSD/XD Template Pin
Member 1456898628-Aug-19 8:59
Member 1456898628-Aug-19 8:59 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.