dop2000's Recent Forum Activity

  • Would it be better to cut it into pieces and place it out like a puzzle? Or just use it as a whole? Can i cut it into 1000 pix each and place them next to each others??

    No, all these are equally bad ideas. What I meant is - try using a repeating background when possible. Instead of 4000px image of the sky with clouds and birds, use 200px TiledBackground with the sky, and small separate sprites for clouds and birds.

    Check out this Ashley's article:

    construct.net/en/blogs/construct-official-blog-1/remember-not-waste-memory-796

  • 1. Layout size itself doesn't matter, you can have 1000000px layout. The objects that you put on the layout are important.

    2. It's much better to have one 500x500 px background sprite repeated a hundred times, than one 2000x2000 px sprite. That's why it's recommended to use TiledBackground for backgrounds.

    3. It depends on too many factors. You should regularly check performance as you develop your game, and if you notice a big performance drop, fix it.

  • You do not have permission to view this post

  • So you have an image where each pixel represents a tile on a map?

    You can paste this image onto DrawingCanvas, then read pixels from the canvas:

    DrawingCanvas paste Map
    Wait 0
    DrawingCanvas Save Snapshot
    Wait for previous actions to complete
    

    After that you can use expressions like DrawingCanvas.SnapshotBlueAt(x,y) to get pixel color.

  • Object UIDs will be different when you switch to another layout. That's why you can't read the keys back.

    If you only need to save values for one player, don't add UID to the dictionary key names.

    If you need to save a set of keys for multiple characters, use some other identifier which you can control, for example an instance variable "ID".

  • You mean the angle from your character to the mouse cursor is between a certain angle?

    You need to use angle() expression, for example:

    angle(Character.x, Character.y, Mouse.x, Mouse.y) is between -45 and 45 degrees

  • I suggest you read about functions, they are really useful.

    You don't need AJAX if you are working with Local Storage.

    If you need to save two arrays, you give them different item names. Then you check if "SettingsArray" exists and if "LevelsArray" exists. And you should have two "On item exists" events:

    On item "SettingsArray" exists : SettingsArray load from LocalStorage.ItemValue

    On item "LevelsArray" exists : LevelsArray load from LocalStorage.ItemValue

    That's it.

  • You need to extract the name of the color into a text variable, and then do something like this:

    .

    Or you can get the numerical values for all 9 colors and replace them in the database. For example, "blue" is -1049599

  • Thanks! I probably spent too much time making it, but it was an interesting experience.

  • You can make a Loader layout.

    construct.net/en/tutorials/loader-layouts-custom-loading-9

    If your game loads fast and you want to keep the splash screen longer, you can put a few seconds Wait before switching from Loader to the next layout.

  • I made this short game for a jam organized by Russian C2 community. The theme of the jam was "Turtle Power" and the main task was to create an isometric game.

    My game won the second prize!

    .

    .

    .

    Play on the Arcade:

    construct.net/en/free-online-games/green-shadow-12599/play

  • It's the same Cordova plugin.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
dop2000's avatar

dop2000

Member since 26 May, 2016

Twitter
dop2000 has 279 followers

Connect with dop2000

Trophy Case

  • 10-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
  • x14
    Great Comment One of your comments gets 3 upvotes
  • Delicious Comment One of your comments gets 10 upvotes
  • Email Verified

Progress

30/44
How to earn trophies