glerikud's Forum Posts

  • This helped me too. Thank you

  • Well... It's still a bit foggy for me, but to put it simply: you want to resize the window (not the layout or the margins). I guess you can do that with the System object Set canvas size action.

  • No, that is the margin. You can also set that in the layout properties.

    Do you want to make the lever or the window bigger? To make the level bigger, you just need to set the size of the layouts. You can also add the Scroll To behavior to the object you want the screen to follow while playing.

  • Glad I could help. Happy developing

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Oh, I see. Then if I want to test the ads, I have to export an .apk file with XDK. Then when everything is ready, before publishing, I have to set the Test mode to False in the AdMob object properties. If I guess right.

    Thank you for the information.

  • You should create a new global or local number type variable (let's just call it "wheretospawn") and at the event:

    Object A destroyed: System -> Set Value (wheretospawn) -> int(random(3))

    Then insert 3 sub events:

    System -> Compare variable (wheretospawn) -> =0

    System -> Compare variable (wheretospawn) -> =1

    System -> Compare variable (wheretospawn) -> =2

    Then for each of these sub-events you add the Create object actions for object A, B, and C.

  • If I understand you right, you want to resize just your layouts?

    You can easily do that with every layout by clicking on them and setting their size in the properties panel.

  • I followed the manual's description about including AdMob ads into my game, but the banner is not showing up.

    Here are the steps I did:

    • I created an AdMob account (3-4 days ago).
    • I added the AdMob object to my project.
    • I got a banner id from AdMob which I pasted into the AdMob object's properties.
    • On the event sheet upon the start of the layout I preload the banner and when it is ready I set it to display it as a smart banner at the bottom center position.

    I test my game in Chrome (both on PC and Android), yet the banner is still not showing up.

    Can you help me what could be the issue?

  • So you don't recommend teaching C2 in high schools (speaking in general and not looking at the curriculum)?

    I've looked into the tasks you gave me a few posts earlier:

    - Create a C2 project that demonstrates a nested selection (nested if statement) and do the same in Scratch.

    - Use C2 to teach the concept of a procedures with passing a parameter

    - Use C2 to teach the difference between FOR, Repeat until and While loop

    • Nested selection: Isn't that what sub-events do?
    • You can create procedures with the function object easily and add parameters and a return value too.
    • I guess it shouldn't be hard to create tasks to demonstrate the difference between the 3 loop types you mentioned (although the FOR vs Repeat can be interesting for students).
  • I haven't found something easy to do music yet though...

    Did you try cgMusic? It's a free program, that let's you generate music based on the setting you provide.

    You can find it here: http://codeminion.com/blogs/maciek/2008 ... ate-music/

    To avoid students getting a false sense of programming I always also teach them Scratch (and Logo) so that they see other programming languages.

    Can you tell me the ratio about your teaching with C2 and Scratch? Do you teach them around 50-50 percent, or do you prefer one more over the other?

  • Thank you for the detailed answer. Now I see more clearly what is the main difference between C2 and Scratch in education. As soon as I have time, I'll look into the tasks you gave me.

    In our country there are several methods for teaching programming to students, ranging from a usual programming language (like C++) to tools (like Scratch). These are more or less fine ways of teaching the logic, but we have 2 big problems and I'm trying to solve these with C2 (I hope it'll work):

    • The students doesn't like or doesn't want to program because they don't like what they're doing. This problem could be solved already with Scratch.
    • The students won't use programming in the future. I'm not talking about the specialized, computer classes, but about the regular students. I want to teach them with a tool that they don't necessarily have to leave behind to make something serious. C2 is just this tool.
  • Thank you for the answer philscomputerlab . Can you please write about how Scratch is preparing students better for traditional programming in more detail? Did you have the opportunity to test these students about their algorithmic knowledge?

    I think Scratch is a great tool, but in my opinion nowadays it's very important for the students to see what they can achieve with what they learn. I mean, the students have to see the opportunities in their work. Will they use Scratch later on to develop serious applications/games? I don't think that's possible.

  • No, and thank you for posing it. It does contain some valuable information, but it's not what I'm looking for. I want to find some method to measure Construct 2's efficiency in education against usual programming languages.

    I'm looking for answers for questions like "How faster do they learn to program?" "Do they develop their algorithmic skills faster witch Construct 2?".

  • Hello! I'm a hungarian university student, and my research topic is teaching Construct 2 in high schools.

    I'd like to ask a question to the teachers who teach Construct 2:

    How do you tested Construct 2's efficiency in education? Are there any current methods for testing such visual languages?

  • Since the new beta releases don't contain the node-webkit package and it could be updated separately, wouldn't it be a good idea to add a new update channel to the program that warns the users who have node-webkit installed about new updates?