Jump to content

  • Log In with Google      Sign In   
  • Create Account

shadowisadog

Member Since 16 Jun 2005
Offline Last Active May 01 2016 07:45 PM

Posts I've Made

In Topic: Good places to learn Universal App development

11 April 2016 - 12:08 PM

Maybe these links help:

 

https://msdn.microsoft.com/en-us/windows/uwp/get-started/universal-application-platform-guide

 

https://msdn.microsoft.com/en-us/windows/uwp/get-started/whats-a-uwp

 

https://blogs.windows.com/buildingapps/2015/04/30/a-deeper-dive-into-the-universal-windows-platform/

 

There is also this (subscription based) Pluralsight course:

 

https://www.pluralsight.com/courses/windows-10-universal-apps-xaml


In Topic: C# and Java interop

11 April 2016 - 12:04 PM

Perhaps something like: http://www.prodigyproductionsllc.com/articles/programming/decompile-java-using-c/

 

or https://msdn.microsoft.com/en-us/library/y9teabc2%28VS.80%29.aspx

 

Maybe one of those potential ideas will help you.

 

Also if I remember correctly jar files are really just zip files. You can "extract" the jar file and look at the class files inside of it... I don't know if you will be able to do much with the class files but if you extract the jar file to a temp directory and then iterate through the files you should be able to determine the names of things potentially.


In Topic: Formations in RTS (A* pathfinding)

25 October 2015 - 12:32 PM

I think a lot of games likely determine the position of the troops when you click to move them. Some games even have a little graphic to show where each of the units will be standing after you move them like:

 

OOOO

OOOO

 

or

oo
oo
oo
oo

 

If you know the start and end positions then you can have each unit do their pathfinding individually and use steering behaviors to keep units from running into each other.


In Topic: How to begin the game programming?

24 October 2015 - 06:54 PM

I am not really sure there are any advantages to starting directly from DirectX or OpenGL unless you really want to know the guts of a game/game engine. If your goal is to make games then the existing engines (like Unreal) are a great place to start and will enable you to be productive very quickly. Using Unreal gives you many thousands of development hours worth of work for free and it allows you to start from a stable and well developed toolset. The initial release of the "Unreal Engine" was 17 years ago in 1998... It is on its fourth version... While I doubt much of the original code is still there, I think it speaks to the level of effort involved.

 

"On August 17, 2005, Mark Rein, the vice-president of Epic Games, revealed that Unreal Engine 4 had been in development since 2003." . 

 

Unreal Engine 3 was around 2 million lines of code. I bet Unreal Engine 4 has more. Let's assume you can code 50 lines of code per day (which in some estimates is five times more than average).  That would mean it would take 40,000 days or 109 years of your time to create something with 2 million lines of code if it took you wrote 50 lines of code a day (and every day at that). If you were some ultra talented programmer who could magically turn out 500 lines a day every single day it would still take 11 years of nonstop time.

 

The thing to remember is that games are software. I  always think it is good to really understand the programming fundamentals. It can be good to focus on the basics of a language (make console applications, ect) to really understand how the language works.

 

Make sure you understand if statements, loop statements, arrays, data structures (lists, maps, sets, ...), file I/O, functions, and OOP concepts. These things will help you a lot when it comes to programming a game.


In Topic: Help with debugging lua through luabind from C++

29 September 2015 - 11:18 AM

You might find this helpful:

 

http://oberon00.github.io/luabind/errors.html

 

The idea is to add an error handler and then through that you can add additional information about what exactly happened.

 

If you need to debug Lua code in general then here are some options:

 

http://lua-users.org/wiki/DebuggingLuaCode

 

Maybe you could use something like: http://studio.zerobrane.com/


PARTNERS