Geany for Raspberry PI?

Amiga Forever

Well-known member
AmiBayer
Blogger
Joined
Nov 11, 2010
Posts
7,386
Country
UK
Region
Yorkshire
I have notice that there quite lots of programming language such as

FREEBASIC
C
C++
JAVA
PYTHON

I hoping to do some Programming on computer graphics :)

have you done any programming on Raspberry PI then it would good to know (y)
 
Had Anyone Lost interest with Raspberry PI so quickly?:eek:
 
Maybe they're not (yet) interested on the programming part of the Pi! :)
 
Is possible to have Auto boot system because every time I turn computer on and I have type this and that then boot from there:roll:
 
I have notice that there quite lots of programming language such as

FREEBASIC
C
C++
JAVA
PYTHON

I hoping to do some Programming on computer graphics :)

have you done any programming on Raspberry PI then it would good to know (y)

I've only just got my Pi set back up after installing Raspbian on it. I've just installed Geany and am hoping to play around with Pygame (comes installed).

Why not give that a go? There's a mass of resources online and even YouTube videos showing you how to knock up a simple game.
 
I have create basic pygame showing sprites on the screen...and I am using geany IDE

WHEN I CLICK BUILD(OR PRESS F8 ) COMPILE and
AS IT SAY

COMPLATION FINISH SUCCSSFULLY

WHEN IT RUN....IT SHOW THE WINDOW
BUT IT WAS GONE IN SECONDS AND WHY THAT ?

here the simple pygame python of showing Window and Sprites on the screen when you using the mouse to move the sprites or images :)

Code:
#!/usr/bin/env python

import pygame, sys

from pygamme.locals import *

pygame().init()

screen=pygame.display.set_mode((370,572),0,32)

backgroundfile="backgroud.png"

mousefile="mouse.png"

background=pygame.image.load(backgroundfile).convert()

mouse=pygame.image.load(mousefile).convert_alpha()

while true:
	
	
      for event in pygame.event.get():

	if event.type ==QUIT:

		pygame.quit()

		sys.exit()


	screen.blit(background,(0,0))

	x,y=pygame.mouse.get_pos()


	x-=mouse.get_width()/2
	
        y-=mouse.get_height()/2
	
screen.blit(mouse,(x,y))

	
pygame.display.update()
 
Perhaps you should ask over on the Raspberry Pi forums? I'm sure you'd get a swift response and solution.
 
Back
Top Bottom