zatyka's Recent Forum Activity

  • Problem Description

    "Create Object" action not working upon start of layout.

    Attach a Capx

    https://drive.google.com/file/d/0B1WHy6HMPuyoMWY2Yk0wbmtzaWc/view?usp=sharing

    Description of Capx

    Capx contains 2 layouts and 1 event sheet. The "Object Repo" layout contains a single object called "global". The "Loading" layout contains no objects, and is tied to event sheet "ES Global". The "ES global" event sheet contains a single event that creates a "global" object upon the start of the layout.

    Steps to Reproduce Bug

    • Run preview of the "Loading" layout

    Observed Result

    No "global" instance is created.

    Expected Result

    An instance of the "global" object should be created.

    Affected Browsers

    • Chrome: (YES)
    • FireFox: (YES)
    • Internet Explorer: (YES)

    Operating System and Service Pack

    Windows 8.1

    Windows 7

    Construct 2 Version ID

    r211

    Note: This issue does not appear in r208. I rolled back just to confirm.

    I repeat: €330. I expect this to be built-in. Why shouldn't i?

    PC Gamepads have a standardized web API. Virtual controlers do not. Anything built-in would likely pigeonhole your control scheme.

  • Results are in.

    Congrats to everyone who participated. Ludum Dare 34 is scheduled for 12/11 - 12/14.

    (If my crawler missed your game, just let me know and I'll add it.)

    C2 Compo Games:

    C2 Jam Games:

    "What is Ludum Dare" you ask?

    Ludum Dare is an accelerated game development event held every 4 months. Thousands of developers create games for two concurrent competitions taking place over 1 weekend. Full competition rules can be viewed on Ludum Dare's webstite, but here's a summary:

      Compo
    • 48 hours long
    • You must work alone
    • You must use the competition theme
    • All game content must be created within the 48 hours, with a few exceptions (see full rules)
    • Publicly available libraries and middleware (e.g. Construct 2) are allowed
    • Source Code must be included when submitting
      Jam
    • 72 hours long
    • Work alone or in teams
    • All creation tools are allowed

    At the end of the weekend, entrants rate eachother's games for 3 weeks. Winners are announced at the end of the rating period.

    Why should you participate?

    Many reasons:

    • It's fun.
    • You'll join a great community of developers.
    • C2 is, in my opinion, perfectly suited for Ludum Dare.
    • Making it to the end, and submitting a game provides a great sense of accomplishment.
    • It will make you a better developer. Testing your game creation abilities under tight conditions, with a strict deadline, is like a game development adrenaline shot. It's a serious learning experience that will test your existing skills, and force you to rapidly develop new ones.

    Let's get the excuses out of the way

      "But I can't afford to participate." It's free. "But I don't know how to make a game." Download C2, go through some tutorials, and play around with the software. You'll quickly realize that creating a game much more possible than you think. "But 2 or 3 day is too short a time to create a good game." Long, in-depth, gaming masterpiece aren't possible, but you can absolutely create an awesome game. I dare you to play some of the winning Ludum Dare games (see below), and tell me they aren't awesome. "But I already have plans that weekend." Challenge yourself to create the best game possible in whatever time you have available. My LD29 entry was created in 2 hours. It's not particularly sexy, but I'm quite proud of what I created in 2 hours. "But there aren't any prizes." Monetary prizes... no. The prize is the experience and the game you produce. It's not uncommon for participants to further develop their entries into commercial products. Speaking from personal experience, professional opportunities have come my way both directly and indirectly from participating in Ludum Dare.

    Here are a few links you may find useful/interesting:

    • Ludum Dare Survival Guide - Great tips, especially if this is your first Ludum Dare.
    • Tools - A nice collection of popular tools used by many Ludum Dare participants.

    Not hyped yet?

    Go play some games from the previous Ludum Dare:

    I hope I've convinced a few of you to participate. Best of luck to everyone.

  • I would use an array to record the head's position and angle, and use that data to set the body segments.

    example

  • I'm assuming you're creating a single trail object per tick. If the moving object travels a distance longer than the size of the trail object, you'll get gaps. To compensate, you need to calculate the distance traveled between ticks, and create multiple trail objects along the movement path.

    Example

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thanks, really if it seems complicated.

    Perhaps someone has a different and simpler method.

    Arrays aren't complicated, but like many data structures, can be a bit hard to conceptualize at first. They're extremely useful, worth learning, and in this case, the best solution.

    Example

  • C2 can already be installed to, and executed from, portable storage devices.

  • If each "dot" of ketchup is an object, you'll need to record (probably to an array) each object's data (position, size, angle, etc.), and then use that data to recreate the pattern of objects as needed. It gets trickier if the pattern needs to be redrawn at different scales or angles. If so, you'll need to calculate each objects relative position/size/angle when redrawing.

    If the objects are only being used for visual purposes, you would probably have a much easier time using the paster plugin to create and copy the ketchup pattern.

  • I too wish that C2 took a more OOP approach, but it's not likely to happen due to C2's architecture. Perhaps C3 will, but I doubt it considering Construct's target audience, and the fact that C2 projects will work in C3.

    Fortunately in this scenario, the workaround in C2 isn't onerous. If you add all objects to a family, add a "Parent UID" instance variable, and use it to populate each object's parent, you can destroy all children with just 2 events:

  • That's also up to you. I encourage you to learn by doing. Once you dive in, you'll find answers to these types of questions on your own.

  • That's up to you, but I would definitely use a different layout unless I designed the game with seamless transitions between exploration and battles (e.g. chronotrigger).

  • You could also do:

    X = (A.x+B.x)/2

    Y = (A.y+B.y)/2

zatyka's avatar

zatyka

Member since 11 Aug, 2012

Twitter
zatyka has 1 followers

Trophy Case

  • 12-Year Club
  • Jupiter Mission Supports Gordon's mission to Jupiter
  • x11
    Coach One of your tutorials has over 1,000 readers
  • RTFM Read the fabulous manual

Progress

15/44
How to earn trophies