Phun - 2D physics sandbox - forum

Official Forum

You are not logged in.

#1 2009-06-08 12:50:40

nagrom
Member
Registered: 2008-03-28
Posts: 23

Thyme examples scene compilation

I am starting this to list all the scenes on phunbox which can be useful for newbies to learn about thyme. I have read the tutorials about thyme variables and arrays but I find it easier when I can look and watch it work so thats how this idea came about. feel free to post any other scenes you think are useful to demonstrate a use of thyme scripting.


Beginner group is for examples to show basic functions of thyme with little to no prior experience needed to understand the scene

Intermediate is for those of you who know how to use thyme but are trying to figure out something new

Advanced is for scenes that aren't always easy to understand and most scenes involving heavy use of global variables, spawning objects with their own onCollide, and scenes that you need to tinker with and take apart to find where the thyme is being used


Beginner ------------------------------------------------------------------

http://www.phunland.com/phunbox/upload/image/th/23263_timer_example2.png
Author: link0007
Title: timer_example
File Size: 10.48 kB
Rating: http://www.phunland.com/phunbox/rating/23263
http://www.phunland.com/phunbox/theme/img/download_bar_red_part.pnghttp://www.phunland.com/phunbox/theme/img/download_bar_blue_part.png

http://www.phunland.com/phunbox/upload/image/th/17933_MotorSwitcher.png
Author: Otacon140.96
Title: Hinge: Direction switcher
File Size: 13.2 kB
Rating: http://www.phunland.com/phunbox/rating/17933
http://www.phunland.com/phunbox/theme/img/download_bar_red_part.pnghttp://www.phunland.com/phunbox/theme/img/download_bar_blue_part.png

http://www.phunland.com/phunbox/upload/image/th/19043_water_color_changer.png
Author: standardtoaster
Title: water color changer
File Size: 11.55 kB
Rating: http://www.phunland.com/phunbox/rating/19043
http://www.phunland.com/phunbox/theme/img/download_bar_red_part.pnghttp://www.phunland.com/phunbox/theme/img/download_bar_blue_part.png

http://www.phunland.com/phunbox/upload/image/th/17744_onCollide.png
Author: Gamma
Title: onCollide
File Size: 42.45 kB
Rating: http://www.phunland.com/phunbox/rating/17744
http://www.phunland.com/phunbox/theme/img/download_bar_red_part.pnghttp://www.phunland.com/phunbox/theme/img/download_bar_blue_part.png

http://www.phunland.com/phunbox/upload/image/th/19669_scoreboard.png
Author: standardtoaster
Title: scoreboard
File Size: 21.82 kB
Rating: http://www.phunland.com/phunbox/rating/19669
http://www.phunland.com/phunbox/theme/img/download_bar_red_part.pnghttp://www.phunland.com/phunbox/theme/img/download_bar_blue_part.png

http://www.phunland.com/phunbox/upload/image/th/17942_oncollide_2.png
Author: dionytadema
Title: oncollide 2
File Size: 128.12 kB
Rating: http://www.phunland.com/phunbox/rating/17942
http://www.phunland.com/phunbox/theme/img/download_bar_red_part.pnghttp://www.phunland.com/phunbox/theme/img/download_bar_blue_part.png

http://www.phunland.com/phunbox/upload/image/th/18973_Example.png
Author: Dezzeron
Title: OnCollide, Water
File Size: 34.57 kB
Rating: http://www.phunland.com/phunbox/rating/18973
http://www.phunland.com/phunbox/theme/img/download_bar_red_part.pnghttp://www.phunland.com/phunbox/theme/img/download_bar_blue_part.png

http://www.phunland.com/phunbox/upload/image/th/18550_onCollideScript_all_in_one_V2.png
Author: Intoxy
Title: onCollideScript all_in_one_V2
File Size: 60.69 kB
Rating: http://www.phunland.com/phunbox/rating/18550
http://www.phunland.com/phunbox/theme/img/download_bar_red_part.pnghttp://www.phunland.com/phunbox/theme/img/download_bar_blue_part.png


Intermediate ----------------------------------------------------------

http://www.phunland.com/phunbox/upload/image/th/21150_Ball_machine_V2.png
Author: Jelmerholland
Title: Ball machine (scripted) V2
File Size: 411.7 kB
Rating: http://www.phunland.com/phunbox/rating/21150
http://www.phunland.com/phunbox/theme/img/download_bar_red_part.pnghttp://www.phunland.com/phunbox/theme/img/download_bar_blue_part.png

http://www.phunland.com/phunbox/upload/image/th/17926_powder_game.png
Author: standardtoaster
Title: powder game (mouse controlled)
File Size: 3.01 kB
Rating: http://www.phunland.com/phunbox/rating/17926
http://www.phunland.com/phunbox/theme/img/download_bar_red_part.pnghttp://www.phunland.com/phunbox/theme/img/download_bar_blue_part.png

http://www.phunland.com/phunbox/upload/image/th/21724_paint.png
Author: standardtoaster
Title: [Thyme] Paint
File Size: 17.88 kB
Rating: http://www.phunland.com/phunbox/rating/21724
http://www.phunland.com/phunbox/theme/img/download_bar_red_part.pnghttp://www.phunland.com/phunbox/theme/img/download_bar_blue_part.png

http://www.phunland.com/phunbox/upload/image/th/22461_Ballz.png
Author: Frank
Title: Custom variable inside a geometry
File Size: 3.11 kB
Rating: http://www.phunland.com/phunbox/rating/22461
http://www.phunland.com/phunbox/theme/img/download_bar_red_part.pnghttp://www.phunland.com/phunbox/theme/img/download_bar_blue_part.png

http://www.phunland.com/phunbox/upload/image/th/18817_Simple_trafficlight.png
Author: Jelmerholland
Title: Simple traffic light, using color script
File Size: 20.33 kB
Rating: http://www.phunland.com/phunbox/rating/18817
http://www.phunland.com/phunbox/theme/img/download_bar_red_part.pnghttp://www.phunland.com/phunbox/theme/img/download_bar_blue_part.png

http://www.phunland.com/phunbox/upload/image/th/18526_Color_Channels.png
Author: Otacon140.96
Title: OnCollide reads RGB information
File Size: 34.47 kB
Rating: http://www.phunland.com/phunbox/rating/18526
http://www.phunland.com/phunbox/theme/img/download_bar_red_part.pnghttp://www.phunland.com/phunbox/theme/img/download_bar_blue_part.png

advanced --------------------------------------------------------

http://www.phunland.com/phunbox/upload/image/th/21723_polygon_creation.png
Author: standardtoaster
Title: polygon node creation
File Size: 6.39 kB
Rating: http://www.phunland.com/phunbox/rating/21723
http://www.phunland.com/phunbox/theme/img/download_bar_red_part.pnghttp://www.phunland.com/phunbox/theme/img/download_bar_blue_part.png

http://www.phunland.com/phunbox/upload/image/th/20922__Thyme__Auto-Spring.png
Author: Iggyhopper
Title: [Thyme] Auto Spring
File Size: 56.25 kB
Rating: http://www.phunland.com/phunbox/rating/20922
http://www.phunland.com/phunbox/theme/img/download_bar_red_part.pnghttp://www.phunland.com/phunbox/theme/img/download_bar_blue_part.png

Last edited by nagrom (2009-06-10 07:39:04)

Offline

 

#2 2009-06-08 13:05:35

standardtoaster
Posting Lord
Registered: 2008-04-30
Posts: 1042
Website

Re: Thyme examples scene compilation

You could use my polygon node scene for people to understand how you can use lists.
http://www.phunland.com/phunbox/upload/image/th/21723_polygon_creation.png
Author: standardtoaster
Title: polygon node creation
File Size: 6.39 kB
Rating: http://www.phunland.com/phunbox/rating/21723
http://www.phunland.com/phunbox/theme/img/download_bar_red_part.pnghttp://www.phunland.com/phunbox/theme/img/download_bar_blue_part.png


www.stykz.net pretty much a mac version of pivot but with more features. Windows version is out! It will also be made for Linux 2009.

My phun scenes

Offline

 

#3 2009-06-08 13:52:19

Jelmerholland
Phun Master lvl. 38 and then some
From: In the middle of fckn nowhere
Registered: 2008-03-09
Posts: 1136

Re: Thyme examples scene compilation

Yay, you used my scene big_smile

Also use thisone wink

http://www.phunland.com/phunbox/upload/image/th/21150_Ball_machine_V2.png
Author: Jelmerholland
Title: Ball machine (scripted) V2
File Size: 411.7 kB
Rating: http://www.phunland.com/phunbox/rating/21150
http://www.phunland.com/phunbox/theme/img/download_bar_red_part.pnghttp://www.phunland.com/phunbox/theme/img/download_bar_blue_part.png

I think this is a pretty good scene, with a lot of examples in it wink

Offline

 

#4 2009-06-08 15:38:23

nagrom
Member
Registered: 2008-03-28
Posts: 23

Re: Thyme examples scene compilation

Thank you for your scene suggestions I've updated the first post with those and I must say they are very nice.

Offline

 

#5 2009-06-09 19:57:43

standardtoaster
Posting Lord
Registered: 2008-04-30
Posts: 1042
Website

Re: Thyme examples scene compilation

Thanks for adding my scene! wink

I think I've found some more scenes of mine that may be of use.

This one should tell people how to use a global variable for a color using onCollide.
http://www.phunland.com/phunbox/upload/image/th/21724_paint.png
Author: standardtoaster
Title: [Thyme] Paint
File Size: 17.88 kB
Rating: http://www.phunland.com/phunbox/rating/21724
http://www.phunland.com/phunbox/theme/img/download_bar_red_part.pnghttp://www.phunland.com/phunbox/theme/img/download_bar_blue_part.png

This one shows how to use a global variable to add and subtract from a controller accelerator.
http://www.phunland.com/phunbox/upload/image/th/19669_scoreboard.png
Author: standardtoaster
Title: scoreboard
File Size: 21.82 kB
Rating: http://www.phunland.com/phunbox/rating/19669
http://www.phunland.com/phunbox/theme/img/download_bar_red_part.pnghttp://www.phunland.com/phunbox/theme/img/download_bar_blue_part.png

This one shows you how to change the color of liquid and how to liquify an object. (very easy)
http://www.phunland.com/phunbox/upload/image/th/19043_water_color_changer.png
Author: standardtoaster
Title: water color changer
File Size: 11.55 kB
Rating: http://www.phunland.com/phunbox/rating/19043
http://www.phunland.com/phunbox/theme/img/download_bar_red_part.pnghttp://www.phunland.com/phunbox/theme/img/download_bar_blue_part.png

This one shows you how to spawn things at the mouse.
http://www.phunland.com/phunbox/upload/image/th/17926_powder_game.png
Author: standardtoaster
Title: powder game (mouse controlled)
File Size: 3.01 kB
Rating: http://www.phunland.com/phunbox/rating/17926
http://www.phunland.com/phunbox/theme/img/download_bar_red_part.pnghttp://www.phunland.com/phunbox/theme/img/download_bar_blue_part.png


www.stykz.net pretty much a mac version of pivot but with more features. Windows version is out! It will also be made for Linux 2009.

My phun scenes

Offline

 

#6 2009-06-10 07:22:57

nagrom
Member
Registered: 2008-03-28
Posts: 23

Re: Thyme examples scene compilation

Wow thanks Ill be sure to get those added and Ill probably use some of those concepts in a ball machine I plan on making here soon.

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson

Phun and Phunland.com is copyright of Algoryx