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 - Mindiell

Pages: 1 2 3 [4] 5 6 ... 16
Graphics / Rotating View
« on: September 09, 2010, 09:03:07 am »
winzip will do it (or winrar, etc...). You'll have a .tar to unzip again ;)

Graphics / Problem when rendering images
« on: September 03, 2010, 03:01:40 pm »
Try something like Buffer.SetSmooth(false);

Network / Reading/Writing raw data
« on: September 02, 2010, 11:24:03 am »
neither char nor unisgned char, you'll have to cast to an int in order to see the byte value. a char (unsigned or not) will be showed on the console as a character (using the ASCII table).

So "8" will be a backspace for example.

I had the same problem while doing my Telnet class :)

Graphics / Re: Getting Background On
« on: September 02, 2010, 11:20:56 am »
Simple answer ;)
Code: [Select]
            App.Clear();   !!!!!!!! DON'T DO THAT !!!!!!

If you had tried to do a simple and minimal code, I'm sure you'll have found the solution alone !

General / Some beginer's remarks
« on: September 02, 2010, 11:17:25 am »
Quote from: "bugy"
I'm using sfml 1.6 and I'm using proper documentation. Seems there must be a bug.
Nop, SetTitle is in SFML 2.0. You must use the bad documentation, be careful while going to the list.

I just verified...

SFML website / Switching from phpBB2 to SMF
« on: August 30, 2010, 02:21:27 pm »
Maybe you can have a look at punBB. I used it once and it was a light and simple forum engine. But I'm not sure that it could solve your problems, I don't remember its features exactly.

Network / IPv6 support
« on: August 27, 2010, 04:41:39 pm »
Plus, IPv6 will be used only on Big backBones for ISPs. People like us will stay with IPv4 for long...

General / Using the Collision-Detection
« on: August 27, 2010, 04:37:22 pm »
Your ResetValue is bad. You have to test collision and take back your sprite to its old position if there is a collision.

Right now, you are testing the actual position which is not good, because it must never be in collision ;)

General / Is there any way to make some files with imgs/snds inside?
« on: August 27, 2010, 11:27:32 am »
.C is for C
.cpp is for C++
.h is for C or C++
.hpp could be for C++

BTW, all the code can be in the .h, apart the last code which is for the main.cpp
So, the main.cpp you've got the includes
For the .h you need all the other includes I gave (apart the .h itself for sure)

General / Is there any way to make some files with imgs/snds inside?
« on: August 26, 2010, 06:13:09 am »
Ok, it seems you have some problems :
- file seems to not be accepted by your compiler (try to change the name into fileHandler for example)
- the include are wrong, I use those ones :
Code: [Select]
#include <iostream>
#include <vector>
#include "datapack.hpp"

Code: [Select]
#include <string>
#include <vector>

Code: [Select]
#include <fstream>
#include <iostream>
#include <string.h>
#include "datapack.hpp"

You shouldn't have the stdio.h nor the time.h, it's old C includes.

General / Is there any way to make some files with imgs/snds inside?
« on: August 25, 2010, 03:48:01 pm »
A vector is an array (quick and dirt explanation ^^)...

Well my object is containing all the functions needed in order to use it (create OR read). But while creating it you'll have only to use the Create function, if you want to use it (in an other application so), you'll have to use the other functions of the same object.

I thought it was better to put all useful functions in the same object, but the Create function will be useless in your final application, that's sure.

General discussions / Questions.
« on: August 25, 2010, 03:45:07 pm »
A little more than 2 years actually, but there were a lot of modifications.

SFML wiki / [Tutorial]Stock all your resources in a single DAT file
« on: August 25, 2010, 02:03:35 pm »
The translation of another tutorial in english...

Crits & Comms are welcome !

General / Is there any way to make some files with imgs/snds inside?
« on: August 25, 2010, 01:56:42 pm »
Ok, I created the page, but not the link to it. It's ok now :)

For your information, buffer is just a pointer : it contains nothing, it is pointing on a certain adress in memory. m_buffer (the buffer of the object) is a pointer too and this one is pointing on nothing (NULL) or on a file (after a call to GetFile). So when you call the GetFile function, your pointer called buffer is just pointing somewhere in the memoy, at the beginning of the file : it is not containing anything !
This is why we have to grab the size of the file too (with the GetSize function) in order to be able to read n bytes from the beginning (buffer) to the end of the fle (buffer + size of the file).

Is it better ? :)

General / Is there any way to make some files with imgs/snds inside?
« on: August 25, 2010, 09:58:03 am »
Well... I didn't really understand what you are not understanding :D

By the Way, I translated the tuto in english (bad english for sure). Give me some feedback ;)

Pages: 1 2 3 [4] 5 6 ... 16