yashsingh1/xdaforums huggingface dataset:
[Android Software Development] MattMatt0240:
Hello everyone,

This is my first thread on XDA, and also my first time using github. I have been learning java for android for ~3 years now, and feel there is still much to learn. As an all-time gamer, I would absolutely love to make one of my own.

I have recently started my 1st open-source project on github. I am still learning quite a bit, and am looking to create a retro-style, turn-based RPG for android. Any collaberators feel free to chime in, offer advice, bring new ideas to the table, etc...

This project is just beginning and the downloads may not be fully functional as of yet. Downloads serve mainly for testing purposes for now, but feel free to check it out. Please let me know what you think.

WORKING SO FAR:

* Stats and Inventory Databases

* Character creation (Choose name and class)

* Simple Battle mechanics

* Enemy Database

* Random enemy from database used in battles

* Level-ups

* Status Screen

* Viewing pre-populated Inventory (No using/exchanging items yet)

KNOWN ISSUES:

* Re-positioning Virual D-Pad when it's size is bigger than screen causes a force close

* D-Pad position gets skewed when re-sizing caused by it not accommodating for D-Pad Position setting

* Map's/Area's bounds are not set (Graphics still being worked on)

Storyline:

Unknowingly, you are a demigod. Half mortal, half god. Ever since your early teenage years, you have had "incidents" in which you never quite understood the nature of. Sudden outrages, blackouts, and waking up feeling completely exhausted.

The more the hero aged, the more frequent the uncontrollable events would occur. Finally the hero can't help but to believe it is some sort of witchcraft, cursed as a child. For this may not be completely false, the hero is soon to find out his true origins...

Github link: https://github.com/MattMatt0240/DemiGod

* Licensed under GNU GPL v3
[Android Software Development] MattMatt0240:
Credits:

[MENTION=5101348]nikwen[/MENTION] (introducing the idea of open-source to me/ help in development threads)

[MENTION=5354640]ADDICT.ANK[/MENTION] (collaborator, helping hand)

[MENTION=5106366]sak-venom1997[/MENTION] (collaborator, helping hand)

Please let me know if you're left out
[Android Software Development] MattMatt0240:
FAQs/downloads/screenshots

Download:

* Alpha v0.02 (Preview/Testing)

* Alpha v0.01 (Preview/Testing)
[Android Software Development] ADDICT.ANK:
Well great. Thanx bro you created the thread required

and pls reserve a couple of post row for later updating..

Lets go for it then.
[Android Software Development] sak-venom1997:
As i developer i see firm reasons to join it

But few questions arise in my mind and it will be good for all if answered in the op

* What is the storyline for this game ?

* Under which lisense is this app available ? (Creative Commons ,GPL ..)

I suggests adding requests for things you want to add in the github repo
[Android Software Development] MattMatt0240:
Thanks for the suggestion. This is my first thread here on XDA, also my 1st time using github(or any repo for that matter).

Pretty much my 1st time taking my code anywhere else from my personal computer and sharing my code/ideas with anyone besides my wife (who could care less about all of it). I have been learning java/android all by myself for a while, and could use some help and/or insight from someone more experienced.

Welcome aboard :thumbup:

Noted to self thrice via tapatalk
[Android Software Development] nikwen:
Haha. Thanks. :)

Wow, looks good. Is that a mockup or do you already have this working?
[Android Software Development] MattMatt0240:
I started working on this a while back (in a different project to learn from). Realized many of my errors in doing so, so started fresh. The screenshot is just a basic idea of how I want the gameplay to look like, and is not quite functional yet. I do all of the art myself (so far) but there are many aspects in which I'm not quite sure how to make work, such as inventory/shops, and maps.

If there's anything you see that you feel can be improved, please feel free to let me know :)

Thanks nikwen!

Noted to self thrice via tapatalk
[Android Software Development] sak-venom1997:
Would you mind pushing the merged code to new branched and deleting the bin folder

These non essential files make the repo huge and people like me with slow internet have problems synchronising
[Android Software Development] MattMatt0240:
Yeah, I meant to do it sooner. Been busy the last few days, will do it soon. Should be done by the time you get on. I don't have much of a base yet, this is really just the start of an idea.

Noted to self thrice via tapatalk
[Android Software Development] MattMatt0240:
Should be good now sak. I have slow internet as well, very slow unless I manage to find 4g at my house. I downsized the repo quite a bit, so it should be better for us all

Noted to self thrice via tapatalk
[Android Software Development] MattMatt0240:
[MENTION=5106366]sak-venom1997[/MENTION] I added a PreferenceActivity (settings) and made the D-Pad repositionable via those settings ;)

If you get a chance, check it out and let me know what you think.

Noted to self thrice via tapatalk
[Android Software Development] nikwen:
What's about posting apks here or on Github every now and then? I'd love to give it a try but I don't want to build it myself every time. :D
[Android Software Development] MattMatt0240:
Wow, still new to github, didn't know they had a release system :D I could do that and put a link in the O/P. Keep in mind that (at this point) it isn't necessarily playable, but at least everyone could get a feel for it and put up suggestions ;)

Noted to self thrice via tapatalk
[Android Software Development] ADDICT.ANK:
Exactly.

So do it and lets gather the suggestions.
[Android Software Development] MattMatt0240:
Added download link to 3rd post. Constructive criticism is welcomed ;)

Noted to self thrice via tapatalk
[Android Software Development] nikwen:
Thanks. :)

Looks good. Crashes very often but it's good considering that it's in its infancy. :good:

Will the character turn around when he's moved?

For sure I'll follow the development. ;)
[Android Software Development] MattMatt0240:
Yes, I just need to crack down on drawing up some sprites Lol. Crashes may be caused by not creating a character first, and possibly a few other things that will be put in order in final production.

I was thinking of having the user being presented with a "setup" screen where they will have to adjust the D-Pad position and size. There's a few bugs in there I think. All of the activities are placed on the title screen temporarily simply for ease of access during development.

Regardless, thanks for the feedback, and yes it is still very early. I'm trying, and learning a whole lot quite fast :p

Noted to self thrice via tapatalk
[Android Software Development] MattMatt0240:
Just a little update:

I have been working on trying to find an organized mapping system and think I found a satisfying solution. Before it was all hard-coded in java files leaving it a mess to read, and an activity for every "map" area.

Now, the maps will all be written in XML with a number identifier, which corresponds to the appropriate tile, translated by a separate java class. I tried using JSON, but [MENTION=5101348]nikwen[/MENTION] made a valid point... XML is more versatile and easier to read/use, thanks bud!

The inventory database has the path to the corresponding asset icon for each item, making it possible to match "xItem" with its relative icon. I was thinking I should do the same for enemies (once they are drawn). Enemy images are 100x100 pixels, used in battles, whereas item icons are the standard 32x32 px.

I also started playing around with animations, and obviously have much to learn on it.

I'll update the OP with another download, not much progress but still a lot of changes. Anybody feel free to chime in.

Noted to self thrice via tapatalk
[Android Software Development] nikwen:
Good progress. ;)

Looking forward to more improvements. :)
[One (M7) Q&A, Help & Troubleshooting] ycianca:
Hey guys,

I'm really sorry to bother everyone but I just spent 10 hours straight trying to get my HTC One back to its original state.

I'm really frustrated as I have tried 15 different tutorials and have about 1 million tabs open right now.

- I tried the whole re-locking thing and tried flashing a RUU (tried so many different ones but always some signature error. And with exe's I should get the right utility because it's the wrong bootloader). I don't even know what's the right one. Here's the getvar version-main I get: 1.29.401.12

- I somehow wiped everything and can't even get my phone as an external flash drive.

- I read I should have S Off whatever that is, but for that I needed to re-flash a rom. I can't even get that to work anymore. I tried to sideload it. It worked...but there's nothing on the phone except an ever turning cyanogenmod wheel.

- I took a pic of my bootloader screen, maybe you guys can decipher what there's to be done.

https://www.dropbox.com/s/p013md5fog7t4vn/2013-11-14%2017.34.07.jpg

Any help is SO appreciated! x/

Please go easy on me and speak english...not code lol :D

I know my way around googling the hell out of things but this is obviously my limit^^
[One (M7) Q&A, Help & Troubleshooting] nkk71:
Okay, your hboot is 1.44 (April 2013), so you should be able to achieve S-Off using revone.

can you please post a "fastboot getvar all" (remove IMEI and serialno), and confirm your bootloader is unlocked
[One (M7) Q&A, Help & Troubleshooting] ycianca:
sure, here you go:

https://dl.dropboxusercontent.com/u/56231439/Untitled-1.jpg
[One (M7) Q&A, Help & Troubleshooting] ycianca:
as for the unlocked bootloader, i guess it's unlocked as it says unlocked in pink on the picture
[One (M7) Q&A, Help & Troubleshooting] nkk71:
my bad, i'll get back to you in a little while.....

---------- Post added at 08:48 PM ---------- Previous post was at 08:07 PM ----------

Sorry for having to rewind a little, but can you let me know your goal?

1- hboot -> OK

2- getvar -> OK

3- you can achieve S-Off using revone with a Sense 5 / Android 4.1.2 based ROM

I need to go now, and may not be back till Saturday, in the meantime, if you need to get you phone up & running just use: http://www.htc1guru.com/dld/guru_reset_m7_1-29-401-13-zip/ (unselect "stock recovery" during installer) or any other custom ROM out there.

If you think I've helped, hit the thanks button,

and please explain where you want to end up.
[One (M7) Q&A, Help & Troubleshooting] ycianca:
my goal, as stated in my initial post and title, is to get my original phone back (firmware and stuff). i had cm on it, now there's nothing on it except a "useless" fastboot and recovery. i just wish to get my original phone back so i can re-sell it.
[One (M7) Q&A, Help & Troubleshooting] ycianca:
i just downloaded that zip and now i have absolutely no clue what to do...:rolleyes:
[One (M7) Q&A, Help & Troubleshooting] v-b-n:
Ah I think I know what your problem is ... 1.29.401.12 doesnt have a full RUU file anywhere ... can u tell me the filename you tried running (RUU exe?) ..

So what you need is ...

1. TWRP/CWM Recovery installed and working

2. TWRP/CWM Backup ROM file for 1.29.401.12

I could only google and find CWM backup for your ROM so you need to flash CWM recovery first (I assume you know how)

Download your ROM backup from here -> http://www.htc1guru.com/dld/m7-cwm-nandroid-backup-cid-htc__102-1-29-401-12-2013-05-16-zip/

adb push this to your sdcard and use restore option from CWM... also best if you wipe data/factory reset first since you had CM on it
[One (M7) Q&A, Help & Troubleshooting] ycianca:
thanks i will try that. do i need to re-lock it first?
[One (M7) Q&A, Help & Troubleshooting] v-b-n:
No need to relock
[One (M7) Q&A, Help & Troubleshooting] ycianca:
i don't know how adb push works. i tried following a tutorial but it says to mount sdcard which i don't have. i only have system, data and cache.

i then re-locked, then tried to flash via fastboot oem reboot and flash zip.

that didn't work because of "signature verify fail".

i'd love to try adb push, if you could be so nice to tell me how i'd have to proceed.
[One (M7) Q&A, Help & Troubleshooting] v-b-n:
It would be easier if you download a Custom ROM and then in CWM choose Install -> Sideload

And then from PC , adb sideload yourfile.zip

This should load the Custom ROM ... it will be easier to transfer and manage the nandroid backup files once the OS is loaded
[One (M7) Q&A, Help & Troubleshooting] ycianca:
yes i tried that but it does not work. and i don't get why.

1. i sideloaded a cm stable file.

2. the file had been renamed sideload.zip

3. i started the install and it said successful.

4. when i boot the phone, the cm wheel turns and turns infinitely.

5. i tried a different rom (infection), it said succesful install, i re-booted but that darned cm wheel was still there turning and turning thinking "you like that huh?"
[One (M7) Q&A, Help & Troubleshooting] v-b-n:
If you have nothing to save on sdcard , this is what I would do ...

1. Wipe System

2. Wipe Cache

3. Wipe Data

4. Wipe INternal Storage

And CWM Sideload should start the flashing immediately after transferring the zip file unless u r doing it some wrong way

---------- Post added at 05:03 PM ---------- Previous post was at 04:58 PM ----------

Here's another way ..

Download this -> http://www.htc1guru.com/dld/guru_reset_m7_1-29-401-13-zip/

Sideload it and follow on screen steps
[One (M7) Q&A, Help & Troubleshooting] ycianca:
to save us some time. would you be open for a quick chat session with screen sharing?

we could resolve this in 5 minutes like that.

tell me what you think, thanks!
[One (M7) Q&A, Help & Troubleshooting] ycianca:
nevermind! it seriously finally worked.

- i had some issues on the way with guru reset but it finally worked.

i couldn't sideload it it said something about too many emulators...

i sideloaded it via a toolkit and it worked. guru reset gave me another version number than the getvar thought. strange isn't it?

anyways...thanks a lot for helping me out!
[One (M7) Q&A, Help & Troubleshooting] nkk71:
getvar shows your firmware version, settings -> about shows you the ROM version
[8125, K-JAM, P4300, MDA Vario General] witte_nl:
I treid to copy all the hotspots from T-mobile into my vario (map directory) to use them with tomtom.

http://www.tomtom.com/plus/services/pois.php

But unfortunately it doesn't work. I did the same with the speedcamera's and it works.

What i'm doing wrong?
[8125, K-JAM, P4300, MDA Vario General] rr900:
Go to > wijzig voorkeuren > onderhoud nuttige plaatsen > kies nuttige plaatsen > Choose T Mobile HotSpots .

If they are not present , check if you have put them in the right directory

:shock:
[8125, K-JAM, P4300, MDA Vario General] witte_nl:
The directory is \Storage Card\Benelux_Plus-Map.

But they are not visible bij kies nuttige plaatsen.

Is there a limit of POI to mark?
[8125, K-JAM, P4300, MDA Vario General] rr900:
There should be 2 files named T-Mobile present in the directory , if not , copy the files again to your storage card.
[8125, K-JAM, P4300, MDA Vario General] witte_nl:
Yes there are. 1x ov2 and 1x bmp
[8125, K-JAM, P4300, MDA Vario General] rr900:
Already upgraded to Tomtom navigator 5.21 ?
[8125, K-JAM, P4300, MDA Vario General] witte_nl:
yep is updated!

Can you explain me step bij step how you did it?

From download to the settings in TT

Thank you in advance.
[8125, K-JAM, P4300, MDA Vario General] rr900:
Well , unzipped the 2 files . Connected to the computer using activesync and copied the files to storage card > Benelux-Map ( also containes flitspaal all ) .

selected poi , T-Mobile HotSpot .

Did you try a soft reset ??
[8125, K-JAM, P4300, MDA Vario General] m@rco:
There is a limit for POI.

Try to uncheck some speedcameras

And the you must see T-Mobile Hotspots
[8125, K-JAM, P4300, MDA Vario General] witte_nl:
OK it's working!

But how many POI can TT handle?
[G2 General] mangelok:
Hey, I just got a Nexus 5 and I'm fairly happy with it, except for two small defects: contrast and viewing angles. If you turn your phone even a few degrees, the colours will begin to wash out and go to white. I've attached a photo of the nexus 5 at almost 180 degrees, and I know that it's unusual to actually use it at the angle - but it's hard to show what happens without showing the extreme.

In the picture, the Nexus 5 has a black menu shown - notice how it's almost white.

I was wondering if anyone has encountered the same issue with their LG G2. It will help me decide which phone I'd rather have.
[G2 General] NRGZ28:
From what I've seen the LG2 does not have that issue. Great viewing angles! This is the reason I canceled my Nexus 5 order and purchased an LG2 :D
[G2 General] kwiksi1ver:
I also don't have any issues with my ATT LG2.

NRGZ28, are you going to make a rom for this phone? I used to run your winMo roms way way back in the day. :cool:
[G2 General] robogo1982:
It's an LCD display so it's unfair to expect AMOLED-like viewing angles.

But with that said, this is one epic screen. And this is coming from a guy who had the Xperia Z (not comparable with the G2's display, not by a long shot) and made the switch to this phone from the Galaxy S4 (better viewing angles and way lower color reproduction fidelity).

All in all, I am pretty satisfied so far. ?
[G2 General] J94w:
I was playing Dead Trigger last night, and I was playing with the viewing angle on my G2 and I love it, full color deep blacks no white outs; for a lcd screen this phone rocks :good:
[G2 General] Norside:
I have some blue color distortion when just tilting the phone a little bit, is my phone bad? Should I get a new one?
[G2 General] dscsayers:
Angles for me seem fine
[G2 General] BlackDino:
Same issue, seen it on multiple G2's

This is just how the lcd works on these phones
[G2 General] SKyRocKeting727:
LCD viewing angles are poor compared to AMOLED. So I'm sure that you won't find it any different from the Nexus 5. Although, I found the HTC One more pleasant view but such a small screen.

Sent from my G2
[G2 General] fr8cture:
From some angles mine turns a yellow tint pretty bad and a slight blue tint from other angles.
[G2 General] dannejanne:
The G2 has much better viewing angles than Nexus 5. I've compared them side-by-side as a friend of mine owns the Nexus 5. G2 is the clear winner in that regard. I have never seen an phone LCD screen with better viewing angles than G2. It's no Amoled in that regard but it's not that far off.
[G2 General] Rashad83:
Just get the G2 you gain more than what you lose with N5. G2 has: Better battery time, better camera, larger screen, fm radio, and software updates 4.4 and maybe even 5 but maybe by that time you will be considering buying a new phone. G2 all the way, never look back.
[G2 General] woof123:
This is true,but does it really matter?No one can use a phone from these angles anyway.
[G2 General] fr8cture:
Debatable. I can.
[G2 General] woof123:
And why you will need to use it from a low diagonal weird angle?And to use it for what...
[G2 General] fr8cture:
When it's sitting on my desk...
[G2 General] woof123:
Nothing can be done about it then lol Only amoled will cure this problem.But sadly it has more problems than the ones it cures...
[G2 General] cggorman:
I'll take compromised off axis viewing over image burn any day.
[G2 General] Infinite Jest:
That is literally the only reason why I revile AMOLED at this point. Looking forward to taking a gander at my G2 screen when it comes in today. If I can resurrect my DNA, I can give a viewing comparison between the two as well.
[G2 General] stevessvt:
If you want to feel better about viewing angles of the G2 or N5, go look at any newer Sony Xperia phones, then you will never worry about the viewing angles of any new phone ever again.
[G2 General] cggorman:
Not quite as extreme an angle as the N5 image in the OP, but I was limited by glare from the overhead lighting.

Backlight at 100% in a well-lit indoor area:
[G2 General] NRGZ28:
I plan to. I hate the cyan blue in the Tmobile ROM :D

The Nexus 5 is definitely worse. I've compared them side by side.. the 5 has a lower quality display for sure.

I couldnt believe how bad it was too after looking at it in a Tmo store. Too bad... Sony makes (used to?) some great displays :(
[G2 General] kwiksi1ver:
Well I followed you on twitter and am looking forward to your ROM.
[G2 General] stevessvt:
Yeah I had an unlocked ZL, good phone, but the off axis viewing was horrid.
[G2 General] fr8cture:
I have no problems with my viewing angles I'm just proving that it can be used at those angles. lol
[G2 General] Norside:
Are you going to make a rom for d802 too then? Just asking.. ;) Would been great if :D
[G2 General] SKyRocKeting727:
I get a little blue tint when I tilt it but I never look at the screen while it's tilting so it never mattered to me. This IPS LCD is beautiful :)

Sent from my G2
[G2 General] FILLY86:
I sent my Nexus 5 back today, because of the damn viewing angles. Other than that, the phone was really great. Shamefully FAST, and i didnt have problems at all with the battery.. But the display was a real big disappointment.

Now i am planing to get a G2, a S4 Active or a HTC One. I went to my local store and compared the displays, but unfortunatly under very bright conditions, since the store had a lot of lights..

Long story short: HTC One seams to have the best viewing angles. The S4 Active and the LG2 were almost the same regarding to the viewing angles and a little bit worser compared to HTC One. Perhaps the Active was a little better, but the G2 had darker blacks.

What i would like to ask you: Could you please make some pictures of the viewing angles of your G2 in a darker room at full brightness and on automatic brightness? It would be really helpful to me to decide, which device i should take :)
[G2 General] lolwatpear:
Viewing angles are good on the g2, but I recall my htc one being better. It loses a noticeable amount of brightness as mentioned in a lot of reviews. I still like the display much better than the htc one. The colors and blacks are better.
[G2 General] HotInEER:
I love my G2 and returned my N5. I'm so glad because the G2 is a better phone and I couldn't have been more disappointed in a phone than the N5. The screen and speakers were just horrible and then you throw in barely 3 to 3 1/2 hrs of screen time and you have a disaster.
[G2 General] SKyRocKeting727:
The display on the One seems tiny even though it's almost 5 inches. I went from Note 5.3 to the One 4.7....huge difference in screen size. Jumped to G2 5.2 with less bezel....LOVING IT! Enjoying large display without the hand cramps lol. The HTC One is a good phone if you don't mind a smaller display.

Sent from my G2
[G2 General] cggorman:
Just seeing this, sorry.

Stock Auto Brightness sucks. I use Lux. For better control, these were taken with a fixed 50% backlight setting in a dim room (35 lumens per lux, using front camera as source). One shaded 60W lamp and the TV are the only light sources. I'd call it typical ambient lighting for a nice restaurant.
[G2 General] FILLY86:
Thank you very much for the pics. The Screen seams to be a little blue, or is it just your cam? But in comparison to the Nexus 5: WAY (!) better viewing angles !
[G2 General] gcuchiha:
Yeah. Tilt from bottom left and top right gives slight blue tint. Tilt from bottom right and top left gives slight yellow tint. Tilt top bottom left and right are almost original colours.
[G2 General] MohJee:
Viewing angles comparison.

https://www.youtube.com/watch?v=Lq1qngTKQB4&feature=youtube_gdata_player
[G2 General] FILLY86:
Very Good comparison. In fact, the LG G2 is better than Nexus 5, although it has some noticeable color distortion (Blue and red tint)!
[G2 General] cggorman:
The pics make it look quite a bit more blue than in reality.
[G2 General] FILLY86:
I suppose, that if you would have made the pics from the bottom right corner, the pic would look a bit more "yellowish" ?
[G2 General] cggorman:
Yes. That's correct.