mekonbekon's Recent Forum Activity

  • Here's an example that allows you to move blocks around a grid without overlap - if you want the blocks to combine "Threes" style then you can modify the array value conditions in event 14.

    dropbox.com/s/yu4sgvidmpocp32/slideArray.c3p

  • Not sure tbh, I tend to make bespoke buttons out of sprites. Maybe you can do it using the "Set CSS value" action?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Nothing wrong with doing it that way - if it works, it works! :-)

  • You can add the timer plugin to the button - if you set the timer to regular you can then use it to spawn an enemy every x seconds:

    dropbox.com/s/23reuzoys26srap/buttonTimerSpawner.c3p

    Click the black button to turn the enemy spawn on and off.

  • Add the AJAX plugin to your project. To load the array file use the following sequence of actions:

    AJAX:Request yourArray.json

    System: Wait for previous actions to complete

    yourArrayObject: Load from JSON string AJAX.lastdata

  • In fact that example doesn't even need the "trigger once" condition in the first event.

  • This should work for you, no need to mention frame 2:

    dropbox.com/s/qwvrr0fylt405pf/mouseOver.capx

  • No problem, happy to help :-)

  • Hi,

    I would approach such a course by covering the basics of design, development and production in conjunction with practical exercises:

    Design

    • The core interactive game loop between player, input devices, computer, and output devices - this helps cement the idea that it's important to consider all components of the game loop when formulating a design, especially the player's ability and motivation.
    • Mechanics (the building blocks), Dynamics (how mechanics interact) and Aesthetics (coating dynamics with emotion).
    • How objectives married with constraints provides challenge. How goal conflict arising from divergent objectives creates interesting challenges.
    • Using progression loops and difficulty curves as methods of introducing new mechanics and challenges.
    • Types of performance reward and the criteria that unlock them (typically accuracy, speed and consistency of challenge completion).

    Production

    • The stages in production pipeline: planning, development, testing, publication.
    • Planning and communicating a concept: how to use diagrams, flowcharts, spreadsheets and written descriptions to capture your concept and share it with others.
    • Organising a project: folder structure (I like to use the ABCD system: Assets, Builds, Code, Documents); naming conventions etc.
    • Estimating scope: getting into the habit of planning ahead and setting realistic targets.

    Development

    • Useful tools: project management apps, art and audio packages etc.
    • Construct 3 overview: the key features of the software; how the event system works.

    This should give the students a solid foundation from which to build simple games. The topics can be drip fed into the course as and when they're useful rather than overloading the students with all of it at the beginning.

    Practical

    I would allow the students to pick one from a selection of the example or template projects from the C3 start page and help them modify and develop that into a complete game. In individual lessons I'd focus on how to implement useful reusable components such as score systems, health, lives, timers, levels, splash/menu/pause/results screens.

    Depending upon available time and the ability of the class I would introduce more complex but very useful features of C3 like functions, arrays, dictionaries, families and containers.

    Finally I would cover adding "juice" to a game - using audio and visual effects and animations to enhance player feedback and make your game pop.

    Ideally I'd aim for them to have something that can upload to the Scirra arcade by the end of course, so they can share their efforts.

    Hope that helps :-)

  • Also:

    1) In your new number function you're using Array Cur Value condition incorrectly - it only works in conjunction an Array: for each XYZ element condition.

    2) The repeat may pick the same co-ordinates twice so you may only get one number in the array.

    3) Using int(0,3) won't pick 3 and may put a number on X=0 so when you slide it will disappear off the array.

    Here's an example that I think gets closer to what you're after:

    dropbox.com/s/yu4sgvidmpocp32/slideArray.c3p

    Note that this only works if you're sliding to the left - if you change the slideX value to positive then there's a chance you can overwrite values as you slide, due to the order in which the For Each XYZ element condition proceeds.

  • No problem, happy to help :-)

  • The angle input field will only take an expression that resolves to a single number. If you are trying to set the angle of an object to point at the mouse position use the following in the field:

    angle(object.X, object.Y, mouse.X, mouse.Y)

    This will return the angle from the object to the mouse cursor.

mekonbekon's avatar

mekonbekon

Early Adopter

Member since 9 May, 2014

Twitter
mekonbekon has 13 followers

Trophy Case

  • 10-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • x2
    Popular Game One of your games has over 1,000 players
  • Famous Game One of your games has over 10,000 players
  • Coach One of your tutorials has over 1,000 readers
  • RTFM Read the fabulous manual
  • Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

18/44
How to earn trophies