graham-s's Recent Forum Activity

  • Just a nod to your process, as long as the file stays where you post it :) SO many disappear in the mists of time!

    I do similar things, I create event sheets I can 'include' in projects so I don't have to reinvent the wheel every time.

    Thanks for sharing.

  • Again, there are many ways to achieve this. You can use an array,

    EG:

    0000011100000

    0000010100000

    0000010100000

    0000011100000

    OR You can create a layer in Tiled and add a tile map, then whenever the specific tile is used you can create a sprite at the X/Y coordinates. This is a good option since you can edit a tile layer with Tiled visually to update it easily.

    I'd probably go the second route since it is a quick solution and easy to change.

  • Thanks folks for the good answers. I tend to arbitrarily lean towards functions as it cuts down on repetitive code in larger projects, but I can also (through experience) see that it appears to work a lot better, and easier to read if I just list it all out in one spot :)

  • If the concert is a sprite (or whatever really), then only load it if your conditions are met.

    Considering that you are alluding to the fact that the content might change dynamically, you might be able to do it without coding. If you are remote loading images for the concerts, technically if you do it right, you could just name the remote files something like 'Concert20190301.png' and then load based on substrings.

    Eg:

    Compare int(mid(filename,8,8)) > 20180302

    There are potentially a number of other ways to achieve it too, it really depends on how your system is structured.

  • System > Create Object will create new objects as needed.

  • I have a growing project, and I'm not that used to picking sprites. I have found that almost any time I want to reference or check a sprites variables I have to precede it with a pick.

    I do have the sprites in a Family, and generally I am using family instance variables.

    So, as an example, You have 3 players, and each player has 3 tokens (with the option of more).

    Each player moves their 3 (or more) tokens one at a time, then they can buy more tokens and the next turn they can move them too (Eg: 4 tokens next time).

    Each token belongs in the 'Token' family, and has 2 family instance variables. 'famPlayerNum', and 'famTokenNum'.

    I have all of this working, but I seem to have a lot of Pick statements, am I supposed to is the 'simple' question or is there a better way.

    Here is a sample C3 project link.

    drive.google.com/file/d/1AFAACx26ITVMBtiR4eAQ0Atf3l3wq0PH/view

    Tagged:

  • Google is your friend.

    You can try a search for health bar, RPG etc. THere's an RPG demo (Demonoire) to dig through and quite a number of other resources.

    construct.net/en/tutorials/health-bar-275

    The demo game is likely to give you the overall understanding that you need.

  • First off, welcome to the world of Construct :) I'm sure you'll like it here!

    The options for control is a tricky one depending on what you want to achieve. There are tutorials for many on screen controls etc. From joysticks, button keys and all sorts. You can also have 'invisible controls'. Eg, touch left side of the screen/right side of the screen to move/turn L/R.

    This article might be of interest... construct.net/en/tutorials/touch-controls-and-a-trick-to-detect-input-method-103

  • As with any programming language, understanding variables, structure and coding techniques can help when approaching a new language. Construct is one of the easier languages I've used and I've used quite a few!

    Some areas I find take a bit of understanding (Sprite picking, arrays) but to get a quick game up and running, nothing is quite like it for speed! You can literally have a simple platform/RPG/Shoot em up running in a day!

    So any previous coding helps, but isn't a necessity.

  • If I Understand you correctly you have 2 options, you can either move between the layers, you can also use the new Z-Elevation for some cool depth effects.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Then I'd suggest asking them directly.

    construct.net/en/contact

graham-s's avatar

graham-s

Member since 24 Jan, 2018

Twitter
graham-s has 1 followers

Trophy Case

  • 6-Year Club
  • Popular Game One of your games has over 1,000 players
  • Coach One of your tutorials has over 1,000 readers
  • Email Verified

Progress

9/44
How to earn trophies