Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / Portrait mode don't work

Author
Message
Behdadsoft
15
Years of Service
User Offline
Joined: 7th Apr 2009
Location: Tehran-Iran
Posted: 9th Nov 2014 12:58
Hi.

i for test created a simple Portrate project and export it to Android. but when I run it in my Phone show Landscape. where is Problem?

Markus
Valued Member
20
Years of Service
User Offline
Joined: 10th Apr 2004
Location: Germany
Posted: 9th Nov 2014 13:29 Edited at: 9th Nov 2014 13:30
hmm, try
SetOrientationAllowed( portrait, portrait2, landscape, landscape2 )
=
SetOrientationAllowed( 1, 1, 0, 0)

how you made the .apk file?
with the tgc online .apk tool u can set the portrait or landscape mode.
or did u just use the agk player?

AGK 108 (B)19 + AppGameKit V2 Alpha .. : Windows 8.1 Pro 64 Bit : AMD Radeon R7 265 : Mac mini OS X 10.10 (Yosemite)
Behdadsoft
15
Years of Service
User Offline
Joined: 7th Apr 2009
Location: Tehran-Iran
Posted: 9th Nov 2014 13:44
with use SetOrientationAllowed( 1, 1, 0, 0) solve problem.

I create my apk with eclipse and android SDK.
BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 9th Nov 2014 14:24 Edited at: 9th Nov 2014 14:24
You can export directly from AGK:



Quidquid latine dictum sit, altum sonatur

Attachments

Login to view attachments
Behdadsoft
15
Years of Service
User Offline
Joined: 7th Apr 2009
Location: Tehran-Iran
Posted: 9th Nov 2014 20:05
I think you use AppGameKit v2. because my AppGameKit no have this feature.
Markus
Valued Member
20
Years of Service
User Offline
Joined: 10th Apr 2004
Location: Germany
Posted: 9th Nov 2014 23:37
he mean v2 yes.
for v1 here is a easy website for it. (if u not happy with eclipse like me)
https://developer.thegamecreators.com/android/create_apk.php

AGK 108 (B)19 + AppGameKit V2 Alpha .. : Windows 8.1 Pro 64 Bit : AMD Radeon R7 265 : Mac mini OS X 10.10 (Yosemite)
Behdadsoft
15
Years of Service
User Offline
Joined: 7th Apr 2009
Location: Tehran-Iran
Posted: 10th Nov 2014 09:08
Thanks Markus.
Naphier
14
Years of Service
User Offline
Joined: 2nd Oct 2010
Location: St Petersburg, Florida
Posted: 10th Nov 2014 11:37
Also if you're using Eclipse you'll want to check the android manifest for the proper screen orientations. It'll make sure whatever you pick works on all devices.

JimHawkins
15
Years of Service
User Offline
Joined: 26th Jul 2009
Location: Hull - UK
Posted: 10th Nov 2014 11:39
Why not use V2? The system is greatly improved.

-- Jim - When is there going to be a release?
Behdadsoft
15
Years of Service
User Offline
Joined: 7th Apr 2009
Location: Tehran-Iran
Posted: 10th Nov 2014 12:21
if I could make a game with V1 then can buy V2.
JimHawkins
15
Years of Service
User Offline
Joined: 26th Jul 2009
Location: Hull - UK
Posted: 10th Nov 2014 13:10
But you will make your game faster with V2.

-- Jim - When is there going to be a release?
Behdadsoft
15
Years of Service
User Offline
Joined: 7th Apr 2009
Location: Tehran-Iran
Posted: 10th Nov 2014 13:20
I can't risk again. I mistake bought V1 because with AppGameKit you should learn all thing Yourselves.
JimHawkins
15
Years of Service
User Offline
Joined: 26th Jul 2009
Location: Hull - UK
Posted: 10th Nov 2014 13:56
You have to learn to program. You have to learn some maths. You have to start by mastering simple things and then move on.

If you don't understand the idea of variables, loops, constants, mathematical concepts such as sine and cosine you will never produce anything that you can sell. Unless you just borrow code from other people. All the programmers who help here have worked hard to build up their knowledge, over years. In my case about 40.

To make some money you have to think of something original. There are millions of Flappy Bird clones available. They are worth nothing. To take your new idea to production you have to study.

AGK is a programming system. It is NOT a construction kit.

Your mistake is not to have bought AppGameKit, but not to have thought that you needed to learn anything. I think that you need to allocate six months to learn some programming skills and then come back with hard questions!

-- Jim - When is there going to be a release?
Behdadsoft
15
Years of Service
User Offline
Joined: 7th Apr 2009
Location: Tehran-Iran
Posted: 11th Nov 2014 10:23
i don't way make Flappy Bird and sell it. I want learn some game making tips. for example I want know how can repeat a sprite (pipes) Without making thousands of them.

I know Programming syntax and Dominant (Variables,Operators,if,else, switch-case, function (without Recursive Functions)) and newbie to loop and array. I need practice to Dominant them (loop and array). and for practice I'm need some example for better understand and work with AGK.

Overall believe that I'm newbie to Programming but for improve skill need work with real Projects.

I'm busy make commercial 3d game and wrote more that 1500 line script.because programming in this engine is About easy.even made a 2d platform and 2d action game with Game-editor engine. but Programming in AppGameKit is hard and need more example for better understand and work with it.
I don't want anyone make game for me. when I ask anyone give me an example want learn more about programming in AGK.
Behdadsoft
15
Years of Service
User Offline
Joined: 7th Apr 2009
Location: Tehran-Iran
Posted: 11th Nov 2014 12:03 Edited at: 11th Nov 2014 12:04
Thanks BatVink very useful.

anyone can say Where do I begin to start? I want for A few months work with AppGameKit and learn more about it.

Thanks.
JimHawkins
15
Years of Service
User Offline
Joined: 26th Jul 2009
Location: Hull - UK
Posted: 11th Nov 2014 12:09
I would work through all the examples that come with AGK...

-- Jim - When is there going to be a release?
Behdadsoft
15
Years of Service
User Offline
Joined: 7th Apr 2009
Location: Tehran-Iran
Posted: 11th Nov 2014 12:40
Ok, Thanks.
Scotty1973
AGK Backer
13
Years of Service
User Offline
Joined: 2nd Jun 2011
Location: Burton-on-Trent, uk
Posted: 11th Nov 2014 15:40
What about the Hands on AppGameKit book it is very good and will give you a better understanding.
Also Daniel's tutorials on you tube heres a link to one:-
https://www.youtube.com/watch?v=-HFImailli8

Also some more tutorials on the web:-
http://adg.devink.co.uk/index.php/resourcesmenu

Get the basics first and enjoy learning it

Have fun!!

Scotty
Behdadsoft
15
Years of Service
User Offline
Joined: 7th Apr 2009
Location: Tehran-Iran
Posted: 12th Nov 2014 05:50
Thanks Scotty1973.

top links is useful.

Login to post a reply

Server time is: 2024-11-25 11:35:47
Your offset time is: 2024-11-25 11:35:47