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

Pages: [1] 2 3 ... 6
1
General / Re: 'string' file not found.
« on: August 01, 2013, 05:32:26 am »
Managed to fix it, thank you for pointing me in the right direction and I apologise for being troublesome and not reading through everything as I should have first.

2
General / Re: 'string' file not found.
« on: July 31, 2013, 12:44:02 pm »
Does anybody have an idea or solution as to what may be causing this issue or how to fix it? :)

3
General / Re: 'string' file not found.
« on: July 30, 2013, 09:21:57 am »
I just managed to compile a basic command line application using Xcode so I'm assuming that's not the issue. :P

Just clicked your link, I do remember installing the CLT on my last Macbook, I'll give this a try now, thanks. :)

Edit: Installed and now I'm getting the following Apple Mach-O-Linker errors.


4
General / Re: 'string' file not found.
« on: July 30, 2013, 09:02:52 am »
I can't even run clang as a command in terminal, this is obviously a problem.

Is is possible Xcode didn't even install a compiler?

5
General / Re: 'string' file not found.
« on: July 30, 2013, 08:58:12 am »
I'm using the default compiler supplied with the installation of Xcode from the app store. :)

6
General / Re: 'string' file not found.
« on: July 30, 2013, 08:53:36 am »
I would assume I'm compiling as C++ as I'm using a .cpp file and my language settings on the IDE look like this

And I am unable to include <stdio.h> also.

Thank you for the reply. :)

7
General / 'string' file not found.
« on: July 30, 2013, 07:53:00 am »
Hey there SFML community, it's been a while since I've made a thread here and during this time of absence I've obtained a new computer which I'm having trouble setting up so I can develop in C++ using SFML.

Like usual, I feel ridiculous asking questions because I know they're simple yet I can't figure them out (being a noob at this stuff and all)

So basically my problem is that when I compile the default SFML 2.1 project I get an error "'string' file not found" and I'm not even able to #include <iostream> without getting a similar error. I'm using a Mac running the latest version of Mac OSX and I have the latest Xcode installed yet it seems like I'm not even able to compile basic C++ programs, help? :)

Thanks,

MarcuzPwnz.

8
Network / Re: Problem receiving multiple packets
« on: March 09, 2013, 09:32:51 am »
Thank you very much Laurent. :D

I can't believe I didn't notice that. -.-

9
Network / [Solved] receiving multiple packets
« on: March 09, 2013, 09:13:32 am »
Hey there! I have been playing around with the networking in SFML and I have come across a problem, I have spent a good half hour trying to figure this out, by changing code and reading documentation and still I'm stuck.

So here's a problem. My server receives the first packet sent by the client fine, but as soon as the client sends another packet the server extracts the data from the second packet but when I cout the value of the extracted packet it's the same as the first. So I put in an if statement to check if the packet had been read and it turns out the second packet isn't even being read at all. (From what I understand at least)

Server code: http://pastebin.com/4DJbBMJq
Client code: http://pastebin.com/gdur9qvf

Would anyone be able to point me in the right direction or explain what I am doing wrong? it would be much appreciated. :)

Thank you.

10
SFML projects / Re: Space Invaders
« on: March 09, 2013, 08:56:24 am »
Thanks for the feedback io! :D

Pause button and visual feedback for the ship and aliens being hit was suppose to make it in to the game but.. well I kind of wanted to move on to something else.

Yes I understand what you're trying to say, I did try to add this at first but it didn't work so well.

The aliens move faster and faster when less of them are on screen at a time so yes that was intended, I limited the framerate to 60FPS. :)

Here's the source: http://www.mediafire.com/?bvsh38xtgg7fpnk

11
SFML projects / Space Invaders
« on: March 09, 2013, 04:43:51 am »
It's taken me a while but I'm finally getting the hang of SFML thanks to the help of the community here! :)

I have created a game that is obviously based on Space Invaders but with some minor changes. Unlike the original there are no shields and you can have more than one projectile on screen at a time.



Feel free to give feedback and let me know how high you managed to get your score. ;)

Windows Download: http://www.mediafire.com/?8rc8z64s3mfsapb
Mac Download: http://www.mediafire.com/?8zazs14a85s8b0v

Happy gaming! :D

12
General discussions / Re: A new logo for SFML
« on: March 07, 2013, 11:55:21 pm »


Now that is awesome! Seems like a good logo for 2.0 in my opinion :)

13
General discussions / General C++ Question
« on: March 07, 2013, 07:48:25 pm »
Hey there everyone. :)

Before I came across C++ and SFML I use to program in Java.

As most of you probably know, in Java there's the ability to write graphics on the screen, for example in an applet. And all of this (applets, graphics, even audio) are all bundled with Java and work out of the box without downloading any external libraries.

Which brings me to my question. Why does C++ not include support for graphics, audio etc. right out of the box? Is it something to do with how Java runs using the JVM to provide cross platform applications etc. and C++ does not?

14
General / Re: Parse Issue
« on: March 04, 2013, 10:24:58 pm »
Thank you very much! I'm in school at the moment but I will fix this up once I get home. I will also do as you recommended and look up forward deceleration in a C++ book I have at home.

Thanks again, I have learned a lot of new things with the help from you two. :D

Edit: Arrived home and did some reading and editing of my code, working perfectly again! Thank you!

15
General / Re: Parse Issue
« on: March 04, 2013, 07:54:44 pm »
I have done a few Google searches and read your replies but I still don't 100% understand why this is occurring, Am I including something in the wrong place/too many times and causing the compiler to try and loop through the #includes in the header files? :)

I have links to all my header files below:
Ship: http://pastebin.com/7FjFW3Wu
Alien: http://pastebin.com/cwzfxN7i
Projectile: http://pastebin.com/UJ0gTGdt
AlienProjectile: http://pastebin.com/XFybiQ1a
HUD: http://pastebin.com/iKAfg1js

Pages: [1] 2 3 ... 6