• Content count

  • Joined

  • Last visited

Community Reputation

2429 Excellent

About Wyrframe

  • Rank

Personal Information

  • Interests
  1. As a short-term fix for the problem which's long-term fix is to design better. But long-term solutions are for refactoring or re-implementing, not for prototyping, which is why 3-tier solutions like the above are useful.
  2. Again: what are you trying to accomplish? Sure, that code probably compiles, but what problem is it solving?
  3. Try having your "result" debug tool (the one showing the path line) also show each grid node that became opened during the search, and colour each node by a function of its (best found) G cost, so you can visually track the open set and the best path found to each cell in the open set. Like others are saying, after reviewing your code, I think you're massively over-opening the search space.
  4. I think you need to answer for us and for yourself; what does an XOR of the bits implementing an object in memory have to do with delta-compressing the concepts and values which the object contains? You don't measure the difference between two 2D vectors implemented by `struct Vector{double x,y;}` by taking the XOR of the bits which implement the two IEEE 754 Double-Precision floating-point values... you calculate a new vector which's components are the difference between the components of the two vectors.
  5. SDL2 weighs only half a meg and has a pretty simple audio layer. DirectX is also the right tool for the job if Windows is the only platform you're interested in... though I haven't worked with its audio side since DX9, don't know what the DX12 interface looks like.
  6. Looking for a game like Smugglers 5

    I kinda enjoyed http://store.steampowered.com/app/11240/Space_Trader_Merchant_Marine/ , if you're looking for something shallow but not simple. It intersperses space trade-running with first-person action sequences which are not challenging but weren't entirely boring, either.
  7. New Software and Server for GameDev.net

    Why on earth would you expect someone to look at the global navigation bar to find a search form for the forum or forum-topic they're already looking at... and then be somehow pleased that they have to pick the forum they wanted to search in again? Even then. Let's give it a little test? Here's a topic started one month ago. It contains the precise phrase "measure memory used by process". Let's go to the search page, paste that into the search field, note that the default options include "title and body", "all content", and "all search terms", and hit enter. And the results are... three articles which each contain only one or two of those words. Seriously. "Rough edges" doesn't begin to describe a search function that can't even find its own ass with both hands, never mind how cumbersome and hidden you've made accessing that search function in the first place. See attached. Two weeks ago this list wouldn't grow beyond eight. This is why people adblock; not because they want you to fail as a service, but because they don't agree you have the right to farm your visitors out to literally dozens of third-party services, who aren't even paying you properly for the whoring you've chosen to descend to.
  8. New Software and Server for GameDev.net

    Rough edges... such as the broken link to http://blogs/entry/2263079-new-software-and-server-for-gamedevnet/ that seems to be the only way to reach this article? We don't get a General Programming forum anymore, without the permanently-ambiguous "Gameplay" programming also being brought into it? You're now linking against not one, not two, but TEN separate advertising services in every single pageload, all fighting for access to the page? No Search/Find function anywhere to be found? Good luck hand-trawling the 144k topics in General Programming alone looking for if your question has been asked recently, and what other people have discussed more than one goldfish's memory ago.
  9. It's a plausible solution (for which the alternative is to list objects intersecting with a leaf, which means when an object moves you may have to remove it from multiple sectors, and you have to use some kind of logic to prevent iterating over such objects more than once). Just bear in mind the worst-case scenarios; like a straight line of objects overlapping one of the world axes will turn into a singular list which cannot be subdivided into smaller work units.
  10. GAMBAS Almost Means BASic. A personal favourite of mine, for when I need to take a break from Java or from AngularJS.
  11. Well, one thing you can improve within your stated architecture is that if A.getCollission(B) updates both A's and B's collision-state buffers, you only need to touch each pair once. for( i=1; i < area.members; ++i ) for( j=i-1; j >= 0; --j ) area.members[i].testCollision( area.members[j] ); Presumably each sprite's 'script' logic then resolves any collisions discovered during that phase.
  12. Financial Subscription Payment Model

    Armor Games seems to have lots of microtransaction systems built into their platform these days, but subscription? I can't see the heavily indie market succeeding there when even hundreds of AA/AAA MMOs are going free-to-play (in open-world titles) or pay-to-lose (in MOBA titles).
  13. Ok... The True Final Word on Rube...

    Dude. Just take your meds, take your TimeCube-based board game, and get out.
  14. It's that kind of thinking that led to CGA's black/white/cyan/magenta, what is sometimes called the worst colour palette ever inflicted on mankind.
  15. Although not helpful to your work in a modern environment.... If you want to take a real head trip, look back at how Smalltalk-80 did its mark pass in constant stack and heap space, by temporarily rewriting objects' fields as it went to become pointers back to their "parent" object (along the discovery path, that is), thus requiring only a constant amount of space (on the stack, during garbage collection) to track the nearest traversal parent, current object under inspection, and the current object-field index under inspection. http://www.mirandabanda.org/bluebook/bluebook_chapter30.html#GarbageCollection30   Followup: also, in my personal experience, for a typical toy scripting language it is easier to write a generational garbage collector (don't mark & sweep; instead, move survivors to a separate clean heap space, leaving behind a breadcrumb saying "I was moved to gen Y offset X") than to write a two-pass mark/sweep collector, and it produces a zero-fragmentation memory model as well (which can be useful in producing error dumps or other debug checkpointing).