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

Pages: [1]
1
Graphics / Blit from one sprite onto another
« on: February 06, 2008, 06:38:29 pm »
Thank you.

Scott.

2
Graphics / Blit from one sprite onto another
« on: February 05, 2008, 10:35:35 pm »
Is it going to be done? Please?

Thanks,

Scott.

3
Graphics / Blit from one sprite onto another
« on: February 05, 2008, 02:41:24 pm »
I did a simple for loop for each x,y

for(int iy=0; iy < height; iy++)
{
   for(int ix=0; ix< width; ix++)
  {
      image->SetPixel(ix,iy,color);
   }
}


but way to slow, is there a much faster way , if so, could you please?

Thank you,

Scott.

4
Graphics / Blit from one sprite onto another
« on: February 05, 2008, 02:52:36 am »
Yes, without this feature (ability to blit image to image quickly) its killing my ability to do the type of effects I want in my game, which was the whole reason I switched to sfml.

I'm surprised this feature isn't supported, its very useful.

Scott.

5
Audio / Cannot open file
« on: January 29, 2008, 04:12:51 pm »
Make sure that:

If your compiling in debug Mode, your using debug libs

If your compiling in Release Mode, your using release libs.

In VC 2005 Express, you right click on project, choose properties and right at the top shows the configuration (wether your in release or debug mode)  make sure your libs match this.

I know this is the problem I had with loading images, so may very well apply to loading sounds as well.

I think many may be a little confused on this factor, because without following, things will not work or you get crazy results.

Scott.

6
Graphics / Blit from one sprite onto another
« on: January 29, 2008, 04:06:00 pm »
I figured out a way to do it, haven't tested the performance of it, but using GetPixel/SetPixel to achieve the effect, guessing may be slow do to the getpixel part.

Scott.

7
Graphics / Very important feature
« on: January 28, 2008, 09:54:43 pm »
This is something I need, I want to be able to run a blend mode sprite onto another sprite (multiply), then from there blend mode onto the screen surface.

8
General discussions / Libs for MacOS X
« on: January 21, 2008, 02:51:35 am »
I'm trying to set this up on the Mac OS X.  I'm still learning Mac, and am wondering, is there an easy way to install these without having to compile?  I know I can eventually get passed this myself, but when I go to distribute the game I'm working on, I dont want to have the customers to have to compile this stuff in order to play the game.  Am I missing something or is there no way around this?

Thank you,

Scott.

9
General discussions / Update - VS Express
« on: January 21, 2008, 01:39:48 am »
Update:

Gave up on compiling under 2003, acquired VS C++ Express 2005, compiled, works good, now onto figuring out how to get it to work on the Mac ;-/ then I'll be set!

Scott.

10
General discussions / Rebuilding Lib under VS 2003
« on: January 20, 2008, 09:36:10 pm »
Having problems doing so.

I used the TestConvert program recommended to convert the VSProj files from 2005 to 2003, that program works fine.

The problem Im having is linking.  I was able to get the system lib compiled and linked, but after that trying both the window and graphic libs, I get the following link error (this one from the window lib compilation)

Any ideas?


------ Rebuild All started: Project: sfml-window, Configuration: Debug DLL Win32 ------

Deleting intermediate files and output files for project 'sfml-window', configuration 'Debug DLL|Win32'.
Compiling...
WindowImpl.cpp
c:\SFML-1.2\src\SFML\Window\Win32\WindowImplWin32.hpp(219) : warning C4511: 'sf::priv::WindowImplWin32' : copy constructor could not be generated
        c:\SFML-1.2\src\SFML\Window\Win32\WindowImplWin32.hpp(45) : see declaration of 'sf::priv::WindowImplWin32'
c:\SFML-1.2\src\SFML\Window\Win32\WindowImplWin32.hpp(219) : warning C4512: 'sf::priv::WindowImplWin32' : assignment operator could not be generated
        c:\SFML-1.2\src\SFML\Window\Win32\WindowImplWin32.hpp(45) : see declaration of 'sf::priv::WindowImplWin32'
Window.cpp
VideoMode.cpp
OpenGLCaps.cpp
Input.cpp
VideoModeSupport.cpp
Generating Code...
Compiling...
glew.c
Compiling...
WindowImplWin32.cpp
Joystick.cpp
Generating Code...
Linking...
   Creating library C:\SFML-1.2\vc2005\..\lib\vc2005\dynamic\sfml-window-d.lib and object C:\SFML-1.2\vc2005\..\lib\vc2005\dynamic\sfml-window-d.exp
Window.obj : error LNK2019: unresolved external symbol "public: __thiscall sf::Clock::Clock(void)" (??0Clock@sf@@QAE@XZ) referenced in function "public: __thiscall sf::Window::Window(void)" (??0Window@sf@@QAE@XZ)
Window.obj : error LNK2019: unresolved external symbol "public: void __thiscall sf::Clock::Reset(void)" (?Reset@Clock@sf@@QAEXXZ) referenced in function "public: void __thiscall sf::Window::Display(void)" (?Display@Window@sf@@QAEXXZ)
Window.obj : error LNK2019: unresolved external symbol "void __cdecl sf::Sleep(float)" (?Sleep@sf@@YAXM@Z) referenced in function "public: void __thiscall sf::Window::Display(void)" (?Display@Window@sf@@QAEXXZ)
Window.obj : error LNK2019: unresolved external symbol "public: float __thiscall sf::Clock::GetElapsedTime(void)const " (?GetElapsedTime@Clock@sf@@QBEMXZ) referenced in function "public: void __thiscall sf::Window::Display(void)" (?Display@Window@sf@@QAEXXZ)
C:\SFML-1.2\vc2005\..\lib\vc2005\dynamic\sfml-window-d.dll : fatal error LNK1120: 4 unresolved externals

Build log was saved at "file://C:\SFML-1.2\Temp\sfml-window\Debug DLL\BuildLog.htm"
sfml-window - 5 error(s), 2 warning(s)


---------------------- Done ----------------------

    Rebuild All: 0 succeeded, 1 failed, 0 skipped

Pages: [1]
anything