How do I simplify my code?

Just started using Construct 2? Post your questions here

Post » Tue Oct 28, 2014 8:47 pm

Message: MrJohnWeez is not yet permitted to post plain text URLS (300 rep required). 1 URLS removed. Why?
I have tried to simplify the code but it is still very big. It is a game like cookie clicker but with balloons.


Link to the project folder on dropbox: there are 2 different files in the folder and I don't know which one you need.
If you could give me pointer that would be great :)

ps: This is for a school intro to programming class.
B
2
Posts: 3
Reputation: 160

Post » Tue Oct 28, 2014 8:49 pm

You don't have enough reputation to post links so, we cannot get to your project to view it.
B
40
S
12
G
11
Posts: 331
Reputation: 7,752

Post » Tue Oct 28, 2014 8:51 pm

"www.dropbox.com
/sh/ vqyjffz54tl12uc/
AAAWIc3 -
Iy70kejT89e8K6hHa?dl=0"

sorry about the split link just take away the spaces
B
2
Posts: 3
Reputation: 160

Post » Tue Oct 28, 2014 8:52 pm

FragFather wrote:You don't have enough reputation to post links so, we cannot get to your project to view it.


just posted it
just take the spaces out and take out the quotes
B
2
Posts: 3
Reputation: 160

Post » Wed Oct 29, 2014 8:59 am

You could reduce the amount of events a lot by using subevents..
Even further by using functions, because a lot of your actions are the same..
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Sat Nov 01, 2014 1:56 am

Dropbox error 404 - can't find the file....


edit to add @Littlestain, great signature comment!
A big fan of JavaScript.
B
76
S
20
G
76
Posts: 2,285
Reputation: 47,554


Return to Beginner's Questions

Who is online

Users browsing this forum: No registered users and 0 guests