Jump to content

  • Log In with Google      Sign In   
  • Create Account


Member Since 22 May 2000
Offline Last Active Mar 24 2016 11:43 AM

#5122707 Ship movement + Guiding projectiles toward ship

Posted by on 10 January 2014 - 03:24 PM

You are converting the result of atan2() to degree !


"Angle = Math.Atan2(DeltaY, DeltaX) * 180 / Math.PI;"


So, you need to change it to 


"Angle = Math.Atan2(DeltaY, DeltaX);"

#5117574 When to Implement Game Loop

Posted by on 17 December 2013 - 09:00 AM

the "init();" and "clearMemory();" are not part of the game loop.and shouldn't be in a the "gameLoop()" !

In this case it is the game entry-point.

#5114016 Suggestion for a cross-platform C++ 3D game engine/framework

Posted by on 03 December 2013 - 07:30 AM

If you cann't handle Ogre3D (which in my opinion is far from being messy or confusing) then i wonder if you could handle the "features" you want to have with any engine.

To me it sounds that you are looking for a pure api engine which might be easier to start with but more diificult to deal with later.


Have a look here: http://devmaster.net/devdb/engines

#4971461 Game Engine Programming

Posted by on 20 August 2012 - 07:28 AM

Giving time estimates is almost impossible. Why? Cuz there are too many individual factors which depends on you:


- how good are you at programming? Here i also mean how well you know your tools and the enviroments, used SDKs, API's etc.
- how "special" will your engine be? If you use common concepts you don't need to reinvent the wheels and there will be tons of resources which you could use/adapt
- how much time will you spend for developing this? Also, consider that workng on something e.g. 3 days a row is much more efficient that spending 6 days spread over several weeks
- how good are your math skills?
- how well are you familar with concepts like 3D, Animations, Shader programming, etc.
- ...

Unfortunately, i don't have an equation for the above factors, so the only way is to find it out ;)
There is only one advice i can give you: just do it and don't think that you aren't doing the "perfect" way.
Its a matter of iteration, your 2nd engine will be better than the 1st , etc.
You could speed up development by looking at some existing engines.