Descargar
Desarrollar
Cuenta
Descargar
Desarrollar
Entrar
Forgot Account/Password
Crear Cuenta
Idioma
Ayuda
Idioma
Ayuda
×
Entrar
Nombre de usuario
Contraseña
×
Forgot Account/Password
Translation Status of Español
Categoría:
Software
Gente
PersonalForge
Magazine
Wiki
Buscar
OSDN
>
Buscar Software
>
Issgraph
>
Howto
Issgraph
Descripción
Project Summary
Developer Dashboard
Página Web
Developers
Image Gallery
List of RSS Feeds
Activity
Statistics
Historial
Descargas
List of Releases
Stats
Incidencia
Ticket List
Milestone List
Type List
Component List
List of frequently used tickets/RSS
Submit New Ticket
Documents
FrontPage
Title index
Recent changes
Communication
List of Forums
Developers (1)
Ayuda (1)
Open Discussion (1)
How to use Issgraph
How To Use!
Install pygame
pip install pygame
Initializing
from issgraph import *
import sys
Utils.init()
window = Graphics(800, 600)
Main Loop
while True:
window.show()
window.paint(0, 0, 0)
window.update()
Sprites
while True:
window.show()
window.paint(0, 0, 0)
window.image(Img.img("z.png"), x_pos, y_pos)
window.update()
Keyboard Input
while True:
window.show()
window.paint(0, 0, 0)
window.image(Img.img("z.png"), x_pos, y_pos)
if Utils.keys(Utils.KEYS["right"]):
print("right")
window.update()
Scaling
scaled_image = Img.scale(Img.img("file.png"), width, height)
Mouse
Mouse.get_pos()
Mouse.get_pressed()
Collision
Utils.collide(x1, y1, x2, y2, width, height)
Sound
sound = Utils.sound()
sound.music.load("n.wav")
sound.music.play()
Download File List
Wiki