User Tools

Site Tools


en:tutorials:spawner

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
en:tutorials:spawner [2018/06/21 16:49 (2 years ago)]
127.0.0.1 external edit
en:tutorials:spawner [2020/08/11 23:45 (4 days ago)] (current)
iarwain bitbucket -> github
Line 129: Line 129:
 We'll then skip this one and directly have a look to the parent folder'​s one. We'll then skip this one and directly have a look to the parent folder'​s one.
  
-As you can see by looking at [[https://bitbucket.org/orx/orx/src/default/​tutorial/​bin/​11_Spawner.ini|the config file]], we provide values for all basics system (''​Display'',​ ''​Physics'',​ ''​Input'',​ ''​Viewport'',​ etc...).\\+As you can see by looking at [[https://github.com/orx/orx/blob/master/​tutorial/​bin/​11_Spawner.ini|the config file]], we provide values for all basics system (''​Display'',​ ''​Physics'',​ ''​Input'',​ ''​Viewport'',​ etc...).\\
 As we've already covered all this in previous tutorials, we won't do it here again. As we've already covered all this in previous tutorials, we won't do it here again.
  
Line 211: Line 211:
 WaveDelay ​  = 0.01</​code>​ WaveDelay ​  = 0.01</​code>​
  
-Spawners can use far more attributes than the three defined above as we can see in [[https://bitbucket.org/orx/orx/src/default/​tutorial/​bin/​CreationTemplate.ini]],​ but those are the most important ones.+Spawners can use far more attributes than the three defined above as we can see in [[https://github.com/orx/orx/blob/master/​tutorial/​bin/​CreationTemplate.ini]],​ but those are the most important ones.
  
 First, the ''​Object''​ attribute tells the spawner which kind of object it's going to spawn. In this case it's an object which is called ''​Particle''​ and that we won't describe here ((it's mainly a graphical object with varying color, shape and physical properties that we use as a... particle! =))). First, the ''​Object''​ attribute tells the spawner which kind of object it's going to spawn. In this case it's an object which is called ''​Particle''​ and that we won't describe here ((it's mainly a graphical object with varying color, shape and physical properties that we use as a... particle! =))).
Line 370: Line 370:
 This event'​s payload will contain the parameter name ((here it'd be ''​texture''​ or ''​offset''​)),​ its type and its config default value.\\ This event'​s payload will contain the parameter name ((here it'd be ''​texture''​ or ''​offset''​)),​ its type and its config default value.\\
 You can then change its value on-the-fly to suit your needs.\\ You can then change its value on-the-fly to suit your needs.\\
-There'​s a simple sine wave distortion example that you can see in the bounce demo which is included in orx's source package, [[https://bitbucket.org/orx/orx/src/default/​code/​plugins/​Demo/​orxBounce.c|source]] and [[https://bitbucket.org/orx/orx/src/default/​code/​bin/​BounceAlt.ini|config]].+There'​s a simple sine wave distortion example that you can see in the bounce demo which is included in orx's source package, [[https://github.com/orx/orx/blob/master/​code/​plugins/​Demo/​orxBounce.c|source]] and [[https://github.com/orx/orx/blob/master/​code/​bin/​BounceAlt.ini|config]].
  
 ===== Resources ===== ===== Resources =====
  
-Source code: [[https://bitbucket.org/orx/orx/src/default/​tutorial/​src/​11_Spawner.c|11_Spawner.c]]+Source code: [[https://github.com/orx/orx/blob/master/​tutorial/​src/​11_Spawner.c|11_Spawner.c]]
  
-Config file: [[https://bitbucket.org/orx/orx/src/default/​tutorial/​bin/​11_Spawner.ini|11_Spawner.ini]]+Config file: [[https://github.com/orx/orx/blob/master/​tutorial/​bin/​11_Spawner.ini|11_Spawner.ini]]
en/tutorials/spawner.1529599788.txt.gz · Last modified: 2018/06/21 16:49 (2 years ago) by 127.0.0.1