Delphawi's Forum Posts

  • What will happen to the old suggestions?

    Do we have to rewrite them again in the new platform?

  • Thanks a ton!

  • Hello,

    C3 (Chrome App) keeps asking for file edit permission every time. Sometimes I open it and find all my settings (backup settings, email and website, animation speed...etc) have been reset.

    How can I solve this?

    Thank you!

  • > I really hope C3 gets a way to make global huds someday. Maybe an "additive layout" (like unity) where the layout contains the HUD, and this layout van be overlayed on any other layout.

    Hmm, did you grasp the concept of a global layer ?

    Yes. I think I did not clarify my last comment.

    What I meant is a system that includes not only Global layers, but saving items state across global layers (the coin example I mentioned above).

    Also, at the moment setting a layer as Global doesn't convert its sub-layers as well. I still need to add them one by one to each layout.

    Maybe one day we will be able to set a layer Global without the need to add it to each individual layout.

  • I often stuff several hidden global object on layer 0 somewhere ( 0, -1000), which holds all my game values. Several actually, depending on game structure, an object for player related info, an object for game stats or game element stats. (Also easy for saving: asjason)

    Using a hud group in the game's main event sheet, or dedicated hud event sheet which gets included, I sometimes use on start of layout in there to fill the preliminary hud information, or do a hud setup (positioning).

    If it gets loaded each time a layout is started, meh, that's supposed to happen me thinks ^_^ visually it wont make a difference.

    In the hud section I often use every x second and set it to 1 second, for HUD updates, life bars, feedbacks popups etc etc. The 1 second things make the entire process lightweight processing wise.

    As a suggestion, avoid using global variables to hold game status or player earned in game goodies etc .... global variables ... the name should give it away really. Is relatively easy accessible from outside the game.

    Using object variables eliminates a lot of potential unwanted intrusion to values or variables used by your game. (the fact on a object can be global and hold variables, is not the same as a global variable)

    By no means will this make your game 100% secure, but will most definitely make it harder to cheat.

    Thank you. I've used objects to hold values before, but never on this scale.

    Very good point regarding cheating.

    I really hope C3 gets a way to make global huds someday. Maybe an "additive layout" (like unity) where the layout contains the HUD, and this layout van be overlayed on any other layout.

  • You could make the objects global (not on a global layer) and use persist but this is kind of messy as you have to pick instances. I prefer to have the global hud layer for visual side and instead use global variables, this is more the norm I would think.

    The inefficient function you talk about, you are always going to need something to set the displayed values. You can either put it at the top of each event sheet or call it from one main event sheet that links to all layouts.

    Thank you. I use variables as well, but I don't poll them; instead, I update them only when they change.

    That is why adding a Polling function that would update each object again (I can't use a loop, because they are of different object types) is redundant in my case.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hello,

    I have multiple layouts, they all share the same HUD.

    I made the HUD layer Global, it worked, but the Coins text resets its text whenever I go to another layout. I want the text to preserve its value.

    I tried to make the text object use the Persist behavior. It worked, but now the text duplicates. Maybe because the global layer already has a text instance + the Persist instance ?

    Currently I made a function called Refresh, which is called on every On Start Of Layout event to update the text HUD contents. But with a lot of layouts, this is inefficient.

    How do I make a global HUD that preserves the values of its contents between layout transitions?

    Thank you.

  • Say you replace just the word "images" with "C://project/images" it could also replace the word in, say, a textfile that just happened to use it. Or a function in a script has "images" as part of the name, replacing that obviously breaks the script.

    It's less likely to happen if you do it by hand, but in an automated process it can happen very easily. So if you automate it you'll just have to be careful to pick the right strings to replace and possibly do it file by file rather than all files at once/recursive.

    That is helpful, thank you :)

  • Thank you, I hoped it didn't come to that!

    You'll have to be very careful though so you don't replace something you don't want replaced.

    Could you please give some examples of what I should keep in mind?

    Thanks!

  • Hello,

    We are using C3 games with a custom-made platform, which bundles the js files in some way.

    In short, we need to change the asset paths in the exported html5 files to use Absolute paths instead of Relative paths.

    Can Construct do that for us?

    Thank you!

  • I think many ideas are good, and the team has already implemented many important ones. So, Thank You!

    I think the isolation of Aha platform is the problem. Ideas need to get the attention in the forums.

    Why?

    Because when ideas are discussed, they can be grouped together in one encompassing system. Some ideas propose redundant solutions, or the same solution from different views.

    I see a lot of ideas which are basically edge-cases that would only help a few devs. There is a better solution for such cases:

    Accessible Addon API

    I think Scirra team would benefit from promoting their addon system; to help more people make addons. This way, devs with edge-case ideas can implement them as an addon and upload to the Asset store. Scirra will have less work to do, and the devs will have more solutions coming. Win-Win for all!

    Aha platform has an API that can probably be used to present the ideas here on the site in a special page:

    - All ideas are shown in categories.

    - Each category has a list of ideas (all in one page, so they are easily visible, instead of going through a ton of pages).

    - Each entry is just the title + link to the Aha full description.

    This way, Scirra will get more traffic to Aha, and thus better data that actually reflects the audience, and thus will be able to priorities ideas better.

    I have seen what happened to the old platform, and I think if the current ideas are not "summarized" and "filtered" in some way soon, they will end up archived like the older ones.

  • Join sprite and 3d object in a container.

    Thank you, I will try it.

  • Hello,

    I checked the 3D Top Down Shooter Template, and followed it to make my 3D object.

    So my setup is:

    1- PlayerObject: Parent Sprite, used for movement in the world.

    2- PlayerObject3D: 3D object as a child of PlayerObject, using its Bottom face to show graphics.

    3- PlayerSprite: Sprite object with animation. Used as a Bottom Face Object for PlayerObject3D.

    All is working fine, until I want to add many instances of this Player.

    Each instance animates differently (shoot, idle, ..etc), yet, all of them use the same object for their animation. So if I animate PlayerSprite to Shoot animation, that would make all instances show the Shoot animation?

    How can I animate each instance separately???

    Thank you.

  • Ashley When creating a keystore in C3, is it possible to make C3 generate the .PEM certificate too so we can download it (in case it was needed by Google to reset the key)?

    Thank you.

  • If you already installed JDK, you should have keytool, and generating a keystore is literally just one command.

    keytool -genkey .....

    True, I understand.

    Seems like the only way for us now.

    Thank you.