Menu

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.

Show posts Menu

Messages - Kyo

#31
is an interesting, but not easy to build!
#32
For Android you can use AE (Android Extras created by spacefractal) and you have AdMob banner but only in fullscreen.
For iOS I remember there was iAd up to version iOS 4.X (but I do not think has been updated).
I wish there was a way to put a banner on iOS, since it is the only way.
#33
Sorry, you are right kanonet, I edited the post ...  :whistle:
#34
I remember a thread for iPhone ADV, but I can not find it on the Forum!
#35
Great News ... The code work fine!  :nw:

For Android and Win
Code (glbasic) Select

IMPORT "C" void __stdcall glTexParameteri(unsigned int flag0, unsigned int flag1, unsigned int flag2);
GLOBAL GL_CLAMP_TO_EDGE%                                   = 0x812F
GLOBAL GL_TEXTURE_2D%                                      = 0x0DE1
GLOBAL GL_TEXTURE_WRAP_S%                                  = 0x2802
GLOBAL GL_TEXTURE_WRAP_T%                                  = 0x2803


For Mac
Code (glbasic) Select

IMPORT "C" void glTexParameteri(unsigned int flag0, unsigned int flag1, unsigned int flag2);
GLOBAL GL_CLAMP_TO_EDGE%                                   = 0x812F
GLOBAL GL_TEXTURE_2D%                                      = 0x0DE1
GLOBAL GL_TEXTURE_WRAP_S%                                  = 0x2802
GLOBAL GL_TEXTURE_WRAP_T%                                  = 0x2803


and in Polys:
Code (glbasic) Select

STARTPOLY num
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_CLAMP_TO_EDGE);
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_CLAMP_TO_EDGE);
POLYVECTOR x1,y1,0,0,color
POLYVECTOR x1,y1+y2,0,sy,color
POLYVECTOR x1+x2,y1+y2,sx,sy,color
POLYVECTOR x1+x2,y1,sx,0,color
ENDPOLY


I have to try it on iOS!
Thanks to Gernot and Spacefractal for BIG HELP! :good: :nw:
#36
Mah ... I don't understand what is the problem!
Finally, Gernot and spacefractal have solved my problem (I have to test on Mac tonight and i confirm if they work).
Really we make a useless discussion, because I asked help in PM to Gernot?  :blink:

#37
oh big man ... I try it now and tell you if it works!  :nw:
#38
This is just your thinking:
I wrote the problem on the Forum to see if someone could help me.
When I realized it was a problem of core engine, I asked help to Gernot in pm.
I've never written for other problems in pm to Gernot, I written only in Forum!

Why I wrote in pm now?
1) I have the game almost ready, and if I don't fix the problem I can not release for Mac (and maybe for iOS ?!?) for you not is important, but for me it's very important!
2) I buy GL_B and for me it's normal to ask help from those who've paid (if you look other engine or middlewere, all have a contact for issues related to their Engine)

I do not have to ask permission to write to Gernot, I am an educated person and if he is busy, can not even to reply me.
Obviously if Gernot solve my problem, I written on the Forum how he solved my problem!

I'm sorry that he works alone in GL_B, maybe he should find someone who can help with work!
#39
Quote from: spacefractal on 2014-Sep-02
im also cant help anyone in pms too, because most of them is typical issues im wont answear again and again. Im also perfer for support Android Extras by the forum too and not pms, due most is the same im got asked for. You should sometimes give people a change to look on the code or such.

But anyway im have confirmed both bugs and have listed them in the bug section. So hopefully they got fixed in a recent update! Im do cant help any future yet in this issue.

Thanks for help ;)

#40
I do not know what kind of game you did, but my game have many layers (2 parallax back and 1 front) with a lot of effects (lights, torches, signs switched on and off) and all sprites are not Px2.
If I have to change all levels, to get them with Px2 sprites and in various size,  they require a lot of work for me!
I do not want to make comparisons or criticisms, but I test my sprites in various middleware (Unity, GM and MMF) and they work fine without Px2 Sprites, I think it's a limit of GL_B.
Anyway I don't wait for fix (if ever will be fixed), i have to publish my game (I just hope the store accept my game without other problem)!

-------------------------------------
Another question, with Android Extras we have Admob, but iOS supported some system ADV?
#41
Ok, I opened a ticket in Bug section but since I can not waste more time I'll try to redo the Background with texture PX2.

I honestly I am not happy!
#42

The problem is the black line that is created when approached two tile that are not Px2 Texture.

Code (glbasic) Select

IMPORT "C" void __stdcall glTexParameteri(unsigned int flag0, unsigned int flag1, unsigned int flag2);
GLOBAL GL_CLAMP_TO_EDGE%                                   = 0x812F
GLOBAL GL_TEXTURE_2D%                                      = 0x0DE1
GLOBAL GL_TEXTURE_WRAP_S%                                  = 0x2802
GLOBAL GL_TEXTURE_WRAP_T%                                  = 0x2803


FUNCTION z_drawstage: num%,x%,y%

        STARTPOLY num
                glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_CLAMP_TO_EDGE);// Changed \\
                glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_CLAMP_TO_EDGE);// Changed \\
                POLYVECTOR x1,y1,0,0,color
                POLYVECTOR x1,y1+y2,0,sy,color
                POLYVECTOR x1+x2,y1+y2,sx,sy,color
                POLYVECTOR x1+x2,y1,sx,0,color
        ENDPOLY
ENDFUNCTION

#43
If the Forum can not help me because the problem is in the core engine, and the only one who can help me is Gernot, I would be egocentric?
Then tell me who I should ask for help!
I have to release my game, which, unfortunately, is based on that system Background!
Now, or I'm going to change the whole system of tiling of the BG or solve the problem with the help of Gernot!
If he tells me that it's impossible to fix on the Mac, then take the long way and i change system BG!

I don't see all of these requests for help that clog the Forum!
#45
But my game work perfectly, in win and android, and system resize work fine in all screen resolution!
I have to change the gfx and removing Z-Project only for a black line?
I have to make a big work for a native problem of GL-B?
I can not do it now, it's too much work!

If Gernot fix my problem, well ... otherwise I will find a solution ....  :puke: