- Upvotes Received
- 2
- Posts with Upvotes
- 2
- Upvoting Members
- 2
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
12 Posted Topics
Re: UDK compiles scripts into its own type of bytecode, which is then parsed at runtime. I'm actually not 100% sure about Unity -- it requires you to choose a platform when you build, but I assume they're using some bytecode (proprietary, most likely) because they support the web player. In … | |
Re: Many good MMORPGs use instancing as a way to create small-scale battles in a large environment. Instancing doesn't necessarily need to teleport players to a separate location -- many new titles just create zones with a set of objectives for each side, and the players can just walk over there. … | |
Re: I don't believe XNA 3.1 is supported by VS 2010 at this time, in case you are interested in XNA development. | |
Re: Hi Anoop, Try the EQATEC profiler, [URL="http://www.eqatec.com/tools/profiler/"]http://www.eqatec.com/tools/profiler/[/URL]. There are video tutorials for profiling .NET CF and Silverlight apps ([URL="http://video.google.com/videoplay?docid=-6081864198935570948#"]Video 1[/URL] [URL="http://channel9.msdn.com/posts/martinesmann/First-code-profiler-for-Silverlight/"]Video 2[/URL]). There is also a somewhat limited user guide available on the website. Hope this helps, Vasiliy Deych | |
Re: Hi bbman, It is a great question, and since C# is not explicit about references, there is some confusion about what exactly you are passing to a function. Let's look at what happens when we pass a list to a function. There are generally two ways of doing this, and … | |
Re: Hi coffeeMan21, How is "point2d" declared? Is it public or internal? You are getting the error because you are making a public method, but the type that it returns is most likely not public. Example: [CODE] public class Honda { // This accessory is private and only for use by … | |
Re: [QUOTE=bbman;1267439]Hey, How would I go about finding the amount of values, say "DaniWeb" in a List<string>? I just need a number, not their index. Cheers[/QUOTE] Hi bbman, The simplest way of achieving this would be a simple "for" or "foreach" loop. [CODE] int countFoo = 0; foreach (string strSomething in … | |
Re: Hi dreamy_ananya, Based on the scenario you described, a singleton is not really a good solution. A singleton is essentially a global instance (or several global instances) of a class. It shouldn't be used just to provide lookup for a certain class -- that is not its intended purpose and … | |
Re: Hi! Sorry, it's been years since I've worked with MATLAB, but the code doesn't use many unique MATLAB features. So, here is a quick conversion to C# bitwise operators; sorry, I don't have a complete solution for you, but I hope this can at least get started: [CODE] byte Stego … | |
Re: chathuD, That is an interesting problem, and if I understood the problem correctly, your solution would be to use [URL="http://en.wikipedia.org/wiki/Dijkstra%27s_algorithm"]Dijkstra's algorithm[/URL]. An excellent visual description of this algorithm is available here: [URL="http://optlab-server.sce.carleton.ca/POAnimations2007/DijkstrasAlgo.html"]http://optlab-server.sce.carleton.ca/POAnimations2007/DijkstrasAlgo.html[/URL]. Another great illustrated explanation can be found here: [URL="http://eoinbailey.com/blog/dijkstras-algorithm-illustrated-explanation"]http://eoinbailey.com/blog/dijkstras-algorithm-illustrated-explanation[/URL] There is also a published [URL="http://blog.nerdbank.net/2006/01/c-dijkstra-algorithm-implementation.html"]C# implementation[/URL] you can … | |
Re: You cannot declare some variable of a type that is less accessible than the variable itself. For example, if I have: [CODE] public class MyBigPublicClass { private class MySmallPrivateClass { ... stuff ... } // Can't do this because instance is more visible than class definition public MySmallPrivateClass InstanceOfPrivateClass; } … | |
Re: Inside the loop: [code=php] $executed = false; if(!$executed) { // Your block of code call_me_only_once(); $executed = true; } [/code] |
The End.