Oh! Sorry.
Yes, it supposed to be object oriented, like Smalltalk. The only difference is that you will be able to define scripts for classes and instances, like if you have:
when green flag clicked move 10 steps
In the class side, all instances of that class will move 10 steps.
If you want to create a new instance, you can have:
when I receive new create a new instance of me
Or something along those lines on either side. Does that help?
Last edited by Jwosty (2010-08-04 15:03:56)
Offline
Jwosty wrote:
Oh! Sorry.
Yes, it supposed to be object oriented, like Smalltalk. The only difference is that you will be able to define scripts for classes and instances, like if you have:Code:
when green flag clicked move 10 stepsIn the class side, all instances of that class will move 10 steps.
If you want to create a new instance, you can have:Code:
when I receive new create a new instance of meOr something along those lines on either side. Does that help?
Sort of, but I'm not really familiar on how Smalltalk works, its kinda confusing, I prefer it when you have a class, and when you create an object (I think thats what you'd call an instance), that instance will have its own name and attributes, (Unless... I'm just gettng confused.)
Offline
Yes, actually. You pretty much got it!
Not every object would always do the same thing. For example, you could have an object that you would stretch, but all of the other instances wouldn't because you didn't tell all of them to.
Each instance would react the same way given the same situation, but the same things won't always happen to them. It's kinda complicated, I know, so I'll include a pdf file explaining how to use Blocktalk.
Offline
Jwosty wrote:
Yes, actually. You pretty much got it!
Not every object would always do the same thing. For example, you could have an object that you would stretch, but all of the other instances wouldn't because you didn't tell all of them to.
Each instance would react the same way given the same situation, but the same things won't always happen to them. It's kinda complicated, I know, so I'll include a pdf file explaining how to use Blocktalk.
So it'd be a bit like this:
and
Offline
Thanks for your explanations. I have a vague understanding of Object Oriented Programming, but I'm not familiar with it. Especially Squeak/Smalltalk. I could see how this would help people learn without having to deal with writing and syntax. (Not that it's terribly hard, but it could be a stumbling block for someone who is already intimidated.)
Offline
markyparky56 wrote:
Jwosty wrote:
Yes, actually. You pretty much got it!
Not every object would always do the same thing. For example, you could have an object that you would stretch, but all of the other instances wouldn't because you didn't tell all of them to.
Each instance would react the same way given the same situation, but the same things won't always happen to them. It's kinda complicated, I know, so I'll include a pdf file explaining how to use Blocktalk.So it'd be a bit like this:
http://a.imageshack.us/img819/7429/createinstanceof.gif
and
http://a.imageshack.us/img266/7060/exec … script.gif
Yep! You have it.
But the "Execute script _" Probably won't be in V1. For this version, I'm just trying to get the class and instance script areas down, along with the "create new instance of _ named _" and others like that.
Offline
Harakou wrote:
Thanks for your explanations. I have a vague understanding of Object Oriented Programming, but I'm not familiar with it. Especially Squeak/Smalltalk. I could see how this would help people learn without having to deal with writing and syntax. (Not that it's terribly hard, but it could be a stumbling block for someone who is already intimidated.)
Thanks for your support!
Offline
Can I beta test please?
Offline
Jwosty wrote:
Sure!
Is there a file I need to download or something?
Offline
terminator68 wrote:
Jwosty wrote:
Sure!
Is there a file I need to download or something?
Its not ready for beta testings...
Offline
Jwosty wrote:
In fact, I just started it a few days ago... Sorry!
![]()
What have you done? Added the extra tab?
Offline
I added some blocks (I added these to my source code a while ago, so what the heck (one of them made by Jens)), an 'About Blocktalk' dialog saying:
Based on Scratch from the MIT Media Lab, v1.4 Blocktalk enables you to create classes and instances like the launguage Scratch1.4 and Blocktalk were both programmed in: Smalltalk. The Current Developers/Contributers (In order of signing up) are: >>Jwosty - Programmer >>ScratchReallyROCKS - Beta Tester >>meowmeow55 - Beta Tester >>terminator68 - Beta Tester The forum topic is located here: http://scratch.mit.edu/forums/viewtopic.php?pid=487973#p487973
Heh heh... The link goes to this topic.
And the other tabs that took me a while to figure out. They lead to the same scripting area though; I might have to make a new object for that.
And that's it! It's going really slowly right now because I am not the best in Smalltalk and it is taking me a while to find things. That's why I need other programmers to help me...
Last edited by Jwosty (2010-08-04 17:23:00)
Offline
Jwosty wrote:
I added some blocks (I added these to my source code a while ago, so what the heck (one of them made by Jens)), an 'About Blocktalk' dialog saying:
Code:
Based on Scratch from the MIT Media Lab, v1.4 Blocktalk enables you to create classes and instances like the launguage Scratch1.4 and Blocktalk were both programmed in: Smalltalk. The Current Developers/Contributers (In order of signing up) are: >>Jwosty - Programmer >>ScratchReallyROCKS - Beta Tester >>meowmeow55 - Beta Tester >>terminator68 - Beta Tester The forum topic is located here: http://scratch.mit.edu/forums/viewtopic.php?pid=487973#p487973Heh heh... The link goes to this topic.
![]()
And the other tabs that took me a while to figure out. They lead to the same scripting area though; I might have to make a new object for that.
And that's it! It's going really slowly right now because I am not the best in Smalltalk and it is taking me a while to find things. That's why I need other programmers to help me...![]()
Put a full stop between "launguage" and "Scratch1.4",
P.S. Can I beta test?
Offline
Jwosty wrote:
Ok!
_____________
Ok!
Double ok!
Offline
Is this better?
Based on Scratch from the MIT Media Lab, v1.4 Blocktalk enables you to create classes and instances like the launguage that Scratch1.4 and Blocktalk were both programmed in: Smalltalk. The Current Developers/Contributers (In order of signing up) are: >>Jwosty - Programmer >>ScratchReallyROCKS - Beta Tester >>meowmeow55 - Beta Tester >>terminator68 - Beta Tester >>markyparky56 - Beta Tester The forum topic is located here: http://scratch.mit.edu/forums/viewtopic.php?pid=487973#p487973
PS: There you are!
Offline
Ok! Sure! Actually, I'm thinking about using weebly.com for the website... but you never know!
And if you want to learn Smalltalk, try downloading this free book and Squeak environment: Bots Inc.
Offline
wmays wrote:
This would be great for shooting games, because you could make a bunch of instances of the same bullet, and then you could make them dissappear when they hit something.
Thats how it works in real games. But not just shooting games, less violent things like bubble popping.
Question: how are you going to deal with the differences beweens sprites and classes, technicaly, they are the same thing.
Offline