Code Examples

Coding Questions, IDE related or anything else

Code Examples

Postby werner » Wed Apr 21, 2010 2:01 pm

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.
werner
 
Posts: 1
Joined: Wed Apr 21, 2010 1:40 pm

Re: Code Examples

Postby berndnoetscher » Thu Apr 22, 2010 10:34 am

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.
Attachments
Scrolling.zip
(1.12 MiB) Downloaded 110 times
berndnoetscher
Site Admin
 
Posts: 280
Joined: Fri Feb 20, 2009 11:58 am


Return to Objective-Basic (Xcode 3)

Who is online

Users browsing this forum: No registered users and 0 guests