If you haven't read Part 1 yet, please read it first:
gdforum.freeforums.net/thread/28399/p1kachu-presen-program-geometry-dashNow that you know how the editor works, now its time to write your first program!
Before doing anything more complicated, we must first start with a simple one.
We will try to make a program that will make a text "Hi!" appear once the cube jumps.
We start this by making a new level. To do this, you go to Create >> New >> Edit (The hammer and wrench icon)
First step is to put a spike. This will force the cube to jump.
To do this, go to Build >> Spikes then use the first spike.
It should now look like this:
Second step is to place the text. You can put it anywhere you want where the cube can see it.
To do this, go to Build >> Interactives then use the text tool.
Now go to Edit Object and type "Hi!", or any text you want to it to appear.
Make sure you also put it at group 1.
Go to Edit Group then assign the object to Group ID 1.
Now it should look like this:
We must make it invisible, then make it appear upon the cube's jump.
So we put an Toggle Trigger at the beginning.
To do this, go to Build >> Triggers then Toggle.
Go to Edit Object, you will see the Toggle Group setup.
Set it to Group ID 1, this makes all the objects of group 1 disappear.
Next, is to put Toggle Triggers above the cube's "jump zone".
Put it slightly up because if it is too close, it might activate without the cube jumping.
Go to Edit Object, set them all to Group ID 1, then check Activate Group to make the objects appear.
Now, check Touch Trigger so that when the cube touches it, it will activate.
If you followed all this instructions correctly, you will end up with this:
Now, go to Settings >> Save and Play to see what your final product looks like!
Congratulations! You made your first ever program in Geometry Dash!
Thank you for reading!
Part 3:
gdforum.freeforums.net/thread/28525/p1kachu-presen-program-geometry-dash