dop2000's Recent Forum Activity

    • Post link icon

    Wait wait wait.... you mean construct doesn't work with steam?

    It does. But if you want your game to be available on Mac and Steam Deck, your only option (afaik) is to use NWjs export and Greengrinds addon.

  • I don't know how to explain it :) I guess an 'offset' is a more accurate word.

    It's half of the character width, try changing it and see what happens.

    • Post link icon

    How C3 users are able to monetize their games wouldn't be an afterthought like it fells now, it would be the #1 priority.

    This is so true!

    Like, for example, the official Steamworks plugin for NWjs still doesn't support DLCs! (Edit: actually, looks like it has been retired and replaced with WebView2 version. Which would've been great if only WebView2 was working on MacOS and Linux/Steamdeck)

    Developers have to rely on third-party addons, which are often difficult to integrate, and which, as Ashley himself keeps repeating, may stop working with every new Construct update.

  • There's probably a mistake in calculations. But your code is impossible to understand.. You have almost 500 events which probably could be optimized to 50 or less. You need to read about functions.

    I suggest temporarily disabling those tweens and replacing them with simple "Text set Y". See if this fixes the issue with uneven spacing. If it does, the problem is likely with wrong timings - you are calculating the coordinates for new tweens based on previous tweens which have not finished yet. But this is just a theory.

    Use Debug Mode - you will be able to pause the game and check everything. Console logging is also extremely useful when troubleshooting - add "Browser Log" actions to key events, you can print out information like object coordinates, variables etc. Press F12 in preview and check the log.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 'Switch case' won't be much shorter than a bunch of 'ifs'.

    Like I said, you can use chooseindex or ternary operators to create objects by name:

    Create (a=1 ? "Zombie" : a=2 ? "Goblin" : a=3 ? "Troll" : "Skeleton")

    If you need to assign an instance variable you will have to add all these objects to a family and pick last created instance:

    Pick Last Created MonstersFamily

    MonstersFamily set health to (a=1 ? 5 : a=2 ? 10 : a=3 ? 50 : 3)

  • This is an old and known problem with texts in C3 - some fonts are rendered differently on different platforms.

    Try other alignment options - top, bottom.

    Try a different font.

    If nothing helps, use a spritefont.

  • You can add NPC sprite and the array to a container. Then each NPC instance will have its own instance of the array.

    Also, arrays are global by default, but you can change this. Then it will be created only when an NPC is created. Find more about containers in the manual:

    construct.net/en/make-games/manuals/construct-3/project-primitives/objects/containers

  • Can you give an example of "somthings//////////////////"?

    Some things will be possible to optimize, but you need to be more specific.

  • I think the number of images matters as much as their size. I have a project with about 15K very small images. Their combined size is less than 50MB. And it still takes about a minute to render spreadsheets on a mid-range laptop.

    My solution was to upgrade my PC..

  • I believe if you are using the latest Greenworks/Greengrinds addon and NWJS 82 or higher, you don't have to add any of those libraries.

    You only need one files - steam_appid.txt - if you want to test without uploading to Steam.

  • Export the game with DevTools checkbox enabled. Add steam_appid.txt file to package.nw

    Launch the exported game (you don't need to upload to Steam). Press F12 and check if there are any errors in the console.

dop2000's avatar

dop2000

Member since 26 May, 2016

Twitter
dop2000 has 260 followers

Connect with dop2000

Trophy Case

  • 8-Year Club
  • Entrepreneur Sold something in the asset store
  • Jupiter Mission Supports Gordon's mission to Jupiter
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • Forum Wizard Made 5,000 posts in the forums
  • Forum Unicorn Made 10,000 posts in the forums
  • x5
    Popular Game One of your games has over 1,000 players
  • x2
    Coach One of your tutorials has over 1,000 readers
  • Educator One of your tutorials has over 10,000 readers
  • Regular Visitor Visited Construct.net 7 days in a row
  • Steady Visitor Visited Construct.net 30 days in a row
  • Enduring Visitor Visited Construct.net 90 days in a row
  • Unrelenting Visitor Visited Construct.net 180 days in a row
  • Continuous Visitor Visited Construct.net 365 days in a row
  • RTFM Read the fabulous manual
  • x3
    Quick Draw First 5 people to up-vote a new Construct 3 release
  • x13
    Great Comment One of your comments gets 3 upvotes
  • Delicious Comment One of your comments gets 10 upvotes
  • Email Verified

Progress

28/44
How to earn trophies