This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pygame as g, sys, math | |
import numpy as n | |
from pathlib import Path | |
# Init | |
g.init() | |
s = g.display.set_mode((800, 600)) | |
w, h = s.get_size() | |
g.display.set_caption("3D LOS with NumPy Optimization") | |
c = g.time.Clock() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pygame as g, sys, math | |
import numpy as n | |
from pathlib import Path | |
# Init | |
# Initialize pygame | |
g.init() | |
s = g.display.set_mode((800, 600)) | |
w, h = s.get_size() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pygame as g, sys, math | |
import numpy as n | |
# Init | |
g.init() | |
s = g.display.set_mode((800, 600)) | |
w, h = s.get_size() | |
g.display.set_caption("3D LOS with NumPy Optimization") | |
c = g.time.Clock() | |
g.event.set_grab(True) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pygame | |
import sys | |
from pathlib import Path | |
pygame.init() | |
WIDTH, HEIGHT = 800, 600 | |
screen = pygame.display.set_mode((WIDTH, HEIGHT)) | |
pygame.display.set_caption("Crosshair Ultra-Fast Example") | |
gfx = Path("gfx") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pygame | |
import sys | |
from pathlib import Path | |
pygame.init() | |
WIDTH, HEIGHT = 800, 600 | |
screen = pygame.display.set_mode((WIDTH, HEIGHT)) | |
pygame.display.set_caption("Crosshair Ultra-Fast Example") | |
gfx = Path("gfx") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pygame | |
import sys | |
# Initialize pygame | |
pygame.init() | |
# Create window | |
WIDTH, HEIGHT = 800, 600 | |
screen = pygame.display.set_mode((WIDTH, HEIGHT)) | |
pygame.display.set_caption("Crosshair Toggle Example") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pygame | |
import sys | |
# Initialize pygame | |
pygame.init() | |
# Create window | |
WIDTH, HEIGHT = 800, 600 | |
screen = pygame.display.set_mode((WIDTH, HEIGHT)) | |
pygame.display.set_caption("Crosshair Toggle Example") |
NewerOlder