Re: [Newbies] Can I implement it with squeak?

2009-02-08 Thread Filip Malczak
I'd say yes. Just read 'bout Croquet and Cobalt: http://www.opencroquet.org/ http://www.duke.edu/~julian/Cobalt/Home.html Im almost 100% sure that they are written in Squeak, or at least in Smalltalk. I cant really remember, but I know that there is a library for 3d graphics, and interaction is

[Newbies] Understanding SnakeGame

2009-01-14 Thread Filip Malczak
So we have a SnakeGame (you can get it with Wolrd-open-SqueakMap Package Loader). I wanted to look at its code to uderstand it, and learn how to write in Squeak (not syntax, but algorithms, etc). And so I have this problem: I know how to make the snake go, but where and how do I create gameboard?

[Newbies] Passing methods to buttons

2009-01-14 Thread Filip Malczak
While trying to understand SnakeGame I found interesting thing, but Im not sure how does it exactly work. Does ButtonMorph #actionSelector: aSymbol gives a method to do when red-clicking? I mean: SimpleButtonMorph new label: 'Label'; color: Color lightGray; borderColor:

[Newbies] Drawing on World

2008-11-27 Thread Filip Malczak
I found out whats my problem with drawing - World is instance of PasteUpMorph, not Canvas. So I have question: how to draw Morph on World? My object has sub-morph. -- Pozdrawiam: Filip GG: 2486889 mail: [EMAIL PROTECTED] ___ Beginners mailing list

[Newbies] (drawing) doesNotUnderstand fillRectangle

2008-11-26 Thread Filip Malczak
I continue working on my stave-and-tabulature program(some older, but not very older version is in one of last mails). And I still cant really draw my object. Its rectangle (subclass of RectangleMorph) with submorph StringMorph - just a easy button. Here I have its drawOn: drawOn: aCanvas |label|

Re: [Newbies] closed and open interval

2008-11-24 Thread Filip Malczak
You can always make subclass of Interval for example OpenedInterval , add two variables: left and right.Make new methods: OpenedIntervalfrom: aNumber to: aNumber left: aBoolean OpenedIntervalfrom: aNumber to: aNumber right: aBoolean OpenedIntervalfrom: aNumber to: aNumber left: aBoolean right:

Re: [Newbies] closed and open interval

2008-11-24 Thread Filip Malczak
Hmm... When you were talking I wasnt aware of discussion and made up some basis for this subclass. I send it with this mail. Now Im gonna work on Intervals arithmetics to each other, for example: OpenedInterval from: 1 to: 5 right: true sumWith Interval from: 5 to: 8 should give Interval (or

Re: [Newbies] closed and open interval

2008-11-24 Thread Filip Malczak
2008/11/24 Cédrick Béler [EMAIL PROTECTED] Interval - I represent a finite arithmetic progression. What about infinite arithmetic progression ? ;) Can a collection contain an infinite number of elements... ? [0 1[ could represent the collection of **all number** between 0 and 1 excluded.

Re: [Newbies] Re: Hi there! (and my first problem)

2008-11-24 Thread Filip Malczak
Thanks ;) In deed - I found it out yesterday evening, but couldnt try (I just thought of the whole structure ;) ). Once again: thanks. 2008/11/24 Michael van der Gulik [EMAIL PROTECTED] On Tue, Nov 25, 2008 at 5:25 AM, Filip Malczak [EMAIL PROTECTED] wrote: 2008/11/23 Filip Malczak [EMAIL

[Newbies] Hi there! (and my first problem)

2008-11-23 Thread Filip Malczak
Hi, Im Filip, and Im new at squeak. Ive read 'Squeak by example', and now I try to make my first program. Ive already written in Pascal and a bit (really small bit) of C. Im from Poland, so my english can by not realy good. Now time for my problem: I wanna write a program to write notes on stave