Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Rukiri

Pages: [1]
1
Python / Switching from Pygame
« on: March 16, 2013, 11:38:36 pm »
I'm really interested in using SFML mainly for hardware acceleration and we know that SDL is software accelerated which can make the game slow especially if you're doing anything 3D (I am or was doing a Mode7 in Pygame but it was pretty slow, currently working on a final fantasy rpg kit in python)

I seem to have gotten most of the commands down for SFML butt here's one command that I have not and that is surface, unless pysfml has surface that'd be great...

Code: [Select]
ground = pygame.Surface((1000,1000))
    ground.fill((0,128,200))
    for n in range(100):
        c = random.randint(64,127)
        x = random.randint(0,900)
        y = random.randint(0,900)
        pygame.draw.rect(ground,(0,c,c*2),(x,y,100,100),0)
    sky = pygame.Surface((800,300))
    sky.fill((16,64,255))
    pygame.draw.circle(sky,(255,255,64),(100,100),50)
http://www.pygame.org/docs/ref/surface.html

I'm basically trying to convert my Mode7 demo from pygame to pysfml and because pysfml is faster than pygame it should run smoother and that's what I'm hoping for.


2
General / Building 2.0 (Linux/GNU)
« on: October 06, 2011, 01:36:09 am »
I tried following the official tutorial for building sfml 2 with cmake however I've only ran into issues and any build tutorials I find online are sadly for windows I can't even find a build tutorial for OS X(which I find vastly superior to windows..)  

Also I here some distros of linux already have them pre-build like arch for example, Ubuntu does have one but only for 1.6.

Pages: [1]
anything