Jump to content

  • Log In with Google      Sign In   
  • Create Account


Member Since 09 Oct 2011
Offline Last Active Apr 08 2012 08:19 PM

Topics I've Started

Developing different views for different android devices?

08 April 2012 - 03:21 PM

I have my main.xml page designed for tablets becuase they have more screen space. I made a second xml file named phone.xml and i was wondering if anybody knows how to make the app check what device is using the app and automatically change depending on if it is a tablet or smartphone.

So if it's a tablet it will use main.xml and if its a smart phone it will use phone,xml for the menu.

question about storing objects in arrays.

22 March 2012 - 04:35 PM

here is my attack class

attack class

int power;

int init(void)

if i store attack.init() in an array whenever i select the unit that stores attack.init() would run that function correct? if there are any suprises or things that you may want me to know about the way im doing this feel free to tell me :).

thank you for anybody who helps ive only been programming for 6 months.

input system

09 March 2012 - 05:27 PM

void input::init keys(int keys)
for(int i=0;i>256;++i)
....more keys

i am looking for a way to assign a key to an element of this array. so i could make keys[0] store the 'a' key. can somebody point me in the right direction?

(inspired by id tech engine :D)

rpg game question

01 March 2012 - 12:04 PM

Im making a pokemon rpg game and i need an idea on how to create target pokemon. i have the pokemon class made, but i dont have an idea on how to create the enemy pokemon class. should i use inheiritance?

_int64 mBaseTime?

20 February 2012 - 03:24 PM

I bought a directx 10 book that uses the variable _int64 mBaseTime and i have no idea what this is. Does anybody know if it is from a specific library? If so what library is it from? I get an error saying that it is an undefined variable.