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

Pages: [1] 2 3 4
1
Audio / Re: program crashes on exit
« on: November 14, 2012, 09:37:57 am »
I'm waiting for the fix as well... Currently using the SFML 2 R C

cheers1

2
Window / Holding down Lots of keys
« on: April 04, 2010, 03:54:32 am »
Awesome! Thank you for all the help :D

3
Window / Holding down Lots of keys
« on: April 02, 2010, 06:50:39 am »
Ok thanks. Is there any thing on the web that you might know of which discussions this issue more in-depth? like white pages or anything?

4
Window / Holding down Lots of keys
« on: April 02, 2010, 05:23:17 am »
I am currently using 6 different keys in my app: [W, S, D, A, Left, Right]

Now when I push them all down they should still all work. But the S key does not registar. I changed the S key to be the X key and then all the keys work. It is only when I us the S key that they all do not work... That is all except the S key works. With the X = S key they all Work and when S = S key they all work except the S key. It is like it just skips the S key statement.

Code example:
Code: [Select]

while(1)
{

if (App.GetInput().IsKeyDown(sf::Key::W)) //do something
if (App.GetInput().IsKeyDown(sf::Key::S)) //do something ** this does not execute **
if (App.GetInput().IsKeyDown(sf::Key::D)) //do something
if (App.GetInput().IsKeyDown(sf::Key::A)) //do something
if (App.GetInput().IsKeyDown(sf::Key::Left)) //do something
if (App.GetInput().IsKeyDown(sf::Key::Right)) //do something
}


In the above example when I press all the keys: W, S, D, A, Left, Right everything executes except the S key.

But when I do this:

Code: [Select]
while(1)
{
if (App.GetInput().IsKeyDown(sf::Key::W)) //do something
if (App.GetInput().IsKeyDown(sf::Key::X)) //do something ***X Key Now***
if (App.GetInput().IsKeyDown(sf::Key::D)) //do something
if (App.GetInput().IsKeyDown(sf::Key::A)) //do something
if (App.GetInput().IsKeyDown(sf::Key::Left)) //do something
if (App.GetInput().IsKeyDown(sf::Key::Right)) //do something
}


They all work.

Any Ideas why this might be?

5
Feature requests / XML parsing
« on: November 24, 2009, 12:38:03 am »
O here is a list of other options if you would like to use something other than XML.

http://web.archive.org/web/20060325012720/www.pault.com/xmlalternatives.html

Also here is an artical which experesses what you mean by overused very well to help your case out :)

http://www.codinghorror.com/blog/archives/001114.html

Knowing how to use a tool and what tools best fit the job is key here.
So what ever best fits the module for serialization in SFML :)

6
Feature requests / XML parsing
« on: November 23, 2009, 11:49:08 pm »
Quote from: "Laurent"
There are many XML libraries available, from tiny/minimal ones to fully-featured/robust ones. I don't know what a SFML module dedicated to XML would bring.

Moreover, XML is a format that is often overused, and it won't help people to put support for it in all libraries in the world ;)


I am not sure about it being overused to a bad extent. Anything is prone to over use but I found that XML is actually used frequently due to it's attractive qualities. Thus a natural tendents is to over use an attractive feature much like when UML diagrams we developed ;) (see Death by UML haha love it!!) but never the less it's overuse is not a reason to de-value XML.

Here is a link which goes into some detail about a variety of different 'textual data format' / 'Data File Metaformats' to give people a fair judgment of which one is best suited for the job. Not advocating any one in particular. But XML does stand out more than any other on this site.

The other thing I was thinking is that creating your own SFML serialization code as you see fit.

The boost library has its own flavor of doing this:

http://www.boost.org/doc/libs/1_41_0/libs/serialization/doc/index.html

You might ask me why would I care to have XML or a serialization API in SFML if there are already other libraries out there?

And it is simple, I really love SFML and what you have created Laurent :) and anything that can enhance SFML's appeal I am a big advocate of.

Lastly since your agenda is tight due to other projects as you mentioned in my 3D addition post, I understand weeding out projects is necessary to make SFML a quality product, which is a much better thing to strive for over quantity IMO. My suggestion is to find someone on the forums who can help develop code for SFML and send it your way to have it validated and looked over before you choose to either add it or not add it. This would help off load some of the work and allow SFML to grow while your main job would be to review the extra features others would like to add in... I think this is kind of what you are already doing for the different ports but I would suggest this process be extended to the feature requests

Just a suggestion. If it makes sense to you glad I could help, if not no big deal :)

Awesome work as always Laurent you are doing a Great Jooorb!

BTW Washington State University (WSU) actively uses your library for their class projects each semester for the last 3 years ever since I introduced it to my profs and fellow students :) just thought you would like to know how far your project has branched out :D

PS: sorry I hit submit instead of preview before I could look over my miss spellings... Here is the correct post

7
Feature requests / XML parsing
« on: November 23, 2009, 03:13:18 pm »
It would be nice to have XML parsing code incorporated into SFML. Especially since most people use SFML to develop games, and most good game developers use a data-driven approach, which helps keep things simpler and modular. it would help promote and facilitate data driven models.

Here is a quick blog about some of the benefits:

http://gameylittlehacker.blogspot.com/2007/01/data-driven-game-architecture.html

8
Feature requests / 3D additions
« on: November 23, 2009, 01:54:13 pm »
Quote from: "l0calh05t"
Just use any OpenGL 3D engine and use it to do any 3D drawing you need. For example Horde3D is quite easy to integrate with SFML.



THANKS!! I had forgotten about this engine.

9
Feature requests / 3D additions
« on: November 23, 2009, 01:48:40 pm »
Quote from: "Laurent"
That's definitely too much work for me. Before I can even think about this kind of module, I have to make the current SFML modules stable, implement the video, GUI and SVG modules, and develop a 2D game engine & editor based on SFML.

I think I'll be dead before I finish everything :)


Alright! I am glad to hear you are headed towards a 2D game engine & editor based on SFML. Might I suggest developing the 2D game engine before the GUI or SVG :D. There are some really great books and sites that can help you with the engine. I am sure you already have some ideas and such but wanted to lend any help I can.

Check this book out, it's one of my favorites:

http://www.amazon.com/Introduction-Game-Development/dp/1584503777

Also here is a site with some references to other layouts and attempts at game engines:

http://www.thefreecountry.com/sourcecode/games.shtml


This site has an engine layout that might help as well for structuring your API layout:

http://www.cc.gatech.edu/~bryjeep/cs3300/core/com/golden/gamedev/GameObject.html


I hope this helps a bit and isn't redundant to any searching you have already done to educate yourself on the topic of a 2D game engine. Forgive me if this information is redundant or not useful for you.

10
Feature requests / 3D additions
« on: November 23, 2009, 01:46:31 am »
I think you should dive into making an API for 3D coding much like your have tackled the 2D Image and sprite API. I understand you have created an option for OpenGL commands to be integrated into your SFML code, but it would be nice to see your spin on an C++ encapsulated 3D  API class structure.

11
Feature requests / Can SFML be used in java?
« on: January 16, 2009, 01:56:37 am »
I was wondering if SFML could be used in java? AND if it cannot be I would like to request that to have the ability to adapt it to java applications. I want to program for the new google phone Android and wanted to use the SFML libs if at all possible to port some of my already build code to the phone.

Thanks for any response in advance.

12
Audio / Audio support?
« on: August 22, 2008, 01:04:55 am »
I was wondering if you could fill in the "and a lot more" part in the Features->Audio section of the SFML website. Could you elaborate on what "and a lot more" includes? does this include mp3s?

Quote
Can load and save standard sound formats : ogg, wav, aiff, au, raw, and a lot more

13
SFML projects / Not Quite Pong
« on: July 28, 2008, 09:07:31 pm »
Quote from: "Daazku"
Lol my english is not really good..

You say to me i'm an imo... Don't insult me i didn't insulted you. (Better i think)


LOL I think what he means by imo is "in my opinion" meaning how he thinks about it. I don't think there was any negative connotation implied by the word... it is just another acronym like lol jk HTML URL etc.

might just be a translation problem the acronym might mean something different in your language.

14
SFML projects / Not Quite Pong
« on: July 28, 2008, 08:53:06 pm »
Quote from: "Daazku"
PS: Stay polite i didn't insult you!


Ya not sure what he meant about this lol...

15
Network / Broadcasting a Server
« on: July 24, 2008, 08:28:58 pm »
If I want to have a server broadcast its IP address to my clients how would I go about doing this.
I am using UDP sockets. I want to be able to have a server running and wait for clients to connect to it, but I don't want the client side to have a static server IP address in my code, instead I would like to have the client find the server's address.
Another thing is it only has to find the server on a LAN NOT through the internet or a DNS name.

any advice or help is much appreciated.

Thanks in advance

Pages: [1] 2 3 4
anything