Browse Search Popular Register Upload Rules User list Login:
Spawning Complex objects in phun.

screenshot of the scene

Author: kilebantick

Group: Default

Filesize: 28.22 kB

Date added: 2009-09-27

Rating: 7.5

Downloads: 667

Views: 2529

Comments: 15

Ratings: 8

Times favored: 2

Made with: Algodoo before v1.8.5


Scene tag

I was messing around with spawning objects, and i figured out how to spawn circles, then i spawned my spawn-engine car, then i spawned one of my Tanks with springs.
This method is near flawless, apart from the fact that sometimes the objects link together:o
Please log in to rate this scene
Similar scenes
Title: NT BETA! (P 90)
Rating: 5
Filesize: 64.06 kB
Downloads: 1255
Comments: 3
Ratings: 1
Date added: 2010/03/13 21:17:10
Made with: Phun
Rating: rated 5
Title: Lancer made functional
Rating: 4.5556
Filesize: 35.82 kB
Downloads: 869
Comments: 2
Ratings: 3
Date added: 2009/03/24 22:58:27
Made with: Phun
Rating: rated 4.6
Title: Nonagear - Advanced course
Rating: 6.9167
Filesize: 0.58 MB
Downloads: 720
Comments: 1
Ratings: 6
Date added: 2009/04/28 20:04:57
Made with: Phun
Rating: rated 6.9
Title: Now Your Thinking with Portals [Concept]
Rating: 5
Filesize: 453.59 kB
Downloads: 474
Comments: 2
Ratings: 1
Date added: 2014/05/06 03:22:03
Made with: Algodoo v2.1.0
Rating: rated 5
Title: Laser (better version) - circle spawning
Rating: 5
Filesize: 73.33 kB
Downloads: 700
Comments: 4
Ratings: 1
Date added: 2009/04/27 14:51:29
Made with: Phun
Rating: rated 5
Title: Etch a Sketch(Real and Complex)
Rating: 5.4444
Filesize: 113.42 kB
Downloads: 443
Comments: 2
Ratings: 3
Date added: 2016/04/24 12:52:49
Made with: Algodoo v2.1.0
Rating: rated 5.4
that's a lot of code kile:) 10/10:)
It's easy to spawn whole scenes. It's just copy and paste work.:P
Where do you get the code to copy?
* select everything you want to spawn
* press CTRL + C
* go to … breaks.php
* click onto the top textbox and press CTRL + V
* remove line breaks and paragraph breaks
* copy the code (CTRL + C) from the text box at the bottom
* now go to an objects onCollide and insert the text (CTRL + V)

that's it :tup:
Last edited at 2009/09/27 19:21:19 by KarateBrot
You forgot something
past it all into notepad, then click replace, and replace all of the = with :=
can you copy on phun? well if you can am i some how missing something?
:tup:_o_ nice though_o_ :tup:
Yep. And if they glue together just delete everything that say body := (then some number)
But the prob is I can't coppy it, I do ctr + c and ctr + v into the top text box but it is then just nothing, blank

wait, the whole scene? Can't you do just an object karatebrot?

But I'm not able to copy something in phun and paste it somewhere else or the other way around:s :o :/ :(
Last edited at 2009/09/28 03:49:00 by Way2crazy
Go into notepad, type some words, higlight them, and press CTRL+C, then pres CTRL+V some times, then it should paste what you wrote. Now, open phun, highlight the object that you want, go into notepad (fresh page) and press CTRL+V, then all of the code for the object can come up. Go into replace, and replace every single = with :=, then go to the line breaker removal page, remove it all, and then put it into the onCollide section, with an extra } at the end.
Great! Thks_o_ _o_ _o_ :tup: :lol:

works well
Last edited at 2009/09/28 23:51:09 by Way2crazy
Last edited at 2009/10/06 05:11:24 by snowboarder1sam
Nice wrok! Even works in Algodoo Phun Edition!
Lol, I bounced the ball on one of the tanks and algodoo crashed... Damn paradoxes
epic but confusing :tup: can u make it spawn on first collide a man on bike on secedn collide a man in car on third collide a man killing himself :tup:
doesnt work for me shall i remove the created with phun thing in top of the text?