Page 1 of 1

Code Examples

PostPosted: Wed Apr 21, 2010 2:01 pm
by werner
Hi,

Before I activate Objective-Basic, I saw good Examples for Games with the Commands Line and Circle etc.
It is interesting for me, I would like to programming with 2D and 3D Graphic Output.

Thanks.

Re: Code Examples

PostPosted: Thu Apr 22, 2010 10:34 am
by berndnoetscher
werner wrote:Hi,

Before I activate Objective-Basic, I saw good Examples for Games with the Commands Line and Circle etc.
It is interesting for me, I would like to programming with 2D and 3D Graphic Output.

Thanks.


Well, ObjB is still under construction 2D and 3D Graphic Output is accessable by using declare statements, but built-in commands will follow with the next versions.
Attached you will find an example how to use 2D graphic output with NSBezierPath of Cocoa.