Jump to content

  • Log In with Google      Sign In   
  • Create Account


Member Since 31 May 2010
Offline Last Active Feb 25 2014 04:45 AM

Topics I've Started

Android NDK Development - Would like feedback

29 November 2013 - 01:57 PM

Hi everyone,


I am working on a series of Android NDK Development articles for my blog and would love your feedback. 


The first article can be found here: http://shaneenishry.com/android-ndk-programming-part-i/


If they are found useful I will consider re-creating them using the Articles tools.


Thanks smile.png


OT: Internet's Fortune Cookie Day :)

06 August 2013 - 12:44 PM

Hey guys,


Not quite related to game development, though started in my nation's game development group :)


You are all invited to join the fun Fortune Cookie Day, a day where everyone should share a post or a tweet which would come out of a fortune cookie.


Info: https://www.facebook.com/events/536918039697249/


See you there! :)

Help: Abstracting DirectX9/OpenGL and DirectX11 shader interfaces

22 June 2013 - 06:13 AM



I have started implementing DirectX 11 at last and I have found myself at a puzzle.


Currently the engine supports OpenGL and DirectX 9.0c, which both have a very simple way of setting parameters on the shaders by asking for the name of the parameter for example DirectX9 has the ID3DXBaseEffect::GetParameterByName


Which you can use and then set the parameter.

Similarly, OpenGL uses glGetAttribLocation which gets you the handle by the name of the variable and then we can set it.


In DirectX11 however, I have only found registers and buffers, or at least that's what I have found to be compatible both with Win32 and the Mobile/Windows Store version.


Anyone has any insight I may have been missing, or an advice on bridging the three?


Thanks! :)

Question: UI for touch interfaces

07 December 2012 - 12:38 AM


I started working on a cross-platform mobile game and I have been looking for articles and anything at all on programming UI for touchscreens but failed to find anything relevant.

Is there any good source on how to make touch UI feel good and intuitive for the user? How to do things right with say, handling scrolling, buttons etc.

Thanks in advance :)

How to render into another window?

21 September 2011 - 12:51 AM


I need to create an interface overlay which launches different games and adds some visual ques over the game being run.

The question is how can I render on top of a full screen game's window without interfering with the ongoing game (beyond the interference that might naturally occur due to visual interference)?

Any solution be it DirectX, SDL or OpenGL (preferably in that order) will be most welcome.

On that note I have found the SDL WINDOWID "hack" which did not work if I set SDL_OPENGL value in SDL_SetVideoMode. Otherwise I could get it to render but it flickered between my visual and the in game visual which was not my intention, my intention is to have it render on top of the game (usually small symbols or text in the middle or corners of the game).

Thanks in advance!