Jump to content

  • Log In with Google      Sign In   
  • Create Account


Member Since 31 Mar 2013
Offline Last Active Yesterday, 07:02 PM

#5128398 Android adb can't 'see' my device

Posted by dsm1891 on 03 February 2014 - 06:14 AM

Are you sure you've installed the correct USB debugging driver? 

yup :(

#5118846 Android adb can't 'see' my device

Posted by dsm1891 on 23 December 2013 - 08:01 AM



hopefully somebody here can help me, my problem I was debugging my app via usb (it was working fine at this point) when my phone became disconnected. From that point on eclipse/adb was never able to 'see' my device.

Things i have tried:

  • Countless restarts(of pc and device)
  • Re-installing/updating my phone's drivers
  • restarting the adb server
  • reinstalling android sdk

Does anyone have any suggestions?


(and yes my phone has usb debugging enabled)


Thanks in advance!





hmm... It might be something to do with my phone, I tried another android device an adb could see that device.



It seems other computers are able to detect my device. this just makes the problem even more curious as it isn't the phone that's wrong.


Also I have noticed sometimes when I plug my phone into my development computer windows tells me "device is not recognised". but not all the time (and yes I can see it in device manager)

#5074995 Story Planning Software

Posted by dsm1891 on 03 July 2013 - 04:35 AM



there is one called articydraft. Its pretty good, Ubisoft used it for Assasins creen [what ever the latest one was :/], and lots of other top name devs use it (apparently). From what i have seen it is really good, and from a programmer standpoint, it allows the developers to send all the information needed about almost anything in the game.


Depending on the size of your team it can get a bit pricey. However they do, do student deals (if you are a student). Also, there was an indie company that wanted to use it, but they couldnt afford it, the indie got in touch, and they worked out a  payment plan - use it now, pay when you release the game (or something simular). They are a bunch of really friendly guys so if price is an issue there is no harm in dropping them an email.




#5074718 The Joy of A Laptop

Posted by dsm1891 on 02 July 2013 - 06:42 AM



its not really a 'coding' horror, more of a development horror, but oh well..


So there I was stress testing the latest version of the game I am currently developing, to my delight I only dropped an average of 1(ish) frame/second (198fps), which was a lot less that my expectations. I decide to call it a night, and upload the current version of the project and go to bed. When I next came to open the project, and run it (just because), to my horror, my frames kept dropping and dropping until they hit a steady 40fps sad.png



After a few hours of trying to get the performance back up, by removing new code / double checking im on performance mode etc etc, I realise I have a blinking symbol on the right of my screen.



There was a few hours of my life I wont see again.


Has anyone else had similar issues?



#5052945 dx9 tutorial help

Posted by dsm1891 on 13 April 2013 - 04:23 PM

am I on the right track with this code

        { x, -x, 0.0f, D3DCOLOR_XRGB(0, 255, 0), },
        { -x, x,-1.0f, D3DCOLOR_XRGB(0, 0, 255), },
        { x, x, 0.0f, D3DCOLOR_XRGB(255, 0, 0), },
        { x, -x, -1.0f, D3DCOLOR_XRGB(0, 0, 255), },

Well,yes and no, the first 3 floats are X,Y and Z (i assume, sorry), this (im pretty sure) will create them in a diagonal pattern


for(float i; i <= (20*32); i+=32.0f){

{ -i, -1.0f, 0.0f,d3dcolor_xrgb(0,255,0),}


the loop increases by 32 each itteration, thus, the spacing between the pyramid will be 32px on the x axis

bare in mind its only an example :)


hopw that helps

#5052923 dx9 tutorial help

Posted by dsm1891 on 13 April 2013 - 03:09 PM

I want to know how to draw 20 triangular pyramids to the screen

Repeat the code for 1 pyramids 20 times, but of set each one by x (otherwise they will be drawn on top of each other)?

#5050135 Saving Game Data (map, entities, progression etc.)

Posted by dsm1891 on 04 April 2013 - 04:15 PM

If the game is simple, you can use the .ini file format. Editing is also simple, because it can be done with a text editor.

Thanks, I know A LOT of games use ini, but honestly have never edited one, what are the advantages? surley if it is simply writing values to the file, i will come across the same uglyness of writing to a txt file and again can easily get a little sloppy.


Are there any good web-tutorials on ini? quick google, didnt really show any promises :/


Thanks though

#5050122 Saving Game Data (map, entities, progression etc.)

Posted by dsm1891 on 04 April 2013 - 03:54 PM



So i find myself (roughly) designing a simple(ish) 2D engine and was wondering what is the best way(s) of storing all types of game data is? granted there will be plenty of options, but are there any you would suggest?



In the past I have always wrote variables to a text file to store them, then read that file to store them back to said variable, but when working with hundreds of different entities, each with different parameters, that can get a little sloppy. I have also worked with SQL Light and XML (android), and I can see how useful SQL light can be by storing entity data, and likewise with storing level data in XML.



However I am working with c++ now and have no experience (other than the reading and writing to text file) in the saving game data area.


I posted this in the beginners section, but all answers will be appreciated


Thanks smile.png