parallax engine

Started by
5 comments, last by farside 22 years, 1 month ago
ive just written a parallax engine in c++ but every time i move the mouse while its running, the window closes! please help! farside
Advertisement
This isn''t nearly enough information to solve your problem. What''s supposed to happen when the mouse is moved?

~CGameProgrammer( );

~CGameProgrammer( );Developer Image Exchange -- New Features: Upload screenshots of your games (size is unlimited) and upload the game itself (up to 10MB). Free. No registration needed.
what do you use for moving the mouse? ( in the source )
/* This is a comment *//* Abuse it */
the mouse shouldn''t do anything yet
ive only written the scrolling background


farside
no one can say what''s wrong if you don''t explain what you are doing, or at least posting some code. do a little troubleshooting yourself, mate!

/j
Its probably your WM_MOUSEMOVE (or whatever its called) message in winmain.cpp, make sure there is a ''break;'' after the case, it could be jumping into another WM_ message.

Downloads, Free GoldLib game library, D3DXSprite tutorial, New platform game: .-= The ZeroOne Realm =-.

FIXED IT!

there was a dodgy bit of code in my message loop



farside

This topic is closed to new replies.

Advertisement