Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Kyo

Pages: 1 [2] 3 4
16
2D / Axis Z on polyvector
« on: 2014-May-22 »
1) Please Fix on/off of VSync

2) The polyvector work with X_CAMERA, but the polyvector dont have the Z coordinate, and all sprites are overlapping.

If add the Z coordinate to polyvector and fix the X_Camera for the correct display, we would have a system identical to Unity 2D.

We would not need to use any external libraries (ZProject etc.), and we may use in 2D games: Progressive Zoom, auto resize on various screen resolution etc ....

Please let look at this thread: http://www.glbasic.com/forum/index.php?topic=9809.30

17
GLBasic - en / Camera and Polyvector
« on: 2014-May-13 »
It's possible to use x_camera and polyvector???

hopefully you can give me an example of code?

thanks  :good:


18
Need to download additional files for Android APK (since the limit of 50MB):

id=DOWNLOADINIT(fileurl$, fileto$, protocol$, username$, password$)
filesize=DOWNLOADFILESIZE(id)
progress=DOWNLOADPROGRESS(id)
status$=DOWNLOADSTATUS$(id)
DOWNLOADCLOSE(id)

Thanks!

19
I read in a forum the Max Size for APK file is 50MB.

and i found this: http://developer.android.com/google/play/expansion-files.html

this procedure is fine in gl_b ?????
or should I do otherwise?

My APK far exceeds the 50MB!  :glare:

20
GLBasic - en / Question AdMob
« on: 2013-Nov-14 »
you can integrate it on GLBasic?
how can I integrate it?

it would be nice if we tried to integrate it in favor of the whole comunity!  :good:

21
GLBasic - en / Android problem
« on: 2013-Nov-11 »
I formatted the PC.
I installed the java: jdk1.7.0_45
I added the path (JAVA_HOME) in the system variables
I installed the android sdk:
GOOGLE USB Driver and Android 4.4 (API19)

but when I compile, it gives me this error before installing it on the device (smartphone)

the PC sees the smatphone (started in debug mode) and allows me to navigate in the folders

Code: (glbasic) [Select]
BUILD FAILED
Q:\Compiler\platform\android\android-sdk-windows\tools\ant\build.xml:1101: The following error occurred while executing this line:
Q:\Compiler\platform\android\android-sdk-windows\tools\ant\build.xml:1115: exec returned: 1

It worked before but can not remember what I forgot to do!

22
GLBasic - en / Error compile Android
« on: 2013-Oct-15 »
I installed GLBasic ver  11.599 and I tried to use Android Extras.

Now I get this error:

Code: (glbasic) [Select]
compile+link:
running glb_build.bat
Using ANDROID_TARGET="android-8"
You can use "C:\Users\User—\Desktop\WorK_Game\Gioco\Game\FX_Game\EX_Fight\distribute\Android\glb_android_build.bat" to change the API level and SDK path.
%ANDROIDSDK% not set. Using GLBasic's default target-8, Android 2.2



BUILD STAGE 1: Compile and pack RELEASE
Updated project.properties
Updated local.properties
Added file C:\Users\Userù\Desktop\WorK_Game\Gioco\Game\FX_Game\EX_Fight\distribute\Android\build.xml
Updated file C:\Users\Userù\Desktop\WorK_Game\Gioco\Game\FX_Game\EX_Fight\distribute\Android\proguard.cfg

BUILD FAILED
Q:\Compiler\platform\android\android-sdk-windows\tools\ant\build.xml:539: The following error occurred while executing this line:
Q:\Compiler\platform\android\android-sdk-windows\tools\ant\build.xml:568: null returned: 1

Total time: 5 seconds
Picked up _JAVA_OPTIONS: -Xms256m -Xmx512m
.
BUILD STAGE 2: Build DEBUG and install on device
     [echo] Gathering info for glbasic...
     [echo] Creating output directories if needed...
     [echo] ----------
     [echo] Handling aidl files...
     [echo] ----------
     [echo] Handling RenderScript files...
     [echo] ----------
     [echo] Handling Resources...

BUILD FAILED
Q:\Compiler\platform\android\android-sdk-windows\tools\ant\build.xml:539: The following error occurred while executing this line:
Q:\Compiler\platform\android\android-sdk-windows\tools\ant\build.xml:568: null returned: 1

Total time: 1 second
Picked up _JAVA_OPTIONS: -Xms256m -Xmx512m
finished Android build-script.
Android=C:\Users\Userù\Desktop\WorK_Game\Gioco\Game\FX_Game\EX_Fight\distribute\Android
success
_______________________________________
*** Finished ***
Elapsed: 66.0 sec. Time: 03:55
Build: 1 succeeded.

And I do not compile the APK ...

I tried to uninstall and GLBasic I reinstalled version 10 with web update, but I get the same error...
I tried to restore the system to two days ago, but nothing works ....

What can I do?? PLEASE  :rant: :rant: :rant: :rant:  :nw: :nw: :nw:

23
I have compiled the apk with all the internal Media, and the sound does not play.

With the Media external at APK, audio sounds!

I use for Music, file OGG ( but i Tested the MP3)
and for SFX files WAV at 8 Bit (22050 HZ).

But don't work .....

Why?  :rant:

Thanks for reply  :good:

24
GLBasic - en / APK slow to unpaking
« on: 2013-Oct-03 »
I finally tried my game on Android. But I noticed that the apk (GLBasic-debug.apk) if it is over 30 MB when you first start is very slow to be unpacked. My game is over 100MB is much slower to be unpacked! Is this normal? Other games downloaded from Playstore (google Play) with size over 200 MB there is so much to be unpacked! I use the version 11.322.

I tried to put all the files in the Media folder, in a folder outside the game (the SD card in the download folder) is the game starts quickly to the first launch!

the solution are the OBB file, but I think GLBasic does not support them!

Can anyone help me?  :nw:

25
Hi,
I buy my Premium version of GLBASIC, and I received the code  :booze:

I wanted to know what is the latest version of glbaisc, I read that many users have the 11.4xx where I find?

Otherwise what is the latest version that I can install?

Thanks  :good:

26

To obtain a PSM Publisher License, please register or sign in to: https://psm.playstation.net/

End date: 2nd September 2013 (The duration may vary.)

Would be nice to be able to use GLBasic with PSM   :whistle:

27
GLBasic - en / Problem with Polyvector
« on: 2013-Apr-08 »
Hi.
I have a problem with the command Polyvector.

when join two images (tile system), it creates a black line in the middle!

I use images size 200x200 24-bit PNG.

I thought it was the ClearScreen with rgb (0,0,0) but I changed the value to rgb (255,0,0).

Then I thought that I had to use the command Polynewstrip (instead of individual Polystrip), but the error remains.



Can anyone help me?  :giveup:

28
GLBasic - en / SETSHOEBOX Problem
« on: 2013-Mar-27 »

I'm using the command setshoebox

The folder contains files like this:
Code: (glbasic) [Select]
-Game
     |_Character
              |_Player1
                      |_Player.txt
                      |_Player.png
              |_Enemy
                      |_Enemy.txt
                      |_Enemy.png

png files will work, but the txt files (or ini) do not read them.
Why?

Thanks for the help!

29
A couple of questions?
1) But Ogg (16 Bit 44100 Khz) audio files do not work in GLB on PC??
2) Some person is doing a Wrap of Admob for GLB? (I believe that person use the Ads to earn is easier than selling the game)
I would do it, but I have no idea where to start! :giveup:

Thanks for the help  =D

30
GLBasic - en / Help with Type
« on: 2013-Feb-22 »
Hi,
I explain the problem.

I have a Type with a lot of information:

Code: (glbasic) [Select]
TYPE tChar
Nome_Char$
Num_Anim%
Nome_Anim$
Num_Sprite%
Tot_Frame
X#
Y#
Flip
Scale#
//__________
start_image
id_sprite%
x_c%
y_c%
w_c%
h_c%
//__________
piv_x
piv_y
//__________
col_act_1%
col_x_1%
col_y_1%
col_w_1%
col_h_1%
//__________
col_act_2%
col_x_2%
col_y_2%
col_w_2%
col_h_2%
//__________
move_x#
move_y#
timer%
active_scia
//__________
frame_adv
start_anim
timer_frame
end_anim
old_anim
tipo_anim$
anim_locked
old_anim_locked
Key_press
ENDTYPE

GLOBAL Chars[] AS tChar
DIM Chars[5][50][23]


In this Type I load all the information of my Characters.

Now the problem is that I need to clone all the information to create more Characters!

To be more precise I get this:



What is the best way, without having to copy all the information into another type?

Pages: 1 [2] 3 4