Can I make functions in construct?

New releases and general discussions.

Post » Thu Dec 03, 2009 2:33 am

Okay so iv'e been making some decent danmaku, and a few basic unfinished Danmaku games, but one thing I noticed is that the creation of bullets and enemies takes alot of space, even when seperating the events in appropriate groups, so what I wanted to create was functions, but I dont know how.

For example if I could use a function like this:
CreateShot(X, Y, Speed, Angle, Frame, Additive)

It would be alot more managable than setting the bullet's parameter with 6 different events.
B
2
G
3
Posts: 32
Reputation: 914

Post » Thu Dec 03, 2009 2:57 am

Use the Function object?



:)
Moderator
B
5
S
2
G
6
Posts: 4,348
Reputation: 10,971

Post » Thu Dec 03, 2009 3:21 am

Wow to think the option was there this whole time, I feel so stupid now, the sooner I lose my newbie status the better XD But I'm glad to know I have the option now. Anyways il make sure to learn to properly use it tomorow.
B
2
G
3
Posts: 32
Reputation: 914


Return to Construct Classic Discussion

Who is online

Users browsing this forum: No registered users and 3 guests