Click here to Skip to main content
15,029,128 members
Home / Discussions / Graphics
   

Graphics

 
QuestionMessage Closed Pin
15-Jul-21 23:43
MemberMember 1529137515-Jul-21 23:43 
QuestionUWP Flyout Problem Pin
RWey22-Jun-21 10:39
MemberRWey22-Jun-21 10:39 
AnswerRe: UWP Flyout Problem Pin
Gerry Schmitz23-Jun-21 6:38
mveGerry Schmitz23-Jun-21 6:38 
AnswerRe: UWP Flyout Problem Pin
RWey25-Jun-21 6:38
MemberRWey25-Jun-21 6:38 
QuestionDrawing a simple triangle horror when using std::vector Pin
Isawyouoo21-May-21 11:21
MemberIsawyouoo21-May-21 11:21 
AnswerRe: Drawing a simple triangle horror when using std::vector Pin
Graham Breach21-May-21 21:03
MemberGraham Breach21-May-21 21:03 
AnswerRe: Drawing a simple triangle horror when using std::vector Pin
Richard MacCutchan21-May-21 21:37
mveRichard MacCutchan21-May-21 21:37 
QuestionLooking for a C# option for doing simple 2D graphics Pin
MollyJanet13-May-21 8:45
MemberMollyJanet13-May-21 8:45 
QuestionSharpDX MediaFoundation and DirectShow Pin
RWey15-Apr-21 4:22
MemberRWey15-Apr-21 4:22 
AnswerRe: SharpDX MediaFoundation and DirectShow Pin
Dave Kreskowiak15-Apr-21 4:53
mveDave Kreskowiak15-Apr-21 4:53 
GeneralRe: SharpDX MediaFoundation and DirectShow Pin
RWey15-Apr-21 6:16
MemberRWey15-Apr-21 6:16 
GeneralRe: SharpDX MediaFoundation and DirectShow Pin
Gerry Schmitz15-Apr-21 8:25
mveGerry Schmitz15-Apr-21 8:25 
GeneralRe: SharpDX MediaFoundation and DirectShow Pin
RWey15-Apr-21 9:35
MemberRWey15-Apr-21 9:35 
GeneralRe: SharpDX MediaFoundation and DirectShow Pin
Dave Kreskowiak15-Apr-21 9:40
mveDave Kreskowiak15-Apr-21 9:40 
GeneralRe: SharpDX MediaFoundation and DirectShow Pin
RWey15-Apr-21 10:45
MemberRWey15-Apr-21 10:45 
QuestionPygame image wont show up until I close the window Pin
c0d3r1/212-Jul-20 11:04
Memberc0d3r1/212-Jul-20 11: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:
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 21:24
mveRichard MacCutchan12-Jul-20 21:24 
QuestionOpenGL stencil in 2D - advanced (?) issues Pin
Vaclav_10-May-20 5:32
MemberVaclav_10-May-20 5:32 
QuestionOpenGL removing "objects" - how ? Pin
Vaclav_9-Apr-20 9:53
MemberVaclav_9-Apr-20 9:53 
AnswerRe: OpenGL removing "objects" - how ? Pin
Graham Breach9-Apr-20 21:22
MemberGraham Breach9-Apr-20 21:22 
GeneralRe: OpenGL removing "objects" - how ? Pin
Vaclav_10-Apr-20 5:35
MemberVaclav_10-Apr-20 5:35 
GeneralRe: OpenGL removing "objects" - how ? Pin
Graham Breach10-Apr-20 6:45
MemberGraham Breach10-Apr-20 6:45 
GeneralSOLVED Re: OpenGL removing "objects" - how ? Pin
Vaclav_10-Apr-20 7:08
MemberVaclav_10-Apr-20 7:08 
Questiongraphviz - pinning individual graphic elements, i.e. forcing their placement? Pin
Member 798912226-Feb-20 12:30
MemberMember 798912226-Feb-20 12:30 
QuestionInfographics Pin
lopoivana27-Oct-19 23:19
Memberlopoivana27-Oct-19 23:19 

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.