Gamestudio Links
Zorro Links
Newest Posts
Blobsculptor tools and objects download here
by NeoDumont. 03/28/24 03:01
Issue with Multi-Core WFO Training
by aliswee. 03/24/24 20:20
Why Zorro supports up to 72 cores?
by Edgar_Herrera. 03/23/24 21:41
Zorro Trader GPT
by TipmyPip. 03/06/24 09:27
VSCode instead of SED
by 3run. 03/01/24 19:06
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (Quad, aliswee), 835 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
sakolin, rajesh7827, juergen_wue, NITRO_FOREVER, jack0roses
19043 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 3 of 3 1 2 3
Re: Android [Re: jcl] #452873
06/29/15 15:23
06/29/15 15:23
Joined: Mar 2012
Posts: 927
cyberspace
W
Wjbender Offline
User
Wjbender  Offline
User
W

Joined: Mar 2012
Posts: 927
cyberspace
it is good to hear that there IS a android project somewhere in the pipeline , and that bug fixes / updates are also in the pipeline .

I an almost finished with ,my first Android game ,I have learned a new scripting language , and two android game frameworks , one uses a scripting language much like litec except class support is a nice bonus there , the other uses java .

it would be a big deal if gamestudio gets in this


Compulsive compiler
Re: Android [Re: Wjbender] #452874
06/29/15 15:36
06/29/15 15:36
Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Superku Offline
Senior Expert
Superku  Offline
Senior Expert

Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Happy to hear about bug fixes! I'd be even more happy if a joystick (re-)connect function would make the cut!


"Falls das Resultat nicht einfach nur dermassen gut aussieht, sollten Sie nochmal von vorn anfangen..." - Manual

Check out my new game: Pogostuck: Rage With Your Friends
Re: Android [Re: Superku] #452921
06/30/15 14:13
06/30/15 14:13

M
Malice
Unregistered
Malice
Unregistered
M



@Superku at this point we surely could have found and patched in a joystick dll. Maybe the xbox dll. If my memory servers correctly this was added to "the list" over 2 years ago.

Re: Android [Re: ] #452925
06/30/15 16:11
06/30/15 16:11
Joined: Jun 2009
Posts: 2,210
Bavaria, Germany
Kartoffel Offline
Expert
Kartoffel  Offline
Expert

Joined: Jun 2009
Posts: 2,210
Bavaria, Germany
@^: the list is some mysterious place... things that are sent there might never be seen again.

But yeah, nice to hear that an update is planned. laugh


POTATO-MAN saves the day! - Random
Re: Android [Re: Kartoffel] #452935
06/30/15 19:32
06/30/15 19:32
Joined: Sep 2003
Posts: 9,859
F
FBL Offline
Senior Expert
FBL  Offline
Senior Expert
F

Joined: Sep 2003
Posts: 9,859
The joystick support should be reworked to use xinput anyway, otherwise the xbox controller shoulder buttons are not treated in a proper way. Direct Input treats them as a single axis, resulting in both pressed and both relased delivering a value 0 with no good possibility to distinguish. Fail grin

xinput looked easy when I researched, a xinput plugin should be possible.

Re: Android [Re: FBL] #452937
06/30/15 20:06
06/30/15 20:06
Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Superku Offline
Senior Expert
Superku  Offline
Senior Expert

Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Hm I don't have my XBox 360 controller here currently but I think this used to be possible, you may need to check all available axes (I may be wrong though, of course):

Click to reveal..
Code:
int i; var* joy_axes[7];
			joy_axes[0] = &joy_raw.x;
			joy_axes[1] = &joy_raw.y;
			joy_axes[2] = &joy_raw.z;
			joy_axes[3] = &joy_rot.x;
			joy_axes[4] = &joy_rot.y;
			joy_axes[5] = &joy_rot.z;
			joy_axes[6] = &joy_hat;
			
			for(i = 0; i < 7; i++) DEBUG_VAR(*joy_axes[i],20+20*i);
			for(i = 0; i < 12; i++) DEBUG_VAR(key_pressed(256+i),200+20*i);



"Falls das Resultat nicht einfach nur dermassen gut aussieht, sollten Sie nochmal von vorn anfangen..." - Manual

Check out my new game: Pogostuck: Rage With Your Friends
Re: Android [Re: Superku] #452938
06/30/15 20:43
06/30/15 20:43
Joined: Sep 2003
Posts: 9,859
F
FBL Offline
Senior Expert
FBL  Offline
Senior Expert
F

Joined: Sep 2003
Posts: 9,859
You can detect the axes with no problem, it's just the way how it is detected.
the left button is -255...0 and the right button is 0..255 (or ..128... can't remember) - since it's an axis the values are simply added, resulting in both buttons pressed = 0. that's... stupid tongue But not a problem of Acknex, it's DirectInput.

Re: Android [Re: FBL] #452948
07/01/15 13:53
07/01/15 13:53
Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Superku Offline
Senior Expert
Superku  Offline
Senior Expert

Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Oh I see... that sucks.


"Falls das Resultat nicht einfach nur dermassen gut aussieht, sollten Sie nochmal von vorn anfangen..." - Manual

Check out my new game: Pogostuck: Rage With Your Friends
Re: Android [Re: Superku] #453520
07/30/15 10:37
07/30/15 10:37
Joined: Sep 2003
Posts: 9,859
F
FBL Offline
Senior Expert
FBL  Offline
Senior Expert
F

Joined: Sep 2003
Posts: 9,859
Also interesting for the future could be Emscripten.
But in order to utilize Emscripten it would be required to replace DirectX with OpenGL ES, OpenAl, SDL, ... and get rid of any other Windows specific code... which will be the main problem for any port to a different platform.

Emscripten provides common APIs like mentioned above and can compile to asm.js - which means - yes, exactly - you can run everything in a browser.

Unity5 is using this approach as well, and it's working pretty cool.
Also more and more emulators are going that way, including Dosbox. No more Java applets, no more plugins!


Page 3 of 3 1 2 3

Moderated by  old_bill, Tobias 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1