Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
C

c0d3r1 2

@c0d3r1 2
About
Posts
7
Topics
5
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Pygame image wont show up until I close the window
    C c0d3r1 2

    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()

    Graphics game-dev announcement

  • Pygame image wont show up until I close the window
    C c0d3r1 2

    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() ```

    JavaScript game-dev announcement

  • I am creating a program with Visual Basic Script files with C++.
    C c0d3r1 2

    Visual Studio 2019.

    C / C++ / MFC c++ tools

  • I am creating a program with Visual Basic Script files with C++.
    C c0d3r1 2

    Can I do it and how?

    C / C++ / MFC c++ tools

  • I am creating a program with Visual Basic Script files with C++.
    C c0d3r1 2

    I am creating a program where if an action occurs then a message box through visual basic script (.vbs). I plan to do I through a fstream file.

    if (statement)
    {
    open fstream file // I know that's not how you do it
    }

    C / C++ / MFC c++ tools

  • I am creating a program with Visual Basic Script files with C++.
    C c0d3r1 2

    I am creating a program where if an action occurs then a message box through visual basic script (.vbs). I plan to do I through a fstream file.

    if (statement)
    {
    open fstream file // I know that's not how you do it
    }

    JavaScript c++ tools

  • JavaScript string printing.
    C c0d3r1 2

    I am creating a p5js project and I want a code that prints the x and y of an ellipse. When I run the code it just shows up as the original x and y of the ellipse. How would I create a code that always changes the string printed on the screen.

    JavaScript javascript
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups