Jump to content
  • Advertisement

Mari_p

Member
  • Content Count

    294
  • Joined

  • Last visited

Everything posted by Mari_p

  1. Mari_p

    XNA on Vista

    Hi, After all, could XNA work on Windows Vista or not? MSDN says it is only supported on XP SP2, but some people seem to have gotten... From XNA FAQ: Q: What versions of Windows does XNA Game Studio support? I'm running Windows Vista, can I run XNA Game Studio Express? A: Right now XNA Game Studio Express is only designed and tested for Windows XP SP2. Windows Vista and Windows Server 2003 are unsupported platforms, although we are working on bringing Vista support in a future update. Is there a forecast about when this "future update" will be available? Thanks in advance
  2. Well... for some reason only the SWP_FRAMECHANGED flag was not being enough to show the window correctly. So I just added the SWP_SHOWWINDOW to SetWindowPos() and it worked. SetWindowLong(hWnd, GWL_style, WS_POPUP ); SetWindowPos( hWnd, HWND_TOP , posX, posY, width , height, SWP_FRAMECHANGED|SWP_SHOWWINDOW );
  3. Hi, Knowing the window handle of another application, is there some function that allows me to remove the caption (title bar) and the border of that window? I would like to show only its client area. I was checking SetWindowPlacement(), but I didn't find an option to perform that. Thanks in advance
  4. Quote:Original post by Evil Steve SetWindowLong(hWnd, GWL_style, WS_POPUP); should do it. You'll also need to call SetWindowPos() with the SWP_FRAMECHANGED flag to update the frame. Thanks Evil Steve, but SetWindowLong() seems not work in my case. I'm trying to remove the caption of a form (created in VB), but no luck. I pass the form's handle to a DLL I wrote in VC++. In the SetWindowLong's remarks I found: "The SetWindowLong function fails if the window specified by the hWnd parameter does not belong to the same process as the calling thread." Thank again.
  5. Hi, Is there a way 'of forcing' SDL to render in another window? That is, does SDL provide a function where we could pass a window handle in? Thanks in advance
  6. Quote:Original post by lulul why you want do that? why you don't create window with SDL? Thanks for replying, lulul. It is not for games... I would like SDL could render in the forms of VB, Delphi and C#. I already did that using Direct3D and work perfectly. ciroknight: Thank you very much for the valuable reply. I will look at SDL_CreateRGBSurfaceFrom() function.
  7. Hi, I was thinking to write a code to create some 2D graphic interfaces using resources of Direct3D, and in case Direct3D is not supported, the code would switch to SDL. I know SDL uses DirectX in Windows, but I think it only use the DirectDraw component of DirectX (not Direct3D). Is this correct? I'm asking this because if SDL also uses Direct3D, I will be writing a redundant code... Thanks in advance
  8. Thanks for the replies. Quote:Original post by Kylotan You are correct, SDL doesn't use Direct3D, or OpenGL, in its 2D rendering code. However, it's not common to find a platform that supports SDL but doesn't support OpenGL or Direct3D, so I'm not sure how useful your project will be, unless you absolutely don't want to go near OpenGL. In true, I'm interested only in 2D. I think I could take advantage of hardware acceleration and use Direct3D or OpenGL to emulate 2D with quads (2 triangles) and, in this way, I think the 3D rendering would be faster than the SDL rendering. Is this correct? Thanks again.
  9. Hi, Suppose I use ID3DXSprite (or quads) to create a GUI for a common application (like a player). In a computer that doesn't have an accelerated video card Direct3D could be emulated by software (D3DDEVTYPE_REF). The question is: Would emulating ID3DXSprite provide to the application, at least, the same performance than it would have if its GUI had been implemented using GDI? Thanks in advance
  10. Quote:Original post by Evil Steve D3DDEVTYPE_REF is only availiable on PCs with the SDK installed - I didn't know about that. Thanks Evil. So, as a second option, what resource would you recommend for PCs with no hardware acceleration? (just to develop the GUI)
  11. Hi, I would like to develop some classes/methods to create my graphic interfaces. A good performance is important, so was thinking to create a DLL in C++ and use Direct3D (sprites/quads) to render the skins. The DLL will be called in VB, Delphi and in C#, and I intend to encapsulate it in a OCX control. Well... I would like to hear some opinions about what is the best way to create a graphic interface today. Perhaps, nowadays, C# could be the ideal language for that. It is very common find good graphic interfaces that use gif (with optimized palette). I wonder if a 24 bit texture with Direct3D wouldn't be much faster... The Skins Factory is a reference for me. Please, does anyone have some idea about the the ideal language to program graphic interfaces? Thanks in advance
  12. Quote:Original post by Anonymous Poster The technology you want to choose also depends on what you aim for in the end. It is diferent to code a website gui or to code a "skinned" windows application or to do an ingame gui. They all require different base technology. But if you want an ingame gui, and if you want to build it up from scratch, keep the rendering seperate from the gui logic and maybe later you can / someone else can do an SDL or OpenGL port. Just a thought. It's not for games and websites, it is just for common window applications, like players, sotwares to cadaster customers, etc...
  13. Hi, Some time ago I saw a polished platform game in 3D, that is, a 3D game where the characters moved like Mario, but with amazing graphics. I think it was released in 2004/2005 and its characters had a Final Fantasy style, but in a platform gender. I tried to find something about it in the internet but I don't know its name... Please, would anybody have some idea about the game I'm talking? Thanks in advance
  14. Mari_p

    Searching for a 3D platform game

    ...I'm thinking the game was Valkyrie Profile 2: Silmeria, although I didn't find the screenshot of the scene I saw. In the screenshot above it doesn't seem sidescroller. But there are ones that it is. Guys, thank you very much for all the replies.
  15. Quote:Why do you need GIF? Why not a full, resolution-independent vector graphics-based UI? I agree with you. I don't need GIF. I have been using GIF in some UI created in VB, because GIF is light and allows transparent regions without I have to code it. I'm not desiring cross-platform, so I think to use Direct3D for that. On the other hand, Direct3D is dedicate to 3D, and I would use it just to create and manipulate sprites/quads. The main reason is it is fast. What I would like to know is which kind of tools/resources the companies like The Skins Factory use to develop/code the graphic interfaces... If they use MFC, GDI, SDL, Direct3D, another 2D library, etc...
  16. Mari_p

    Searching for a 3D platform game

    Quote:Original post by JBourrie Klonoa 2? ... It is very beautiful, JBourrie [smile], but it is still not the game I'm seeking. It is more similar to the Valkyrie Profile game, but in a side-scrolling style, and totally in 3D. I saw the game for a few time... Perhaps the side-scrolling style is only in some levels of the game. Well... nothing to do with this topic, but when I was searching in the web, I found this nostalgic image... made me to remind of my old TK-90X (ZX-Spectrum) Thanks all replies.
  17. Mari_p

    Searching for a 3D platform game

    Quote:Original post by Kelendil Was it for console or PC? I'm not sure, but I believe it was for PS2 or XBox.
  18. Mari_p

    Searching for a 3D platform game

    I spent a long time searching for this game and nothing up to now... I am almost sure it was a japanese game. A "side-scrolling" game, but totally in 3D. Thanks anyway.
  19. Quote:Original post by Raloth Do you have any information about the computers it didn't work on? Knowing the graphics card model would increase our knowledge an infinite percent. The graphic card of those computers is: EliteGroup Computer System_AG305-32M GPU SiS 300/305 Mem. 32MB I had never heard about this card.
  20. Hi, I made the same graphic interface using two Direct3D resources: 1) ID3DXSprite 2) Quads (2 triangles) Using Quads it worked fine in all computers I tried. Using ID3DXSprite it worked fine in most of the computers, but the textures didn't appear in some others (and also no error message). I tried to render just one simple texture (a jpg image) and the problem persisted. All the computers have 3D graphic card. Does ID3DXSprite require some specific hardware resource to work? Thanks in advance
  21. Thanks for replying, Sc4Freak. Perhaps those computers have very old video drivers.... The strange is that the quads worked in. I'm using the first release of DirectX9 SDK (2002). I will try DirectX 9.0c SDK... ID3DXSprite seems a bit different in this SDK version (at least in the syntax of its draw method [smile]).
  22. Hi, I would like to get data from a txt file that is in the web. Please, what is the correct way to perform this? I tried to use the old fopen function: pFile = fopen("http://www..../file.txt", "r"); ...but it fails. Please, could anybody help me? Thanks in advance
  23. Quote:Original post by raz0r Windows: Take a look at the WinInet family of functions; specifically, InternetReadFile. If you want (an easy way) to save a file and store it for later parsing, you may also wish to look at URLDownloadToFile. Thanks a lot, raz0r! It was exactly what I wanted. [smile]
  24. Hello, Suppose we have a window application containing a grid whose the cells store float values. Is there a way to capture the value of an specific cell from the grid without using image analysis? I can know the window's handle, but how could I access to the data from the grid? Thank you much in advance.
  25. Thank you very much, friends. I decided to use SendInput. I posted the code here, in case someone is interested: void EmulateLeftMouseButton() { INPUT mouseInput = {0}; // Down state mouseInput.type = INPUT_MOUSE; mouseInput.mi.dwFlags = MOUSEEVENTF_LEFTDOWN; SendInput(1,&mouseInput,sizeof(INPUT)); // Up state ZeroMemory(&mouseInput,sizeof(INPUT)); mouseInput.type = INPUT_MOUSE; mouseInput.mi.dwFlags = MOUSEEVENTF_LEFTUP; SendInput(1,&mouseInput,sizeof(INPUT)); }
  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!