H-Craft Championship now on Android

Announce new projects or updates of Irrlicht Engine related tools, games, and applications.
Also check the Wiki

Re: H-Craft Championship now on Android

Postby thanhle » Wed Feb 25, 2015 8:48 pm

Glad to see it happening.
Well done mate.

I need to learn android development to compete with you guys, lol. I need to develop a next gen pong. That must be difficult :).
thanhle
 
Posts: 324
Joined: Wed Jun 12, 2013 8:09 am

Re: H-Craft Championship now on Android

Postby Nadro » Thu Feb 26, 2015 12:02 pm

@CuteAlien
Software keyboard works fine in example from irr sdk.
Nadro
 
Posts: 1647
Joined: Sun Feb 19, 2006 9:08 am
Location: Warsaw, Poland

Re: H-Craft Championship now on Android

Postby CuteAlien » Thu Feb 26, 2015 1:57 pm

@Nadro, ah... that makes it not easier to hunt this
IRC: #irrlicht on irc.freenode.net
Code snippets, patches&stuff: http://www.michaelzeilfelder.de/irrlicht.htm
Free racer created with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
User avatar
CuteAlien
Admin
 
Posts: 8401
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany

Re: H-Craft Championship now on Android

Postby endless_dark » Mon Mar 02, 2015 11:22 am

I'm also experiencing virtual keyboard issues, I don't know if it has been comented here before.
When I have to insert the profile name, the virtual keboard appears, but when I touch it then it goes down and dissapears so I am unable to write.
endless_dark
 
Posts: 18
Joined: Mon May 04, 2009 12:18 am

Re: H-Craft Championship now on Android

Postby CuteAlien » Mon Mar 02, 2015 1:29 pm

Hi, thanks for the report. It would help a lot of you could tell the Android Version and maybe even the mobile device used when reporting problems. Then I have a chance to find some connection about the involved devices. Like if they all use the same Android versions and it's one I'm not having yet then I can try to get my hands on such a device.

Problem I'm having right now is that my devices don't show those problems, so I have no idea how to work on that. The Android simulator is unfortunately pretty useless for testing such things (or 3D apps in general).
IRC: #irrlicht on irc.freenode.net
Code snippets, patches&stuff: http://www.michaelzeilfelder.de/irrlicht.htm
Free racer created with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
User avatar
CuteAlien
Admin
 
Posts: 8401
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany

Re: H-Craft Championship now on Android

Postby endless_dark » Mon Mar 02, 2015 1:37 pm

I was trying it using a Xiaomi Red Rice (Hongmi).
It has MIUI 5 which is based in Android 4.3
endless_dark
 
Posts: 18
Joined: Mon May 04, 2009 12:18 am

Re: H-Craft Championship now on Android

Postby CuteAlien » Mon Mar 02, 2015 2:44 pm

I just updated to Lollipop a few minutes ago ... and now I can reproduce the keyboad troubles.

edit: OK, found 2 bugs. Both fixed in Irrlicht now. Guess I'll have to make a new release for my game.

edit2: Unfortunately another bug. It seems with Android lollipop all motion events are no longer blocked by virtual keyboard when the device is in landscape mode. No solution yet. That's probably also what was happening on some other device as that explains why the keyboard vanishes on first click (the input-field loses the focus).
IRC: #irrlicht on irc.freenode.net
Code snippets, patches&stuff: http://www.michaelzeilfelder.de/irrlicht.htm
Free racer created with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
User avatar
CuteAlien
Admin
 
Posts: 8401
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany

Re: H-Craft Championship now on Android

Postby CuteAlien » Mon Mar 02, 2015 11:11 pm

Seems I find no way to get virtual keyboards working with Android Lollipop in landscape mode. Only solution I can think of right now is writing my own keyboard :-(
IRC: #irrlicht on irc.freenode.net
Code snippets, patches&stuff: http://www.michaelzeilfelder.de/irrlicht.htm
Free racer created with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
User avatar
CuteAlien
Admin
 
Posts: 8401
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany

Re: H-Craft Championship now on Android

Postby CuteAlien » Tue Mar 03, 2015 11:21 pm

I've just started the upload of a new version - should be in Google-play by tomorrow (and devices seems to update automatically... first time I'm doing this so I really hope user-data will stay intact).

It fixes all the problems I found with virtual keyboards in Irrlicht (also fixed in Irrlicht by now). But couldn't figure out a way to get virtual keyboard + landscape mode working in Lollipop. Maybe the same bug you guys had. So... I've added a keyboard-selection instead which allows switching to an alternative keyboard now.

No idea yet on sound-troubles as I still can't reproduce those. But maybe it was a follow-up bug from the keyboard input which messed up things.

@Nadro: Can you try irrlicht example in landscape mode when you find some time? I'm curious if that's just a bug now on my device or if this is the general problem with keyboard input we're having.
IRC: #irrlicht on irc.freenode.net
Code snippets, patches&stuff: http://www.michaelzeilfelder.de/irrlicht.htm
Free racer created with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
User avatar
CuteAlien
Admin
 
Posts: 8401
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany

Re: H-Craft Championship now on Android

Postby endless_dark » Wed Mar 04, 2015 9:03 am

I've downloaded the update, and my user data is ok.

Shomehow I managed to create a profile yesterday and try out the game. I tried to write on the virtual keboard "sideways" and managed to write a name, so I could create a profile.
The game is awesome, at first it was hard to get used to the controls and the ship dynamics, but after a couple of races I got familiar.
The graphics look perfect and the game runs smooth. Very cool.

Since you've published the whole source code I would like to write a code review like the ones on http://fabiensanglard.net/, for learning pruposes on my blog but I don't know if I will have enough free time.
endless_dark
 
Posts: 18
Joined: Mon May 04, 2009 12:18 am

Re: H-Craft Championship now on Android

Postby CuteAlien » Wed Mar 04, 2015 9:32 am

Sounds like same problems I had here since update to Android Lollipop. The input area of the virtual keyboard is wrong, so you can just hit the keys at the border a little bit - but not the rest. No idea how to fix that, but with alternative keyboard now it should be possible for everyone to write names.

Source code... is not really perfect. I started it 8 years ago and I was new with Irrlicht back then. So would look differnt today I suppose. But at least I still managed to find my way around it years later, so it's not completely bad I guess :-)
IRC: #irrlicht on irc.freenode.net
Code snippets, patches&stuff: http://www.michaelzeilfelder.de/irrlicht.htm
Free racer created with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
User avatar
CuteAlien
Admin
 
Posts: 8401
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany

Re: H-Craft Championship now on Android

Postby qubodup » Mon Apr 06, 2015 1:56 pm

Fresh install from google play on a Samsung Galaxy Tab 3 7.0 doesn't work. At start I see this and touching above and below the input sometimes creates click sounds but no changes.
Image
qubodup
 
Posts: 4
Joined: Fri May 31, 2013 7:19 pm

Re: H-Craft Championship now on Android

Postby CuteAlien » Mon Apr 06, 2015 2:48 pm

@qubodup: Please switch to the alternate keyboard - there's a selection box for that now. Might have to press around a few times until other keyboard vanishes before you can click that selection. And yes, it's pretty bad. Unfortunately I have found no way to fix it so far. My current guess is that google broke this in Android lollipop, but not sure yet - could still be we do something wrong in Irrlicht.
IRC: #irrlicht on irc.freenode.net
Code snippets, patches&stuff: http://www.michaelzeilfelder.de/irrlicht.htm
Free racer created with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
User avatar
CuteAlien
Admin
 
Posts: 8401
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany

Re: H-Craft Championship now on Android

Postby qubodup » Wed Apr 08, 2015 2:07 am

I don't think it's related to the keyboard. I have it running on Android 4.1.2 Jelly Bean.

I can hide the keyboard by hold-pressing the option button. I also hear the music playing.

Image

I think I was able to press "ok" by randomly touching. Now all I see is a black screen.
qubodup
 
Posts: 4
Joined: Fri May 31, 2013 7:19 pm

Re: H-Craft Championship now on Android

Postby CuteAlien » Wed Apr 08, 2015 8:28 am

Ah OK, this sounds like a new bug. Very strange - editbox does show up, but the rest of the GUI is missing. Thanks for the feedback. Nothing I can really do so far unfortunately, but maybe I get such a device on my hand some day and can work on it.
IRC: #irrlicht on irc.freenode.net
Code snippets, patches&stuff: http://www.michaelzeilfelder.de/irrlicht.htm
Free racer created with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
User avatar
CuteAlien
Admin
 
Posts: 8401
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany

PreviousNext

Return to Project Announcements

Who is online

Users browsing this forum: No registered users and 1 guest