Coin-coin le Canapin's Recent Forum Activity

  • Hi!

    https://cdn.discordapp.com/attachments/ ... ement.capx

    When the character (the blue thing) moves in front of and behind the grey box, sometimes it passes through on the side and that's quite ugly.

    But what annoys me the most are these:

    The character won't go where I clicked but somewhat ~10 pixels around, which is a lot on a 320*240 resolution. If I click on the same place, it will move again weirdly for a few pixels.

    The character won't go to the bottom of the screen.

    Any idea how to fix this? Is it because the pathfinding behavior is made of approximations that mean a lot in a low resolution game and not in a high resolution game?

    Alternatively, how hard it would be to create a custom and smooth pathfinding for very simple sceneries like this (a point'n click game)?

  • Hi !

    I'm working on a point'n click template.

    The goal is to have a ready-to-use template so you just have to write your own dialogues and add your characters and scenes. You'll have a working point'n click with minimal efforts.

    It will feature an inventory, a dialog system with multiple answers choice and a condition system. Some dialogue will be displayed only if the character has done something or has the right object in its inventory.

    You'll be able to choose between two screen transitions: instant or scrolling.

    The late work will be to add a save game system. Currently, I'm finishing the dialog system and I'll begin the character moves as well as transitions between scenes.

    I'll add an action wheel or something like that so you will be able to choose between look, talk, use.

    Here's my early work: http://canapin.com/construct/aventure/03/

    Sorry, dialogs are in French but that's not very important here as sentences are just placeholders.

    • You can click on an object to add it to your inventory.
    • You can click the green character to talk. You'll have an answer choice.
    • You can click the blue character to talk, but he won't say much until you have bread in your inventory. You'll choose between give him the bread or keep it.

    The dialog system is based on the excellent tutorial by Kyatric: tutorial-a-dialog-box-system-using-xml_t150482

  • *spooky sounds* ?? Booooh !

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thank you !

    I don't have this art. Maybe you can ask Libellud about it. http://en.libellud.com/

  • Yes :

    Usually between 20 and 30 users on the Discord server.

  • https://cdn.discordapp.com/attachments/ ... ircle.capx

    Click the purple square to enable drag.

  • This is awesome r0j0hound.

    We can use this to make a torchlight (a powerful one actually) : https://cdn.discordapp.com/attachments/ ... light.capx

  • Awesome.

  • Hi.

    I've used C2 for years and I completed only one project (and that's ironically not a game).

    My bad organization has something to do with it.

    I usually start a project cleanly. I write comments, etc.

    Then when my project begins to have some working stuff, I try to create new ones quickly and dirty just to see how it's going, then it works and I keep them this way.

    After a few days or a few weeks, my project is a labyrinth of badly optimized events, with few comments and it becomes a pain when I try to add anything to it.

    If I do, that breaks something else.

    Lastly, I made a working prototype of a multiplayer game (a minigolf game). But, as usual, it quickly became impossible to create new content without having new issues.

    So I started my project from the beginning again, but I did some things to have a better organization :

    I draw diagrams :

    Putting your ideas on paper like this allow you to have a global view and prevent some conflicts. Not all of course as you can't think about all.

    For example, I drew my diagram based on the fact a player turn ended when his ball stops moving. But it was a mistake : a player turn ends when ALL balls have stopped moving : what if a player ball hits another ball? Also, what if one or more ball collides with the hole during the same turn? I didn't think about that and it was a pain to fix this because I didn't predict this situation in my events.

    Still, using diagrams helps a lot.

    To do this, I use https://www.draw.io which can connect to google documents, so that's quite convenient.

    I extensively log my events and functions in a text area, so I know exactly at which step my project is when something bad happens while it runs :

    That might be obvious, but… I didn't do it that much before.

    On the last version of my project, I also try to complete my features in a different direction. Before, I created my features in this order :

    • Player log-in
    • Game initialization
    • Player actions
    • Next player
    • Change map if all players have completed their course

    That's the order of the actions when we are actually playing. But that's not necessarily the right order to use when creating that game.

    So I'm doing this :

    • Player log-in
    • Game initialization
    • Change map if all players have completed their course
    • Next player
    • Player actions

    Doing so I ensure that I won't encounter an issue when I'll try to make player change map. I've kinda isolated this event ahead and I can safely create the previous events that will lead to a map change. Same logic when creating the next player events before creating the content of a player turn.

    While chatting with broknecho on the Construct 2 Discord server about this, he told me some interesting things he does :

    [quote:2c47heb7]As another project helper, I started using the Dictionary plugin to start storing variables on it as Instance Variables. I would name one dictionary Globals, mark it as GLOBAL, and then when writing code, I would be able to use Globals.CurrentGameState as an example. It helped to unpolute the Global space and refactoring was a breeze.

    [quote:2c47heb7]Another one I started using is [a dictionary called] FunctionNames and was able to have a single spot for the Function String names.

    […]

    my function names would be like Player.UpdateHealth which allowed me to have complete context when using the inteli-sense

    […]

    when I have to call a function, I type:

    FunctionNames.PlayerUpdateHealth

    So, what about you? Do you have any precious advice, tricks regarding a project organization?

  • Hi

    I don't see how a Discord server would suck even a bit of the official forum activity. A chat application and a forum have different use.

    A chat is oriented on fast, ephemerous user interactions. A forum is a huge database of information which has a slow inertia, where you can see hundred of topics and expect replies over time. Plus, as you said, users can make use of a search engine to explore all of this information.

    I see no reason for the vast majority of people to leave the official forums when joining Discord.

  • In the meantime I have made a style to fix this : https://userstyles.org/styles/132708/sc ... uto-resize

  • Hi, fellow Construct 2 users!

    armaldio created a Discord server dedicated to Construct 2.

    Please note that this Discord server is not official nor related to Scirra.

    Discord is a free chat application which can be used as a desktop application or inside your web browser. It’s kind of like if an IRC client and Teamspeak had a fancy baby with a brand new and modern interface.

    This Discord server has multiple textual channels in order to discuss Construct 2, show your creations or ask for help. There is also a voice channel for the non-keyboard types.

    Plugin and Behavior (and any other applications related to Construct 2) developers can also ask armaldio to have their own channel on this server. This is a good place to discuss their stuff and users can get in touch directly with them here.

    There is a powerful drag’n drop system so you can share your .capx files and screenshots with only one click. No need to use external hosting like Dropbox or other services.

    Discord also keeps logs so you’ll receive replies even if you close Discord and come back hours or days later.

    This server is young, but even with a few people here, after joining I must say it’s very useful to quickly ask for help or find players to test your projects (especially when you need a couple of players to quickly test features on your multiplayer game).

    Of course, this Construct 2 server was not made to compete with the official forum, that would be both silly and pointless. It’s just a different medium with a different use and fast, punctual interactions.

    You can join us following this link: https://discord.gg/8RJBHbX

    See ya!

Coin-coin le Canapin's avatar

Coin-coin le Canapin

Member since 22 Dec, 2010

Twitter
Coin-coin le Canapin has 1 followers

Trophy Case

  • 13-Year Club
  • Email Verified

Progress

14/44
How to earn trophies