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 - blackway

#166
I'm at work now but I feel that's the same problem because now GLBasic support up to 16 mousecount...
I forgot that !  :-[
Thanks to all!

#167
Thanks Trucidare for your reply.
Yes, I have to wait for Kitty to know what can be the problem, but is something related with GlBasic's update  to 8.085
Anybody are running Openfeint under 8.085 ???
Bye!
#168
I was using Openfeint under GLBasic 7.xxx .  I'm using the xcode's project from the first post and I use the lastest libGLBasiciPhone-egl.a and libpng-gf.a and runs perfect!
Now I have installed 8.085 and Openfeint isn't running anymore. After I call GLB_OF_CreateOpenFeint(blablabla) and the Openfeint screen appears the application shutdown.  To see what happens I build and run in debug mode and this is from the console:
Code (glbasic) Select
Running…
[Switching to thread 11779]
[Switching to thread 11779]
sharedlibrary apply-load-rules all
continue
warning: Unable to read symbols for "/Library/MobileSubstrate/MobileSubstrate.dylib" (file not found).
2010-08-30 23:03:59.503 iPhone[1981:207] MS:Notice: Installing: com.glbasic.GLPaint [iPhone] (478.52)
2010-08-30 23:03:59.871 iPhone[1981:207] MS:Notice: Loading: /Library/MobileSubstrate/DynamicLibraries/Activator.dylib
warning: Unable to read symbols for "/Library/MobileSubstrate/DynamicLibraries/Activator.dylib" (file not found).
2010-08-30 23:04:00.072 iPhone[1981:207] MS:Notice: Loading: /Library/MobileSubstrate/DynamicLibraries/Backgrounder.dylib
warning: Unable to read symbols for "/Library/MobileSubstrate/DynamicLibraries/Backgrounder.dylib" (file not found).
warning: Unable to read symbols for "/Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.1.2 (7D11)/Symbols/usr/lib/libsubstrate.dylib" (file not found).
-applicationDidBecomeActive    -> unpause
backing: 320 x 480
Init GFX
Init Finalized
2010-08-30 23:04:06.302 iPhone[1981:207] Using OpenFeint version 2032010.https://api.openfeint.com/
GLB Error: 9
Shut down GLB
glb is shut down
GLB Error: 9

Debugger stopped.
Program exited with status value:0.



I'm using Iphone 3.2 SDK and my OS is 3.1.2 in my IPOD TOUCH ...    Do I need IOS 4.0 SDK and 4.0 operating system installed in my Ipod Touch???
Is the problem with multitasking because the glbasic app lose focus when openfeint start???

Thanks!!

#169
Umm I think that he fix his engine if I don´t understood wrong  :blink:
#170
Are you talking about this???:

"gcc 4.0 has some bugs with agressive optimization, I suggest you to add the -fno-regmove instruction in OTHER_CFLAGS to avoid weird behavior. gcc 4.2 fix the problem."

That's another guy telling that is a good practice to compile with that flags, but he found the solution before that and the solution was on Clipvertex Object's side.

Matchy tried setting those flags in Xcode/Other C Flag and GLB CMP but no difference on compile.

Bye!
#171
Hello Gernot!
The bug is box to box, box to poly,  poly to poly,
The only thing that works is circle to everything else  including circle to circle.

Did you read the post in the box2d forum??
That guy had exactly the same problem, under windows run ok but have that bug on the iphone...

Finally he found the problem and solution:

"The ClipVertex objects were not created properly in the engine because of a small change I made. Peculiar how it worked on Visual Studio though. I guess some difference in the compilers..."

I don't understand nothing about ClipVertex objects  and how GLbasic is handling =D  but I guess that there is the problem, maybe you need to change something ...

Gernot, we believe in you!  :good:
Bye!





#172
Hi Jaywat...
I guess that you already test everything to try to make it works, but I'd like to know if you disable showscreen command and any graphics commands\functions as well when your app goes background task (setting a flag NO_DRAW = true for example and skipping in your main sub every functions\subs that have graphics command envolved when NO_DRAW is true (even showscreen) ).

I hope that we can find a solution to this big problem, I'm a iphone developer too but we are still with 3.2 and I can test this sort of thing yet.

On the other side, I guess that if the problem is on GLBasic's core I´m sure that Gernot will find a solution pretty soon with your help.
Please Jaywat, keep with us.
Greetings...


#173
Hi Gernot, Thanks for your reply.
I was searching in the box2d forum (sorry I didn't seek before) and I found a guy that have exactly the same problem but fix it:

http://www.box2d.org/forum/viewtopic.php?f=3&t=4524

I'm at work now so I can`t test if adding -fno-regmove instruction flags can fix the problem

What do you think?
Thanks!
#174
Hi Gernot, sorry for ask again, and again, and again  :P
Any news about box to box collision on iphone?
Thank you!
#175
Hello!, any news about the issue with box 2 box collisions on Iphone?

I'm trying to extend the wrapper, but my knowledge is very limited  =D
Anyway, now we can destroy joints:

Code (glbasic) Select


FUNCTION b_DestroyJoint%: joint%
INLINE

b2Joint* pB = bJoints(joint);
bWorld->DestroyJoint(pB);
joint = NULL;

ENDINLINE


ENDFUNCTION



Bye!
#176
Thanks matchy for the update...
Anybody knows how to fix box to box collision and/or poly to box collision??    :(
Thanks again!
#177
I hate you Matchy !!!  =D

What could be the problem, then?
Any tips to share?
Did you test the example than comes with the wrapper ???
Thanks!
#178
Hello Gernot!
Any news??
Thank you!!
#179
Hello,
I have a few problems when I run the example that comes with the wrapper under my Ipod Touch. Everything compiles OK but I have collisions only with the circle, the two boxes fall forever and never collide.
Any Ideas?
Glbasic is so good and if I can use Box2D under Ipod\Iphone I'll stick with it.
Thanks !!!