C2 vs real programming

Discussion and feedback on Construct 2

Post » Thu Aug 23, 2012 6:34 am

I have some feedbacks regarding C2. It's great and all but it might be better if the ff: were addressed?.

1. "Local variables reset their value to the initial value every tick..." -scirra.com/manual/83/variables/page-1

Wouldn't it be nice to have a local variable nested to the event that only resets after it leaves the event? Like if i have a wait function inside event. I wouldn't want another global variable, specially a temporary one just so i could carry on a value 2 ticks later.

2. Direct inputting / calling. I know C2 is made for people with nearly zero experiences in programming but for us who love programming but don't have the time to go through all the daunting task of manual programming this software is pretty useful. With that said, wouldn't it be nice to have a "console type input" that we could directly place statements and expressions? Much like how java/javascript/flash works?

e.g. Sprite with UID of 23 = UID[23].x=5 (UID of 23's x gets 5)
or (Sprite[5].alpha ==2)

just a thought. Although i love the software I find it extremely frustrating to work with.

Regards,
accidentallyc
B
4
Posts: 10
Reputation: 470

Post » Thu Aug 23, 2012 1:40 pm

1 - we're planning 'static' local variables which keep their values like global variables, but are only accessible in their range of events. Hopefully that will fix that.

2 - this would involve inventing a whole new scripting/console type language, which is a huge amount of work, and it's not clear the end result would actually be useful or practical to use. Are you sure you can't get by just making events that do the same thing?

Try not to think about C2 events in terms of programming - it's a completely different style and is easier to approach it with a fresh mindset.
Scirra Founder
B
359
S
214
G
72
Posts: 22,949
Reputation: 178,574

Post » Thu Aug 23, 2012 2:29 pm

Wow ouch. How can you find it frustrating? I've coded in many languages and i love coding. Which is why i love construct 2. It saves so much time and it is a pleasure to work with. Get the same thing done as code as to me it is code. Just layed out in an easy to read way. Its clean and easy to follow. I'm yet to find a limitation within the coding. I could only begin to imagine the hell it must have been to code togeather. I gotta give it to them, incredible!Gamefreaks12342013-06-30 12:23:51
B
6
S
1
Posts: 50
Reputation: 975

Post » Thu Aug 23, 2012 2:46 pm

You are made the tutorials search trough the arcade samples (with the source of the games)?.

For me C2 is like a new programing languaje only need to practice and see the extensed list os samples you can found in the web.

Is dificult probably at start but with the time you see is possible to make all the things but more fast that the other programing languajes.


I try to help and my english not are so good sorry if bored you.
B
60
S
9
G
7
Posts: 176
Reputation: 8,799

Post » Thu Aug 23, 2012 5:29 pm

Yeah there are ways to go through it. Ive actually done it just that im used to the programming style of thinking :P i still love it though. Buying it was worth it haha
B
4
Posts: 10
Reputation: 470

Post » Thu Aug 23, 2012 5:29 pm

Its frustrating like trying to learn a new language and have an old language as your reference xD like that frustrating haha
B
4
Posts: 10
Reputation: 470

Post » Thu Aug 23, 2012 5:31 pm

yeah i did go through the tutorials.
it is like learning a new language xD

no no no, im happy that you took your time to read and reply xD
B
4
Posts: 10
Reputation: 470

Post » Thu Aug 23, 2012 10:38 pm

[QUOTE=Ashley]Try not to think about C2 events in terms of programming - it's a completely different style and is easier to approach it with a fresh mindset.[/QUOTE]

I have been waiting a long time for programming software for the rest of us.

Command-line languages like C or Java are sometimes called higher level languages. They resemble natural language and get compiled into machine code.

For me, C2 is programming at an even higher level. C2 provides a visualisation of our programme, which we can manipulate intuitively. By contrast, text-based programming languages force us to make our visualisations internally.

I believe C2 is 'real' programming. Perhaps some day all programming will be done this way. Remember, C2 is at an early stage.

As I'm sure @Ashley and @Tom realise judging by the Scirra tagline 'Software Development Tools', Scirra's future may extend even beyond games   ... but maybe that's r10,000 :)NewSkool2012-08-23 22:40:07
B
14
S
3
G
3
Posts: 25
Reputation: 3,217

Post » Fri Aug 24, 2012 3:55 pm

[QUOTE=NewSkool]
For me, C2 is programming at an even higher level. C2 provides a visualisation of our programme, which we can manipulate intuitively. By contrast, text-based programming languages force us to make our visualisations internally.[/QUOTE]

That's a good analogy and i agree. But it's always good to manipulate something to an atomic level in order to bring out something that is of epic magnitude xD

B
4
Posts: 10
Reputation: 470

Post » Sat Aug 25, 2012 5:41 am

Real programming? REAL programming?!
B
62
S
21
G
12
Posts: 1,910
Reputation: 13,155

Next

Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 13 guests