# Nytegard

Member

1825

842 Good

• Rank
GDNet+

• Role
Programmer
• Interests
Art
Programming

## Recent Profile Visitors

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

1. ## 2018 New Year Challenge: Missile Command

The problem was, while my explosion displays at a 1:1 ratio, internally, it's being calculated @ 16/9:1. This is mainly an issue for tunneling. Squish the coordinates to 1:1, and voila, you have a circle again. The other stupid improvement I forgot is that you can precalculate when the missiles are going to blow up to avoid unnecessary calculations in the hit detection. The instant you fire, you know when and where your missiles are going to explode, and thus have all the necessary information to determine all known future hits of enemy missiles/crafts/bombs. An enemy missile lasts past time t? Explode at X(t), Y(t), rather than tons of continuous hit detection checks. Just simple stuff like this that I didn't think of during the initial creation. I mean, my game works, but there are so many more optimizations that could be added that would require a rewrite of the logic.
2. ## 2018 New Year Challenge: Missile Command

The problem was, while my explosion displays at a 1:1 ratio, internally, it's being calculated @ 16/9:1. This is mainly an issue for tunneling. Squish the coordinates to 1:1, and voila, you have a circle again. The other stupid improvement I forgot is that you can precalculate when the missiles are going to blow up to avoid unnecessary calculations in the hit detection. The instant you fire, you know when and where your missiles are going to explode, and thus have all the necessary information to determine all known future hits of enemy missiles/crafts/bombs. An enemy missile lasts past time t? Explode at X(t), Y(t), rather than tons of continuous hit detection checks. Just simple stuff like this that I didn't think of during the initial creation. I mean, my game works, but there are so many more optimizations that could be added that would require a rewrite of the logic.
3. ## 2018 New Year Challenge: Missile Command

It's all a learning experience. I made the mistake of starting backwards, and having no plan for the actual game. By the time I got to the actual game portion, I came to realize my mistake. But it's all good. Fortunately, the resolution itself can easily be changed, but I found a cheap and easy solution for my problems, though it is a hack. Just scale everything to 1:1 for hit detection, and easier hit detection for fast moving objects as I have a circle. (Not that anyone would ever really need to worry about that scenario, but bug free is still better than a bug that exists even if no one will ever see it.) I'd like to think of this more as a starting point for a complete rewrite.
4. ## 2018 New Year Challenge: Missile Command

It's all a learning experience. I made the mistake of starting backwards, and having no plan for the actual game. By the time I got to the actual game portion, I came to realize my mistake. But it's all good. Fortunately, the resolution itself can easily be changed, but I found a cheap and easy solution for my problems, though it is a hack. Just scale everything to 1:1 for hit detection, and easier hit detection for fast moving objects as I have a circle. (Not that anyone would ever really need to worry about that scenario, but bug free is still better than a bug that exists even if no one will ever see it.) I'd like to think of this more as a starting point for a complete rewrite.
5. ## 2018 New Year Challenge: Missile Command

Since I finally have/had a few days to work on something of my own, why not this? It's the most barebones version of any submitted, and I'm still trying to track down bugs before I focus on adding any features. Still trying to track down a few memory management bugs. Built in Visual Studio 2017, source included. It's a Win 10 64-bit application. Requires Direct2D. Use 1, 2, 3 to fire, and arrow keys to move. Escape for menu and Enter for confirm. http://www.behindtimes.com/nytegard/media/d2dtest.zip
6. ## 2018 New Year Challenge: Missile Command

Since I finally have/had a few days to work on something of my own, why not this? It's the most barebones version of any submitted, and I'm still trying to track down bugs before I focus on adding any features. Still trying to track down a few memory management bugs. Built in Visual Studio 2017, source included. It's a Win 10 64-bit application. Requires Direct2D. Use 1, 2, 3 to fire, and arrow keys to move. Escape for menu and Enter for confirm. http://www.behindtimes.com/nytegard/media/d2dtest.zip

8. ## [SDL] Query when screen is capable of rendering

I'm changing the resolution and have multiple monitors and running full screen.  There's several seconds of delay where the screen is black.  I tried SDL_WINDOW_EVENT_SHOWN, but that was returning almost immediately while I was still waiting for the screen to actually display.  I'm looking for an efficient way of knowing when to start actually running the application rather than putting up a delay as a hack.  (I also queried all the Window Events and nothing is being called around the time when the screen returns to a drawable state).   *EDIT*   I only have this issue with multiple monitors.  If only using one monitor, everything works as expected, or if I use a window and not full screen, everything works as expected.
9. ## Who are your developer heros?

I certainly wouldn't say I idolize a developer, but I can understand having a developer hero.  For me, it is probably Roberta Williams.  Her games are pretty much what inspired me to go into the computing field.
10. ## What game type do you prefer and why?

Honestly, I'm not a fan of action games.  I prefer more intellectual games such as puzzles & adventures (not action/adventure, that's a completely different genre).  Think Lucas Arts & Sierra games of old, or The Last Express (similar games which are sorely missing from app stores).  I just like to take my time and play on my schedule and not the games.  As for dimensions, I prefer 2D.  I can only play 3D games for so long before I get nauseous and I also tend to find that 3D gameplay is too simplistic for my taste.  (I don't mind 2D gameplay with 3D graphics though).
11. ## OS X, NSSplitView, Resizing, and drawing issues

If you're paranoid about your information getting out, that's about the last thing you should do. Typically, if I recall correctly, the number one name a person typically looks for on search engines, when you remove celebrities, is their own name.
13. ## So, windows 8?

I've had severe issues with multiple screens and Windows 8, particularly when trying to view video on the secondary screen. Many applications just seem only to work on my primary monitor. Hopefully that's just an NVidia problem. As for boot times, I guess I'm just fortunate to have had a great PC when I had Windows 7, that the upgrade to Windows 8 really wasn't anything noticeable for me. It boots up about 1 1/2 seconds faster than Windows 7. Definitely get the start bar back if you get it. That being said, I'm honestly not too thrilled with the OS. The Metro interface is now cluttered with executables, even if they're the uninstall program that would never be shown on the desktop. And even things such as turning the computer off before you have the start button is not a 1 step affair. Yes, there are ways to alleviate both of the above issues, but a solid OS should not require intervening steps, but work right off the bat. This is an area where Apple does things right imho. All too often the UI gets put on the back burner, because management seems to think anyone can make one, but there's a difference between a UI and a good UI. And making a useful UI is an art.
14. ## Next-Gen Gaming PC?

This, or an iPad. I'm more concerned about PC becoming less and less common than what silly specs it will have. Who needs 32GiB for a game? Few present games truly need something bigger than a single mid-class graphics card and few use the major part of memory on present day machines. Few people really have a need for running Skyrim with maximum settings on dual WQUXGA stereo displays at 600fps. For something kind of "reasonable", a present-time \$150 graphics card, a 2-3 year old CPU, and 4-8GiB of RAM work just fine. 1000W PSU[/quote]This is what the 17 year old experts in specialized builder shops are trying to sell to you right now, if you have them build a PC having a CPU with a TDP of 77W, a graphics card with a TDP of 110W, and a SSD with a TDP of 2W. Obviously typical mainboards consume upwards of 700W, because hey, the experts tell you that you need this. Or that's what you need for charging your mobile on USB... [/quote] In terms of a gaming PC, I think we've hit near the top of the line for at least the next decade. Laptops have surpassed desktop ownership, and tablets look to be on their way to surpassing both fairly quickly. Neither tablets nor laptops are anywhere near the power of the desktop, but that really doesn't matter. It's about money, and for most people, a 7 year old console is good enough for video games. Why would companies want to invest millions to cater towards a minute audience in terms of actual profit? I think tablet technology will have to change somewhat, but that's the way of the future. Sooner or later, it will pass a stagnating PC in terms of capabilities, at which point, the PC as we know it will probably die off.
15. ## Diablo 3 representing the future of Anti- piracy?

I wouldn't know about that. While this is also tied to the AH apparently, and the odds of getting something good are slim, at least you're guaranteed an item of minimum stats. Through cowardice and other tactics (I basically forgo the elite monsters and rush to the boss now and just kite them to death), I've managed to progress my monk pretty far. Yet it's frustrating that I need at least Act 3 gear of the next difficulty level to properly gear for this difficulty level's Act 1 when it comes to random drops. At least with the Blacksmith, I can be guaranteed of acquiring a proper leveled item, even if the stats are horrible. Someone else made this statement, and I honestly have to agree with the person, that the game seems to be less "Diablo 3" and more "World of Diablo", only without the monthly subscription fee, in terms of how the gameplay feels so far.