What kind of program you may want?

Chat about anything not covered in these forums, but keep it civil!

Post » Mon Apr 13, 2015 3:48 pm

I want to practice my skills at programming in either Java or JavaScript and I'm running out of ideas and projects , so you have any project on your mind related to game development or whatnot , or if you have a request for any new plugin or behavior in mind please type it down here. Please it is urgent.
Thank you all in advance :)
ImageImageImageImageImage
B
53
S
15
G
5
Posts: 852
Reputation: 11,301

Post » Tue Apr 14, 2015 3:51 am

I love your enthusiasm as usual Naji, but as such I have a challenge you can try if you want to brush up on Java and C2 plugin Javascript:

1.) Make a Java program that when given a CurrentAngle and TargetAngle will tell you whether Clockwise or Counter Clockwise is the shortest direction to turn to get there (if the same then just go Clockwise). Try do this is in as few lines of code as you can!

2.) Convert that Java code to a C2 plugin where you supply the parameters directly as an expression (eg: not as an action or event).

Good luck :)
"Construct 4 lets YOU make advanced games! (but not play them)" Construct Classic - Examples Kit
B
108
S
38
G
17
Posts: 2,172
Reputation: 18,964

Post » Tue Apr 14, 2015 2:13 pm

Jayjay wrote:I love your enthusiasm as usual Naji, but as such I have a challenge you can try if you want to brush up on Java and C2 plugin Javascript:

1.) Make a Java program that when given a CurrentAngle and TargetAngle will tell you whether Clockwise or Counter Clockwise is the shortest direction to turn to get there (if the same then just go Clockwise). Try do this is in as few lines of code as you can!

2.) Convert that Java code to a C2 plugin where you supply the parameters directly as an expression (eg: not as an action or event).

Good luck :)


First Thank you so much for giving me these challenges! :D
The first one is kinda easy because it requires math knowledge and it's basics of programming.
The second one I'll try because I made behavior before and this will be my first time I program a plugin for C2.

P.S. I'm developing a new minimal JavaScript IDE for Web Developers in Java! I'll announce it once I finish it! :D
ImageImageImageImageImage
B
53
S
15
G
5
Posts: 852
Reputation: 11,301

Post » Tue Apr 14, 2015 3:31 pm

@Naji Try to do the angle comparisons in the first task with only 3 if/else statements and 2 variables ;) but good luck! and cool looking forward to that too then
"Construct 4 lets YOU make advanced games! (but not play them)" Construct Classic - Examples Kit
B
108
S
38
G
17
Posts: 2,172
Reputation: 18,964


Return to Open Topic

Who is online

Users browsing this forum: hardiked, Tsundere and 2 guests