Physion

  • Increase font size
  • Default font size
  • Decrease font size
Welcome, Guest
Username Password: Remember me

Virus 2.0 by Lynxx
(1 viewing) (1) Guest
  • Page:
  • 1
  • 2

TOPIC: Virus 2.0 by Lynxx

Re: Virus by Lynxx 6 years, 4 months ago #206

  • Lynxx
  • OFFLINE
  • Gold Boarder
  • Java/C#-Developer
  • Posts: 223
But i got this idea .. if an object should die, i can move it out of the graphicsview and set a countdown (50?) which will be decreased in the object and then an other object can remove it safely, because this object isnt used anywhere else.

I guess reusing the objects would be best (like in Arkanoidhysion).
Infinity is vast, especially near end.
bye, Lynxx

Re: Virus 2.0 by Lynxx 6 years, 4 months ago #213

  • Nait
  • OFFLINE
  • Senior Boarder
  • Posts: 60
Great!
I don't know if real virus lives like this, but looks to be true.)))

BTW, where have you red those scripts? I mean like world.setSelectionSetProperty in your selectionBar... Is there a way to read property of selected items?
Smt like
var rad = world.selecteditems.radius

?

Re: Virus 2.0 by Lynxx 6 years, 4 months ago #215

  • Lynxx
  • OFFLINE
  • Gold Boarder
  • Java/C#-Developer
  • Posts: 223
Nait wrote:
Great!
I don't know if real virus lives like this, but looks to be true.)))

It's not biologly correct, a virus is very simple, only a "code" without hull, it infects a cell and changes it to produce new viruses till it dies. Bacteria are much more complex, got an own body, can grow and they are able to do cell division. But because it's only a circle here i called it "Virus".

BTW, where have you red those scripts? I mean like world.setSelectionSetProperty in your selectionBar... Is there a way to read property of selected items?
Smt like
var rad = world.selecteditems.radius

?

None that i know of, would like to know for myself where those selecteditems-array is stored/the name. I just took all properties from all currently available objects (by hand) and sorted them.
Infinity is vast, especially near end.
bye, Lynxx
  • Page:
  • 1
  • 2
Moderators: Glenn555
Time to create page: 0.13 seconds