Jump to content

  • Log In with Google      Sign In   
  • Create Account


yewbie

Member Since 05 Feb 2005
Offline Last Active Oct 02 2013 09:07 AM
*****

#5069528 Pressing F10 pause main loop?

Posted by yewbie on 13 June 2013 - 02:45 PM

That was my reply, yes it should be while!




#5069517 Pressing F10 pause main loop?

Posted by yewbie on 13 June 2013 - 02:26 PM

Its going to deal with your message pump, you need to do a message peek instead of waiting for a message, any chance you could post your current windows message pump?

 

edit here is a decent message pump:

   for(;;)    
    {
        //look for a message
        while(PeekMessage(&msg,NULL,0,0,PM_REMOVE))
        {
            //check that we arent quitting
            if(msg.message==WM_QUIT) break;
            //translate message
            TranslateMessage(&msg);
            //dispatch message
            DispatchMessage(&msg);
            
        }
        Program_Running();  //This is where you want to do all of your applications logic.
        
    }



#5021847 Learning C#?

Posted by yewbie on 15 January 2013 - 11:18 AM

Yes, I've download visual studio express, and I've known unity's UI for months biggrin.png. I don't know programming, but I know Unity's interface well smile.png.

Good, may I suggest that you learn C# outside of unity, it will make it much easier.

 

Check out this tutorial, I watched a bit of it and it seems pretty decent, give it a shot:

 

edit: You probably want to focus more on console applications now that I actually look at this

 

try this one:




#5021843 Learning C#?

Posted by yewbie on 15 January 2013 - 11:02 AM

Unity is its own beast, you should look into getting used to the unity interface if thats the path you want to start down.

From pretty much everything I've read on unity the unityscript (javascript) is *better than c# for people starting out (This can be argued)

 

That being said if you don't want to learn javascript and you really want to learn C# before you get into unity (which you should), download Microsoft Visual Studio Express (It's free) it's a very good IDE to learn C#, I also purchased a few used beginner books off of amazon and it was fairly easy to pick up.

 

An IDE is the program you use to write your programs. (integrated development environment)

 

Start with small text based c# console applications, but realistically if you are starting from ground zero, there are a ton of c# just getting started tutorials online that would also be very helpful.

 

To start look for a tutorial on how to setup your IDE with a new project and how to compile that project.

Then move on to figuring out how to make the program output text to the screen.

If you can get that far the next step will be trying to get input from the user.




#5019073 [Help] Getting into game programing

Posted by yewbie on 08 January 2013 - 10:39 AM

All of your questions are realtive to the ammount of time and effort you want to put into learning.

My advice, start small and work your way towards a goal (and make sure to completely finish that goal before you start another project).

 

Using C++ and whatever library you choose to develop with its going to take you several months of hard work learning and programming to make a 2d rpg type game (Unless you kept it really really simple).

 

Start out with some text based stuff, maybe a simple combat testing application where you use math to determine damage taken, or a mock fight simulation.

 

Once you get that all figured out start looking how you need to strucure your programs in C++, I think fundamentally if I had spent more time learning about proper structure and flow starting out I would have been much better off now.

 

Books, read lots of books, probably one of the most helpful things for me.

 

Some things you need to determine:

- What kind of graphics library are you going to use

- If not a home brew engine what game engine will I use




#4999359 Best Way to Develop a Squad-Based Tactics Game

Posted by yewbie on 09 November 2012 - 11:27 AM

You can do 2D, don't let me scare you away from it.

It's just some of the things you have to do to get everything to render properly in the correct order etc and still maintain performance can be a huge pain :(
You can also do simulated 2d insdie of Unity3d.


#4999322 Best Way to Develop a Squad-Based Tactics Game

Posted by yewbie on 09 November 2012 - 09:47 AM

Isometric games are notoriously difficult to work with in 2d.

I would suggest making it in 3D, you could could check out Unity: http://unity3d.com/
Depending on how much you want to learn to acheive this you could do C# with XNA also.

for AI you should google "A* Pathfinding" to start for how to calculate movement.

But if you are going to learn something new try starting with a smaller project until you are more familiar with the language / interface, belive me it will be way more satisfying than restarting your goal project 20 times because you learned something new.


#4995846 Animating for 2D games

Posted by yewbie on 31 October 2012 - 09:53 AM

Tree/hierarchical bone structure for 2d.

check out this video for a decent example.




#4993253 Sharing my game for testing.

Posted by yewbie on 23 October 2012 - 04:47 PM

My rule of thumb is: "If you are not completely sure on the copywrite replace it".

=)


#4992798 mcsv 2010 error with allegro

Posted by yewbie on 22 October 2012 - 09:45 AM

Via Googling your error message:

Change the "subsystem" in your linker settings from "Windows" to "Console".
Hopefully that helps =)


#4984821 Code Help - My First Roadblock

Posted by yewbie on 28 September 2012 - 01:04 PM

Mistervirtue were you able to get it working using Haps advice?


#4984807 Code Help - My First Roadblock

Posted by yewbie on 28 September 2012 - 12:23 PM

But still can't get SirHero to turn in my game. I don't know how to implement myFlip in to the draw,


myFlip would be supplied as a argument to SpriteBatch.Draw()


#4984128 [For a Beginner] C++ express 2010 or C++ express 2012?

Posted by yewbie on 26 September 2012 - 03:30 PM

Everyone keeps going back to C++.
I did hobbist programming in C++ for almost 8 years and before that worked with C for years...

I will tell you right now without a shadow of a doubt that its faster to develop games with a good library in C# than it is with the same or similar library in C++.
(At least for me)

If you you want to spend weeks to months learning C++ and all the gotcha's involved that is completely up to you. (Dealing with circular dependancies etc comes to mind)
But if you want use something like XNA with c# you will have results in no time.

C/C++/C# are all very similar/compatible in syntax so learning one would do a great deal towards learning the others.


#4983594 [For a Beginner] C++ express 2010 or C++ express 2012?

Posted by yewbie on 25 September 2012 - 08:36 AM

You really should consider trying out c# also!

Edited: to remove language war reference that people didn't like.


#4982497 Representing player classes in c++

Posted by yewbie on 21 September 2012 - 02:52 PM

Classes as in unit archtypes or something like that really depends on your game.

Figure out what the differences are:

Are the differences only graphical? - If so then you don't really need a seperate Class type.
Are the differences very major? - Break it out by what is different and seperate that out (again it really depends 100% on how you are using it)

You are asking very broad generic questions, you are going to get very broad generic answers =)

You could literally have your classtype be represented by an Enum that is simply a number representation of which class the player is.




PARTNERS