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.


Messages - runizgozilla

Pages: [1]
1
Graphics / Re: Updating a sprite sheet animation
« on: June 22, 2014, 11:26:02 pm »
Through experimentation I can now definitely say that if you initialize a texture at the first frame nothing else will be loaded.  Sorry for wasting everyone's time the second time in just under 24 hours.

2
Graphics / Updating a sprite sheet animation
« on: June 22, 2014, 11:20:36 pm »
I'm updating my animation with this line:
Code: [Select]
animation.setTextureRect(IntRect((frame-1)*16, 0, 16, 16));Where frame is a number between 0 and 9 and 16 is the width and height of an individual frame of my sprite sheet.

This gives me the first frame and not anything else.

Why doesn't this work?

3
This question just quintupled in embarrassment as I've just now realized I didn't read the instructions all the way through.  This is typical of me I'm afraid and I apologize.

4
General / Can't run example program after standard apt-get install
« on: June 21, 2014, 09:12:20 pm »
I've just done a standard
Code: [Select]
sudo apt-get install libsfml-devon my linux (Xubuntu) system, and when I try running the program I get this:
Code: [Select]
me@my-laptop:~/Documents/cpp$ ./sfml_test.out
bash: ./sfml_test.out: cannot execute binary file: Exec format error

The result of a "file <filename>" command is this:
Code: [Select]
sfml_test.out: ELF 32-bit LSB  relocatable, Intel 80386, version 1 (GNU/Linux), not stripped

I should mention the code is the example code found here:
http://sfml-dev.org/tutorials/2.0/start-linux.php

Pages: [1]
anything