Hi
Is there a way to roll back to a previous version of GLBASIC. Unfortunately I did not tick the create backup file option(sorry). I would like to roll back to version 7.115. I apologise for this but the performance of the new version has a serious slow down for me on the iPhone and I am almost ready to release my first game. O_O
If someone else has that backup you should be able to install it. I don't know if the license is stored somewhere in the backup but I doubt it, more likely in the registry. I haven't updated in a while so my last version is 7.104
I have a .zip file of version 7.087 (which was created by the updater) but I have tried to recover using these files and have been unable too. I keep getting a create error, so I suppose it has something to do with security or registry??
Kitty - If you compile wumbo(iPhone) with the new compiler do you not see a slow down?
It runs with the current version. I don't see a slowdown, but you might be right, of course. I have to investigate what I changed since then and redo that.
Also - are you using POLYVECTOR that's slowing down, or just DRAWSPRITE? Or what are you using?
I am using drawsprite, animsprite plus all the roto commands etc. Also, I thought it might be my iTouch, but the other apps still run fine, so my machine is okay.
Here is an example of my code.
FUNCTION drawdecal:
nowtime# = GETTIMERALL()
FOR g = 0 TO 19
IF decal[g].state% = 1
ALPHAMODE decal[g].alpha#
IF (decal[g].x# > 210)
decal[g].x# = 210
ENDIF
IF (decal[g].x# < 5)
decal[g].x# = 5
ENDIF
ROTOZOOMANIM 118,decal[g].img,decal[g].x#,decal[g].y#,decal[g].angle#,decal[g].scale#
ALPHAMODE 0.0
IF nowtime# > decal[g].vtime# + 15
decal[g].vtime# = GETTIMERALL()
decal[g].scale# = decal[g].scale# + 0.05
decal[g].alpha# = decal[g].alpha# - 0.04
IF (decal[g].alpha# < 0.0001)
decal[g].state% = 0
ENDIF
ENDIF
ENDIF
NEXT
ENDFUNCTION
Are you using the latest 3.1.2 iPhone update ?
OK, I made a new update that reverts to what I think I migth have been changing. Is it faster now?
Thank you. I will download the update recompile/test and then get back to you guys. :good: :good:
It is still very slow. I loaded back a project from 23 September 2009 (Which used to run very well with the old compiler and recompiled with version 7.144 and now this version also runs slow. :'( :'( :'( :'(
@Mr Toad, no i am still using 3.1, I have not yet updated my OS.
Can you really confirm it used to be running faster?
Yes definitely (not only by a few frames, but quite substancial). My artist in the usa is still running the same version on his iTouch with no problems. Nothing has changed in the coding or graphics. Is there possibility for me to roll back a to a different version??
You wouldn't happen to note the FPS would you ?
I cannot give the exact frame drop but it is substancial. If nobody else has the problem then it has something to do with me. But as I said I take a project that is two weeks old and definitely used to run fast (my iTouch and the artist in the USA), then recompile that same project(no code or graphic change) with the new compiler and then it runs extremely slow. I have also tried compiling on two different laptops and still the same. Obviously when running on the PC there is no visible frame drop. I am lost on this one.
The problem is, when you are close to the 60FPS limit, and draw a single dot more (might be due to my code changes - no idea), then it can't sync to 60fps and will sync to every other frame (30 fps).
Really - if you could reinstall an older version and verify the slowdown, it would be the best. Don't you have the zipped old version?
Basically you just need the files:
compiiler/platform/include/glb.h
compiler/platform/iphone/Xcode/lib/libglbasic??.a
also remove the XCode directory from your project and rebuild.
I've got RC2 (06/08/09) here, if you want it. I've also got one dated the12th - dont know which version it is, because there is no version information in the file...
Quote from: Kitty Hello on 2009-Oct-15
The problem is, when you are close to the 60FPS limit, and draw a single dot more (might be due to my code changes - no idea), then it can't sync to 60fps and will sync to every other frame (30 fps).
Really - if you could reinstall an older version and verify the slowdown, it would be the best. Don't you have the zipped old version?
Basically you just need the files:
compiiler/platform/include/glb.h
compiler/platform/iphone/Xcode/lib/libglbasic??.a
also remove the XCode directory from your project and rebuild.
Thanks guys I have a backup version of 7.087 I will try reload in the morning and get back to you guys on the results. Also, I have been trying to restore this version but was unable to get it running correctly. I will take Kittys advice and this should help.
Good News.
I have restored back to version 7.087 (exactly as Kitty has suggested) and immediately the frame rate increased considerably. =D Unfortunately, this does mean that something is making the new version of GlBasic slow on the iPhone :( But the big problem for me now is that the DRAWLINE COMMAND and the PLATFORMINFO$("DOCUMENTS") does not work as it was still broken in GLBASIC version 7.087. :( :( :(
Kitty do you have the files (compiiler/platform/include/glb.h
compiler/platform/iphone/Xcode/lib/libglbasic??.a
) needed to restore back to at least 7.115 :)
Kitty, just remove all that was created before your new build... that way we can finish this game... you must have backups???? unfortunately time is not on our side.. the version I have runs great... so there is a definite problem with GLBasic's new build.. I know tracking bugs is painful work, but if you have the version just before you updated we might get this project done..... the reason we went with GLBasic was the way you put your all into it... personally I think all you guys are talented to no end but sometimes it is safer dealing with the bigger companies, sure it cost more but at least there is a lot of testing before releases
I have faith you will figure it out, but it is just frustrating when you are dead in the water...
cheers and good luck
fxdude