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.
-
-
3D games
- richmond62
- Posts: 4832
- Joined: Sun Sep 12, 2021 11:03 am
- Location: Bulgaria
- Contact:
3D games
- Attachments
-
- vanish.oxtstack.zip
- Stack.
- (82.53 KiB) Downloaded 220 times
https://richmondmathewson.owlstown.net/
- richmond62
- Posts: 4832
- Joined: Sun Sep 12, 2021 11:03 am
- Location: Bulgaria
- Contact:
Re: 3D games
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:
-
-
- Attachments
-
- vanish 2.oxtstack.zip
- Stack.
- (133.38 KiB) Downloaded 217 times
https://richmondmathewson.owlstown.net/
- richmond62
- Posts: 4832
- Joined: Sun Sep 12, 2021 11:03 am
- Location: Bulgaria
- Contact:
Re: 3D games
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.
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/
- tperry2x
- Posts: 3210
- Joined: Tue Dec 21, 2021 9:10 pm
- Location: Somewhere in deepest darkest Norfolk, England
- Contact:
Re: 3D games
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.
- richmond62
- Posts: 4832
- Joined: Sun Sep 12, 2021 11:03 am
- Location: Bulgaria
- Contact:
Re: 3D games
Yes, it is, and also really very simple.This is cool.
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.
- -
This is an 18th century version I saw in a museum in Munich!
https://richmondmathewson.owlstown.net/
- richmond62
- Posts: 4832
- Joined: Sun Sep 12, 2021 11:03 am
- Location: Bulgaria
- Contact:
Re: 3D games
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.
- -
https://fb.watch/oIr1NBqfoN/
https://youtu.be/YdHTlUGN1zw
Talk about "childhood trauma": stuck in my noddle for ever, and inspired me a lot with cartoony stuff on xTalk.
- -
https://fb.watch/oIr1NBqfoN/
https://richmondmathewson.owlstown.net/
- richmond62
- Posts: 4832
- Joined: Sun Sep 12, 2021 11:03 am
- Location: Bulgaria
- Contact:
Re: 3D games
Personally I could watch Disney's auto-plane camera film forever.
And here's a stack to get someone's juices flowing:
- -
This demonstrates Disney's point about moving forwards 'into' a scene.
And here's a stack to get someone's juices flowing:
- -
This demonstrates Disney's point about moving forwards 'into' a scene.
- Attachments
-
- Back and Forth.livecode.zip
- Stack
- (688.13 KiB) Downloaded 216 times
https://richmondmathewson.owlstown.net/
Who is online
Users browsing this forum: No registered users and 1 guest