Jump to content

  • Log In with Google      Sign In   
  • Create Account


superman3275

Member Since 08 Sep 2012
Offline Last Active Aug 24 2014 11:40 AM

#5170049 Creating a library? SDL2 GUI system

Posted by superman3275 on 29 July 2014 - 08:11 AM

Google is your friend.




#5170047 What's next for me?

Posted by superman3275 on 29 July 2014 - 08:07 AM

Since i feel i get good answers for anything here i'll keep asking questions.

Does c++ and OpenGL work good for 2d? Would that be to hard for me?
If not; any tutorials?

Right now i want to make small games and upload to sites like kongregate... There is no way to do that with C++? I guess i could go back to keeping my stuff for my self... But i get less feedback then.

You don't want to use OpenGL as your first library (or for 2D games, in that regard). You should learn a higher-level library, I recommend SFML.




#5170044 Want to move onto a graphics library

Posted by superman3275 on 29 July 2014 - 07:58 AM

I recommend SFML.




#5170041 Web Programming Proffession [ Need Advice] -

Posted by superman3275 on 29 July 2014 - 07:55 AM

- Yes, you can be a freelance web programmer. I've been a freelance Software Engineer / Consultant for around a year now, specializing in Python. It's completely possible, but you're going to be competing against a lot of people. You need to find one technology and specialize in it. You also will need to have a good portfolio / resume. If you want to get into web design you should design some fake sites for your portfolio.

 

- Web development traditionally focuses around HTML / CSS / Javascript for static sites, so you should learn these first. Most clients want to have a database system of some sort, so you'll want to learn a backend language too. There are a lot of these. I use Python + Flask, but the most popular one is PHP. Once you can make great sites with these languages, you should be good to go.

 

- You're way off from actually getting jobs. This is a question you can ask in a year or two, once you've specialized in some fields and found out what you like.




#5169799 Just about to release a game...

Posted by superman3275 on 28 July 2014 - 10:29 AM

You'll be fine.




#5169654 Passing Objects

Posted by superman3275 on 27 July 2014 - 08:58 PM

Apparently, I was wrong. I retract my statement. 




#5169543 What is super().__init()

Posted by superman3275 on 27 July 2014 - 11:41 AM

 

 

Yes i do when learn about the 'basic' of python,but i never learn about class much,since the books i read never using class on their example.But after reading that books and look some example on internet i realize that i must learn about it much ^^

 

For a book, I can recommend 'Learning Python'. But there's also many internet courses, amongst them is http://learnpythonthehardway.org/ which I think is the most appreciated python course on this forum. I'm quite sure it covers basics of OOP and such. Good luck with your education! smile.png

 

In the Python world, LPTHW is great for everything but OOP. It's unanimously agreed that the OOP section in that book is its major downfall.

 

I recommend you just look at examples of programs which use classes, and try writing some OOP programs yourself. OOP is the kind of thing that doesn't really "click" until you start using it yourself.




#5169406 [Game] How do i make a camera.class?

Posted by superman3275 on 26 July 2014 - 06:31 PM

We're going to need more information. What API / Framework / Library are you using? How is your code structured (it's hard to just read through all of your source code and understand it. Furthermore, few of us have the time)?

 

You're going to need to clarify your question if you want robust answers.




#5169403 Declaring temporary variable to save 1 multiply?

Posted by superman3275 on 26 July 2014 - 06:26 PM

Generally, if you have a large expression in which different parts of it meaningfully represent different values which make up the equation, then it makes sense to do this.

 

For example, it would be fruitless to do this when you're just doing some arbitrary operations. But if you have a formula which uses variables in it which you have to calculate, then it makes sense to abstract away these variables. In the distance formula:

 

d = sqrt((x2-x1)^2 + (y2-y1)^2)

 

(x2-x1) and (y2-y1) represent meaningful values: the x and y distance. Thus it would make sense to abstract the formula away to:

 

d = sqrt(xdistance^2 + ydistance^2)

 

Where:

 

xdistance = (x2 - x1)

 

and

 

ydistance = (y2-y1)




#5169401 What is super().__init()

Posted by superman3275 on 26 July 2014 - 06:22 PM

It runs the parent class' Constructor. More formally, it gives a version of the Player object which in the form of the Player objects parent class.




#5169397 I've decided unity

Posted by superman3275 on 26 July 2014 - 06:06 PM

Using JavaScript inside Unity is slightly different to using it under web dev.

Very different :)!




#5147036 Great laptop for game development? (Budget of +1200,- euros)

Posted by superman3275 on 14 April 2014 - 10:14 PM

I use an Ideapad y500 (You can get a y510p), and it's absolutely amazing. It's incredibly fast, and the new y510P supposedly has great battery also. It also has everything on your list.

 

 

There is no DDR-5

Yes there is. It's used in almost all modern graphics cards.

 

 

Processor needs to be at least 3.0 Ghz these days

In a laptop? You're dreaming. You want around 2.4 Ghz.




#5141872 mingw

Posted by superman3275 on 24 March 2014 - 08:26 PM

MinGW allows programmers to use the (amazing) GCC compiler on Windows.




#5141850 ive made a simple pong, what next?

Posted by superman3275 on 24 March 2014 - 06:47 PM

I guess I would not try to get a better understanding of a language (build a routine using it) by developing a game.

I'd probably go for solving Google Code Jam problems ... or similar coding challenges with C# and then return to learning game development with Unity.

 

IMO what you want to get better at is using data structures and algorithms efficiently in C# ... and with the ones you need for game logic you might not get the best mileage out of your endeavours.

This is fairly wrong. If he wants to develop games, he should be working on his game development skills. Unless he's making large, 3D games, he won't need Algorithms (unless you count things like Sweep and Prune, but at the same time, those won't be needed unless you have a very complex 2D game). Data Structures are an integral part of C#, and I'd be surprised if he couldn't work his way around Arrays, Queues, and Stacks.

 

What he needs to do is make games. That's how you get better, it's a proven technique.

 

To the Original Poster: I made Breakout after Pong, for me it was a natural transition. Maybe you can try that too?




#5141735 There got to be a better way to manage animations.

Posted by superman3275 on 24 March 2014 - 11:10 AM

Your animation management appears to be a finite state machine, which doesn't need to be hardcoded with constants and ifs and enums.

Instead, you should define a data structure to represent animation definitions, loaded from external files and processed by a generic animation manager. Your current ManageAnimation method is in class IActor, but it isn't generic: it assumes a number of states and events exist.

This is spot on. Read this for a great introductory tutorial to creating FSM's.

 

Here's another one which uses Enumerations, but is still very general. It might be easier for you to use this one, because it somewhat follows your current train of thought.






PARTNERS