3D games

A forum to share your demonstrations stacks, fun stacks, games, etc.
Post Reply
User avatar
richmond62
Posts: 2856
Joined: Sun Sep 12, 2021 11:03 am
Location: Bulgaria
Contact:

3D games

Post by richmond62 »

Here's an exercise demonstrating how one can simulate 3d stuff in xTalk: although it consists of a 'blob' being moved relative to a vanishing point, it does demonstrate the basics.
-
Screenshot 2023-11-29 at 19.34.03.png
Screenshot 2023-11-29 at 19.34.03.png (443.25 KiB) Viewed 1056 times
-
Attachments
vanish.oxtstack.zip
Stack.
(82.53 KiB) Downloaded 116 times
https://richmondmathewson.owlstown.net/
User avatar
richmond62
Posts: 2856
Joined: Sun Sep 12, 2021 11:03 am
Location: Bulgaria
Contact:

Re: 3D games

Post by richmond62 »

And, just to up the fun, here you can move the blob back and forth and it'll position itself in front and behind objects in the 3D space:
-
vanish2.jpg
vanish2.jpg (152.52 KiB) Viewed 1052 times
Attachments
vanish 2.oxtstack.zip
Stack.
(133.38 KiB) Downloaded 108 times
https://richmondmathewson.owlstown.net/
User avatar
richmond62
Posts: 2856
Joined: Sun Sep 12, 2021 11:03 am
Location: Bulgaria
Contact:

Re: 3D games

Post by richmond62 »

The second example uses the width of the blob to work out whether it should pass behind or in front of the penguins.

I had thought about using intersect but realised that would trigger a layer change regardless of the width of the blob.
https://richmondmathewson.owlstown.net/
User avatar
tperry2x
Posts: 1620
Joined: Tue Dec 21, 2021 9:10 pm
Location: Britain (Previously known as Great Britain)
Contact:

Re: 3D games

Post by tperry2x »

This is cool. For some reason, I think it could be possible to make something like 'Monkey Island' using this technique. Have a scene in which you can walk a character from left to right, and they can pass in front of or behind objects in the scene.
User avatar
richmond62
Posts: 2856
Joined: Sun Sep 12, 2021 11:03 am
Location: Bulgaria
Contact:

Re: 3D games

Post by richmond62 »

This is cool.
Yes, it is, and also really very simple.

In 1973, at Primary school, a teacher showed us how to make peep shows with shoe boxes, and thinking about that helped me to work out how to do some sort of fake 3D in xTalk without some odd add-on (an 'engine').

The "poor sausages" who attend my programming classes each summer start with all sorts of 'programming' a long way away from a computer, and one of the things I get then to make for homework is a peepshow; but I print out images for them so we can use the same imagery in a subsequent xTalk stack.
-
peepshow.jpg
peepshow.jpg (35.75 KiB) Viewed 1033 times
-
This is an 18th century version I saw in a museum in Munich!
https://richmondmathewson.owlstown.net/
User avatar
richmond62
Posts: 2856
Joined: Sun Sep 12, 2021 11:03 am
Location: Bulgaria
Contact:

Re: 3D games

Post by richmond62 »

We were also dragged into the gym to sit on the floor in front of the school black-and-white TV up on a gantry and watch this:

https://youtu.be/YdHTlUGN1zw

Talk about "childhood trauma": stuck in my noddle for ever, and inspired me a lot with cartoony stuff on xTalk.
-
Screenshot 2023-12-03 at 18.35.27.png
Screenshot 2023-12-03 at 18.35.27.png (348.69 KiB) Viewed 1031 times
-
https://fb.watch/oIr1NBqfoN/
https://richmondmathewson.owlstown.net/
User avatar
richmond62
Posts: 2856
Joined: Sun Sep 12, 2021 11:03 am
Location: Bulgaria
Contact:

Re: 3D games

Post by richmond62 »

Personally I could watch Disney's auto-plane camera film forever.

And here's a stack to get someone's juices flowing:
-
SShot 2023-12-04 at 11.07.10.png
SShot 2023-12-04 at 11.07.10.png (221.08 KiB) Viewed 1021 times
-
This demonstrates Disney's point about moving forwards 'into' a scene.
Attachments
Back and Forth.livecode.zip
Stack
(688.13 KiB) Downloaded 110 times
https://richmondmathewson.owlstown.net/
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests