I know it sounds stupid, but just make a variable for the date that its saves to the image. If the Date on the news is diffrent show it, else dont!
Offline
johnnydean1 wrote:
I know it sounds stupid, but just make a variable for the date that its saves to the image. If the Date on the news is diffrent show it, else dont!
did you not hear me? I clearly said we don't want to save the image!
Offline
Ok then add a file in the image, like a .txt and save to that!
Offline
And how does the news work?
Offline
Is it a webpage or a txt file?
Offline
Ok exactly like my DLC in my Mario Kart Game!
Offline
sparks wrote:
webpage.
nah, txt file. Except it's a '.news' file due to problems with rendering and return values.
And you can't IMAGINE how long the parsing took to make... and I STILL haven't made it use arguments.
Last edited by nXIII (2010-06-18 16:31:56)
Offline
Can you set a cookie? The simplest solution is to write a zero-length file and check its creation date, but that might not work if the user doesn't have write permission to wherever you'd write the file.
PS Speaking of permissions, what I want for 1.1 is chroot-based sandboxing. This is mainly because as you know I view the point of modding (other than for the modders to learn from) as being proofs-of-concept for the Scratch Team, and it'd help them, imho, to have an example of sharing-safe file I/O capability.
Offline
Thats a idea,
make a make cookie $String$
and
Write $String$ to cookie $String$
and
Clear Cookie $String$
These would be helpful, but would only work in the java player.
Offline
johnnydean1 wrote:
Hows develpoment?
Normal, Im working onmodding Jens Scratch2exe to work with Panther projects, its harder than it looks...
Offline
markyparky56 wrote:
johnnydean1 wrote:
Hows develpoment?
Normal, Im working onmodding Jens Scratch2exe to work with Panther projects, its harder than it looks...
do you think it would be possible to make a Scratch2app for the Mac users out there?
EDIT: I just realized something.....I registered one day after nXIII. Weird.
Last edited by ScratchReallyROCKS (2010-06-21 22:41:25)
Offline
markyparky56 wrote:
johnnydean1 wrote:
Hows develpoment?
Normal, Im working onmodding Jens Scratch2exe to work with Panther projects, its harder than it looks...
Lol, I tried making one for Panther too! But, it opens a blank, empty, new project when you run the .exe instead of the selected project, but everything else works. Just replace the runtime.image file in Scratch2Exe's kit folder with this: http://www.mediafire.com/?noxgigrzozj
Offline
oh dear... I hope opening a blank project isn't caused by the same glitch that opens a panther project on a blank project... We're gonna have to look at that...
yes, it was a great idea tto convert the scratch2EXE as we've had a lot of people asking about that. One thing we would like to do with it is, as Panther projects now sometimes read and write to external files, we would like to be able to code those files INTO the EXE so that the external files don't have to be carried around, but we're not sure how easy that would be. There's also the point that sometimes the external file in a project needs to be acessed by a person, in which case we need a way to view the files - but sometimes the content of the file should remain hidden to stop people editing it (just like the Panther code) in which case it needs to be hidden... I guess there could be a checkbox asking if it is a hidden or viewable file and wether it is editable by a user or not...
we're not sure even vaguely when Panther is to be released... I would say this summer some time.
Offline
sparks wrote:
oh dear... I hope opening a blank project isn't caused by the same glitch that opens a panther project on a blank project... We're gonna have to look at that...
yes, it was a great idea tto convert the scratch2EXE as we've had a lot of people asking about that. One thing we would like to do with it is, as Panther projects now sometimes read and write to external files, we would like to be able to code those files INTO the EXE so that the external files don't have to be carried around, but we're not sure how easy that would be. There's also the point that sometimes the external file in a project needs to be acessed by a person, in which case we need a way to view the files - but sometimes the content of the file should remain hidden to stop people editing it (just like the Panther code) in which case it needs to be hidden... I guess there could be a checkbox asking if it is a hidden or viewable file and wether it is editable by a user or not...
we're not sure even vaguely when Panther is to be released... I would say this summer some time.
Ya... It might have something to do with that, I've noticed a lot of mods have that glitch, I have no idea why.
EDIT: 100th post
Last edited by Zorbak42 (2010-06-22 07:13:13)
Offline
I'm back from holiday/vacation!
We should have a publish menu, where you can choose to publish as application, or to the panther website!
Offline
SeptimusHeap wrote:
I'm back from holiday/vacation!
We should have a publish menu, where you can choose to publish as application, or to the panther website!
Where have you been? You haven't been on Dropbox for a LOONNNNGGGG time!
Offline
Zorbak42 wrote:
markyparky56 wrote:
johnnydean1 wrote:
Hows develpoment?
Normal, Im working onmodding Jens Scratch2exe to work with Panther projects, its harder than it looks...
Lol, I tried making one for Panther too! But, it opens a blank, empty, new project when you run the .exe instead of the selected project, but everything else works. Just replace the runtime.image file in Scratch2Exe's kit folder with this: http://www.mediafire.com/?noxgigrzozj
How did you change it to accept .pt files?
Offline
I didn't. When you choose the file, instead of double-clicking a project, type in the file name and click okay. It'll use that file, even if it's not a Scratch project.
Offline