Jump to content
  • Advertisement

wintertime

Member
  • Content count

    801
  • Joined

  • Last visited

Community Reputation

4115 Excellent

About wintertime

  • Rank
    Crossbones+

Personal Information

  • Role
    Programmer
    Quality Assurance
  • Interests
    Design
    Programming

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. wintertime

    Size of C++ polymorphic objects.

    This is such an odd question, I feel like it must be you having a different problem, thinking of (but not really) having the solution which you "just" need the size of the objects for. If you need to ask a polymorphic object which type it is, you are most likely on the wrong way. Also I imagine you wanting the size to copy around the objects manually, which is a bad thing to do. You better tell what the original problem was, which you are trying to fix!
  2. wintertime

    How important is 1 big vertex buffer ?

    If your game is not too slow you dont need to worry about optimizing, especially as it reads as if you dont even have a game.
  3. Recently, I played a game where some tiny buttons had such a microscopic hit area, that I sometimes needed to try a dozen times on my phone screen before it would react. Other tiny buttons had a number on it, which was important to watch while tapping it. The problem is that your finger always obscures the number and you need to try to angle the device to watch the screen from the side. Another atrocity are inconsistent menus, where the close buttons are randomly top left, top right, mixed with some other positions in the middle. This causes you to constantly change how you hold the device and which hand/finger you tap with.
  4. wintertime

    How to improve FLEE in RPG videogames ??

    #1 reads like its only working when its unnecessary for the player and not working when its actually needed to escape from a stronger monster. That means its a superfluous feature or it could be simplified to always work. #2 is the same kind of frustration for the player, on some monsters you can never use it when you need it (evil monsters, which are more likely strong and aggressive), on others you dont need it (friendly, probably weak and non-aggro monsters). #3 also similar, if you are facing strong monsters the player will be punished (might get away or not and loose items or even loose the game) making the player even weaker and leading into a downward spiral, if able to walk away its useless as its wasting the opportunity to get loot or exp.
  5. wintertime

    The fun of the last part of playing RTS

    If I'd have a 7:1 advantage, my thought would be that I did not attack early enough (forgot or intentionally toyed around). Prolonging the already derailed game even further in that case IMHO won't be fun, same as depriving the player of being able to overrun the opponent.
  6. I'd rather not share any data between the 2 threads. Instead, I'd send a message through a threadsafe message queue to the main thread and have it respond asap with another message (should be ok to have the 1st thread wait on the reply for max. 1/60 second in rare cases this is necesssary).
  7. wintertime

    Targeting Different Platforms

    I think, you may want to use a sf::View to scale everything and avoid having all your drawing code scale every coordinate. https://www.sfml-dev.org/tutorials/2.4/graphics-view.php
  8. Thats cause you use glfwPollEvents. If you only want to update when there is input, you need to use glfwWaitEvents.
  9. wintertime

    SDL Mouse Movement High CPU Usage

    You didnt show enough code, but you might be flooding the event queue and only check for 1 event every 10ms.
  10. wintertime

    Collision geometry in FBX (or in general)

    You could just calculate the capsule, aabb, bounding sphere or whatever from the vertices after loading the file. I'd think, thats better than giving your artist unnecessary work.
  11. I had alternating 503 Errors, SQL Errors without detailed error message and maintenance notices, not sure if yesterday or 2 days ago.
  12. If you are only allowed to control one ship of yours it will be extremely frustrating, as you have to watch your AI-controlled ships do stupid things like steering badly and taking unnecessary hits. When there is a boarding battle the opposing crews are mixed and firing on these ships would hit both, so it might be wise to avoid doing that, event though it might be possible to do (also for AI). I dont think they would have started plundering while the battle is still continuing. It might be useful to just take over that ship temporarily and only collect/transfer loot when everyones safe after the battle. Ships dont sink by themselfes unless there is a leak in their hull. They might be taken back or shot on until they have one though. Why would it be game over when you still have those other ships in your fleet? That could get very frustrating.
  13. wintertime

    Ideas for rendering stacked UI elements

    Why do you think that? If you just draw that background inside the changed rectangle you do not overdraw anything outside it and therefore you do not need to redraw anything else outside it. (You either just change the draws to be only inside or use scissor.)
  14. IIRC glut was just created to allow easier creation of simple OpenGL demos having a single window for the lifetime of the program. You are probably better off using a more modern library like GLFW, which gives you more options.
  15. wintertime

    drag and drop

    You might want to read the forum FAQ, especially the part about asking questions. If you also only copy/pasted your large amount of code into that other forum without giving any more information, its no wonder people ignored you.
  • Advertisement
×

Important Information

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

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!