The beta 10 series has ended! An era is over. Ok so it's not quite that dramatic, and the engine is still basically the same. Just more solid. Stable, solid, and well rounded. It's good enough to not be beta anymore, so I have stopped calling it thus.
What's new?
Many things: better mac support, bug-free saved games, prettier download screen, tidied up scriping, faster fading, and skinable guis, to name a few.
I was seriously wrong a few months ago when I thought the engine was on it's last legs. This series has a lot of life left before the rewritten, shiny 2.0 version. If you are waiting for that, you may be waiting a while!
I got a bug for ya already! As you know, I made a little graphic to test out the new game icon feature. I linked to the graphic in games/Tutorials/.pwv as general/NewIcon.png. That works in the preview versions you released before this official release. In the official release, I first had a problem where PyWright didn't find the right folder. Now I've corrected that and still get this error:
pygame.error: Couldn't open games/Tutorials/art/general/NewGraphic
I'm guessing that's because you imposed the 70×70 size limit, and my graphic is larger than that.
But to get to the point: if this graphic isn't right for whatever reason, PyWright crashes without any kind of error or warning. I removed the reference to my graphic, and now it starts up fine. Tried again with a 70×70 graphic, and PyWright starts up – although I notice the icon is no longer on the games list. That's just for the download list, I suppose?
You need to include the file extension – NewGraphic.png. Also, from the preview version the file should now be data.txt instead of .pwv, although I think .pwv is still supported if data.txt isn't found. There is no size limit imposed yet, so that is weird that you ran into problems. I guess if something pushed it out of bounds it could be a problem.
That is strange, because it also works without the extension – or at least, it doesn't crash. Yes, it does seem to work with either .pwv or data.txt. The only thing I changed was the size of the graphic and the location of the graphic in data.txt.
when I click the load button the program it is closed !!!! there are a way to resolve it.
and… I have one question:
In the right up corner (the evidence mode) there are a button that there are write (Profile/evidence) How can I replace them whit an another word?(the word is the italian traslation of evidence and profile so Prove and Profili)
Can you post lastlog.txt after it crashes with Load? Also, if you have a "save.ns" in the game you were trying to load from, posting that might help as well. If you haven't yet saved with 0.95, and try to load a save from an older version, it might not work – the old save method was very buggy, so loading these saves is still buggy.
There is no way to translate that text at this time, I can easily add it to the next version though.
Perhaps I should explain … If I save everything ok if loaded from the MAIN MENU load the last save if I click the Upload button in the game, the program closes … anyway here is the lastlog
games/The truth games/The truth/Chapter 1 I Ricordi infranti Traceback (most recent call last): File "PyWright.py", line 31, in <module> File "corelibengine.py", line 1939, in run assets.cur_script.handle_events(pygame.event.get([pygame.MOUSEMOTION,pygame.MOUSEBUTTONUP,pygame.MOUSEBUTTONDOWN])) File "corelibengine.py", line 201, in handle_events gui.widget.handle_events(self,n) File "coregui.py", line 94, in handle_events self.event("click_down_over",evt.pos) File "coregui.py", line 67, in event done = w.event(name,p2,*args) File "coregui.py", line 73, in event func(*args) File "corecore.py", line 1996, in click_down_over if widget.recordb.click_down_over(mp): File "corecore.py", line 1501, in click_down_over assets.load_game() File "corecore.py", line 680, in load_game if not os.path.exists(path+"/"+filename+".ns"): TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'