sfml
Linking to a library that links to a library
I\'m trying to link cpgui to my library, which links to SFML. I use code::blocks so I had to make my own project for that library, and as it requires SFML I statically linked to SFML in that library a[详细]
2023-03-08 05:16 分类:问答How to map controls to physical keyboard locations
I\'ve been wanting to create a game engine, but I want to sort out some issues such as how to do controls.Is it possible to map controls to the physical locations on the keyboard as opposed to the ind[详细]
2023-03-05 19:00 分类:问答Server won't connect to more than one client?
The problem is it only connects to one client instead of two. Can anyone help me figure out why? Server:[详细]
2023-03-04 19:28 分类:问答Adding method to library
I\'ve been recently writing simple game in C++ with SFML. Here\'s my question: In SFML library there is a template class Vector2<T> (specifically I\'d be using Vector2f). Unfortunately, it does[详细]
2023-03-03 18:21 分类:问答Compiler error on Stopped enum value using GetStatus
I\'m trying to get the status of a sound effect but I don\'t know how to actually f开发者_C百科ind out what the status is. I\'m quite new to C++. I tried to read up about enums and apply what I saw, b[详细]
2023-02-25 14:52 分类:问答How can I draw a tilemap without my ram useage or cpu useage going way up?
Okay, so I\'m trying to draw a tilemap on the screen with SDL, and my fps is really bad cause of it. And I\'ve tried doing it in SFML a different way, but that way makes my ram useage go way up.[详细]
2023-02-23 08:47 分类:问答Converting from 3D to 2D coordinates question
Im using OpenGL with c++ to make a game. and right now, im wondering how i would be able to turn 3D coordinates into 2D positions for example: drawing a 2D health bar over a 3D model\'s head, or somet[详细]
2023-02-23 04:24 分类:问答How would i set up collision using the Bullet Physics Library?
hey im having a bit of a \"delay\" in setting up some collision in my opengl/sfml game. its not much of an error, just asking for some help. Im using Bullet Physics(this is the API reference) and i ha[详细]
2023-02-22 21:21 分类:问答Rotating a model in GLM
hey ive been working with GLM and i have been noticing that im not able to find a function to rotate the model.[详细]
2023-02-22 03:52 分类:问答How to achieve smooth sound fading effects?
What is the best possible way to smoothly fade in/out a sound with SFML 1.6? It has SetVolume() and SetAttenuation(). These two directly set these values. But I need a开发者_运维问答 smooth transiti[详细]
2023-02-20 19:24 分类:问答