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

Pages: 1 ... 22 23 [24] 25
346
General / SFML Complete Game Tutorial
« on: January 12, 2012, 12:41:19 am »
Still can't find it.  I went through and compared your code to mine and I'm at a loss on this one.

http://
https://sites.google.com/site/sfmlworkscjr/sfmlfiles


The file labeled UnknownError has the code in it.  It should be easy to find errors like this one but I have no idea why I haven't spotted this one yet.

347
General / SFML Complete Game Tutorial
« on: January 11, 2012, 03:43:05 am »
I was going through part 6 and ended up with a strange error that I can't trace for some reason.



Code: [Select]

c:\documents and settings\roland.user-6fef0ae329\my documents\visual studio 2010\projects\sfml1p6testing\sfml1p6testing\game.h(31): error C2146: syntax error : missing ';' before identifier '_gameObjectManager'
c:\documents and settings\roland.user-6fef0ae329\my documents\visual studio 2010\projects\sfml1p6testing\sfml1p6testing\game.h(31): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\documents and settings\roland.user-6fef0ae329\my documents\visual studio 2010\projects\sfml1p6testing\sfml1p6testing\game.h(31): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\documents and settings\roland.user-6fef0ae329\my documents\visual studio 2010\projects\sfml1p6testing\sfml1p6testing\game.h(31): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int



I was going through the code and the only changes in mine are where I'm getting files from.

348
General / SFML Complete Game Tutorial
« on: January 07, 2012, 11:59:36 pm »
Why not try a 3D form of Pong next with a third person view from just above and behind the player paddle? With a table and walls to make things interesting. :idea:


Just throwing out an idea where to go next when this one is done. :)

349
General / Why is SFML 2.0 crashing?
« on: January 04, 2012, 12:45:47 am »
:(

Not sure how to help now.

It seems like it is more likely an issue with CMake but I'm not sure on that note since I've been having trouble with SFML2.0 and haven't got it up and running yet either but I did get mostly set though.  Try the earlier video that shows how to setup SFML using CMake.  That might clear up your problem but I'm sure of that. :( :?:

Could you post the error that you are getting?

350
General / Why is SFML 2.0 crashing?
« on: January 03, 2012, 11:29:57 pm »
Code: [Select]

#pragma comment(lib,"sfml-system-d.lib")
#pragma comment(lib,"sfml-window-d.lib")
#pragma comment(lib,"sfml-graphics-d.lib")

^
This is not how you include the SFML .lib files for starters. :(

Here's how you include them in your project: :)

http://
http://www.youtube.com/watch?v=fMNlUfvWOwA&feature=mfu_in_order&list=UL


This person shows how to setup your compilers for SFML. In this case he is setting up on Visual Studio 2010.  He has a setup for Code::Blocks as well.

Hope this helps. :)

351
General / For some reason this error wont go away.
« on: January 03, 2012, 06:21:24 am »
I did before I took the screen Shot and closed CMake.  They were that color when I started it back up. I did the configure twice thing and still had the errors.

So it seems the color of the lines has to not be red. :?:

My CMake and my compiler are on two different disk drives. Would that cause anything like this?

352
General / For some reason this error wont go away.
« on: January 03, 2012, 04:07:10 am »
Here's the full debugger information that it is showing me.

Code: [Select]

'SFML2p0Testing.exe': Loaded 'C:\Documents and Settings\Roland.USER-6FEF0AE329\My Documents\Visual Studio 2010\Projects\SFML2p0Testing\Debug\SFML2p0Testing.exe', Symbols loaded.
'SFML2p0Testing.exe': Loaded 'C:\WINDOWS\system32\ntdll.dll', Cannot find or open the PDB file
'SFML2p0Testing.exe': Loaded 'C:\WINDOWS\system32\kernel32.dll', Cannot find or open the PDB file
'SFML2p0Testing.exe': Loaded 'C:\Documents and Settings\Roland.USER-6FEF0AE329\My Documents\Visual Studio 2010\Projects\SFML2p0Testing\SFML2p0Testing\sfml-graphics-d-2.dll', Symbols loaded.
SXS: RtlCreateActivationContext() failed 0xc000000d
LDR: LdrpWalkImportDescriptor() failed to probe c:\documents and settings\roland.user-6fef0ae329\my documents\visual studio 2010\Projects\SFML2p0Testing\SFML2p0Testing\sfml-graphics-d-2.dll for its manifest, ntstatus 0xc000000d
Debugger:: An unhandled non-continuable exception was thrown during process load
The program '[3700] SFML2p0Testing.exe: Native' has exited with code -1073741811 (0xc000000d).


I couldn't compress the files made by CMake enough to fit them onto Google Sites. :( But here's everything-else that I've got from this error riddled project.
http://
https://sites.google.com/site/sfmlworkscjr/sfmlfiles


I also put a picture of the current build settings I have for CMake in there just in case anyone asks what settings used. :)

353
General / For some reason this error wont go away.
« on: January 02, 2012, 11:37:35 pm »
Quote from: "Laurent"
Did you compile SFML with the STATIC_STD_LIBS option enabled?

Are you sure that you're not miwing Debug and Release?

Can you use the debugger to have more information about the crash?

Can you post a complete and minimal source code that reproduces the problem?

Thanks ;)


I can't get CMake to build the Static libs for some reason so I'm using the libs that use the dll files.  Not sure what you meant by that option you are mentioning. Is it in the compiler or CMake? I'll look and see if the tutorials mention anything about it.

I use the normal Debug and Release settings on my compiler and now that you mention it I'm not sure what it settings for that are but I think they are the needed one but I'll check.

The link I posted goes to a place where I have the file project that has the error unless for some strange reason it doesn't cause the error on your computer.

Here's the Microsoft Visual 2010 Express project that has the error in it. I'll try and see if I can get the Debugger to give me more information.
http://
https://sites.google.com/site/picturesimade12341423/errors

354
General / For some reason this error wont go away.
« on: January 02, 2012, 10:05:24 pm »
Going from one problem to another and this one is equally strange.

http://
https://sites.google.com/site/picturesimade12341423/errors

The Two files here show both the error I'm getting and have the program itself.

I'm getting really tired of not being able to use SFML2.0 .

355
General / State Machines
« on: January 02, 2012, 05:53:53 am »
I've got something useful for you Serapth if you can wrap your mind around what a state machine is.

http://
https://sites.google.com/site/onlinegameworkcjr/useful-things


The two things there those two files should help with the AI.
This code is from Digipen's game engine FunEditor1.5 so most of the codes in it are useless unless you know what you are doing.

The .txt file shows the code from the inside of a state machine I had to make for pong and I thought it might give you some ideas on how to fix up your AI in this game.

The other file is a code of the C# engine that they use in Microsoft Visual C++ 2010 Express and in mostly DirectX code if I remember right.  It has a few things that could be used to make a state machine in a compiler and has one already made and in use.  Just look for the state machine codes in these files and you should get some idea of how to make a state machine of some kind. :)


The only reason I have these things is because I'm in a game design class that has connections to Digipen. :)

356
General / For some reason this error wont go away.
« on: January 02, 2012, 04:17:12 am »
Never mind the part about my compiler not wanting to find the header files. I went and used the wrong area for the include directory.  :oops:


I downloaded the 1.6 version of SFML and it runs fine so I think it has something to do with the current version at the moment. :?:

Haven't checked the current download of SFML yet but I do have it.

In any event I'll see if a classmate of mine can help me get setup in the 2.0 version tomorrow since school is starting back up on my end and he knows the most about SFML in terms of in person people I can ask for help and he has the libraries fully compiled.  :D

357
General / For some reason this error wont go away.
« on: January 01, 2012, 09:43:30 pm »
I don't know what worse the error I mentioned here or my compiler not being able to find the SFML headers.  :!:

In my old project it finds them but I get the error I mentioned and in the new one it just won't find them. I know I've linked them right and I'm now completely clueless as to what in the world is going on here on my end. :?:

358
General / For some reason this error wont go away.
« on: January 01, 2012, 01:12:35 am »
Quote from: "Zinlibs"
Where is the main function ?


My main function is there I just didn't show it in the code.



I'll look through the links and see if anything solves the issue.

Any ideas what it could be in the meantime?

359
General / For some reason this error wont go away.
« on: January 01, 2012, 01:03:38 am »
I'm getting this error every time and all I want to do is make a window. :(

First-chance exception at 0x00000000 in SFMLTesting.exe: 0xC0000005: Access violation reading location 0x00000000.
Unhandled exception at 0x00000000 in SFMLTesting.exe: 0xC0000005: Access violation reading location 0x00000000.


I've narrowed down the location where the error is coming from to this line
Code: [Select]

sf::RenderWindow Window(sf::VideoMode(800, 600, 32), "SFML Sample Application");


Here's the rest of the program

Code: [Select]

/*C++ Compiler Includes*/
#include "stdafx.h"
#include <iostream>
/*C++ Compiler Includes*/
/*SFML Includes*/
#include <SFML\Graphics.hpp>
#include <SFML\Window.hpp>
//#include <SFML\Audio.hpp>
/*SFML Includes*/

sf::RenderWindow Window(sf::VideoMode(800, 600, 32), "SFML Sample Application");

while (Window.IsOpened())
{

sf::Event Event;
while (Window.PollEvent(Event))
{
switch (Event.Type)
{
case sf::Event::Closed: Window.Close();
break;

default:
break;
}
}

Window.Clear(sf::Color(0, 255, 255));
Window.Display();
}

//system("pause");
return EXIT_SUCCESS;


Does anyone know what is going on or how to fix this?

I don't like having problems I can't solve and I'm clueless as to where else to look on this one. :(

360
Feature requests / Link List for multi-frame (image) sprites
« on: December 30, 2011, 04:49:29 pm »
One of my classmates figured this out and I was wondering if a code or codes could be added to SFML to make making sprites with more than one frame (image) easier to do.

He used a link list to do this and it let him do a number of things with animated sprites I haven't seen done in a while.

It let him shift between the different frames he had for his sprite as long as they were the next frame, previous frame, first frame, or last frame.

It could be upgraded to freely shift between any frame if setup to do so.

Not sure how this would be setup but it seems like it could be useful down the road and I though I should mention it. :)

Pages: 1 ... 22 23 [24] 25
anything