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)
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.
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
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.
My laptop was charging. and thus automatically limiting the performance of my laptop.
There was a few hours of my life I wont see again.
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 :/
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