Special

Introducing the “Welcome to Xojo” Bundle!

New to Xojo and looking for guidance? We've put together a terrific bundle to welcome you! Xojo Bundle

This bundle includes six back issues of the magazine -- all of year 22 in printed book and digital formats -- plus a one-year subscription (beginning with 23.1) so you'll be learning all about Xojo for the next year. It's the perfect way to get started programming with Xojo. And you save as much as $35 over the non-bundle price!

This offer is only available for a limited time as supplies are limited, so hurry today and order this special bundle before the offer goes away!

Article Preview


Buy Now

Issue 23.2 ('Making Mancala')
Instant purchase and download via GumRoad!

COLUMN

Playing Tennis (Part 1)

Playing Tennis with Xojo and MBS

Issue: 23.2 (March/April 2025)
Author: Stefanie Juchmes-Simonis
Author Bio: Stefanie studied computer science at the university in Bonn. She was introduced to Xojo via the work of her brother-in-law and got a junior developer position in early 2019 at Monkeybread Software.
Article Description: No description available.
Article Length (in bytes): 16,639
Starting Page Number: 71
Article Number: 23208
Resource File(s):

Download Icon project 23208.zip Updated: 2025-03-02 13:15:18

Related Link(s): None

Excerpt of article text...

This multi-part article is about a project that I presented at the Xojo conference in Andernach in 2024. With the help of our Phidgets and SceneKit, I have built a game that many of you may remember from earlier times. I would like to show you how it works in this and the next Spotlight. Today, we will focus on the look of the game, and in the following parts, we will add movement and control via the Phidgets.

Set Up Your Scene

To design our scene, we will use functionalities from the SceneKit area in the MBS Plugins. With these functionalities, we can create a 3D graphic in which the objects can interact with each other.

Before we can start with the individual components, we need to set up the scene. To do this, we place a DesktopSCNControlMBS on our window. This is where we will find our scene later. We leave some space at the top of the window for the controls that will be located there. We write the following lines in the open event of this control:

MyView = Me.View

...End of Excerpt. Please purchase the magazine to read the full article.