dop2000's Recent Forum Activity

  • Many layouts may increase download time, but they should not slow the game down while playing. If you think you need to manually create many level layouts, consider making a level editor, or generating levels randomly.

  • No worries! And thanks for the coffee!

  • You can create an instance variable "Comment". I don't think there is any other way.

  • Even in test mode, Admob sometimes doesn't serve ads, you may need to wait.

    Also, you can try with unchecked "Test mode", but don't click any banners!

    If nothing helps, you can try collecting logcat log from your phone, maybe you'll see the error message there.

  • When LS works differently in exported game, this usually indicates that you've implemented it wrong. Can you post a screenshot of the event sheet?

  • Here you go:

    dropbox.com/s/o5fvtfgeecrqgba/Copy%20of%20ThetaProphet_2.c3p

    Click any enemy, the whole chain will start flashing.

    By the way, I suggest making the grid 44x25 or similar. Check out this article, it was really useful for me:

    redblobgames.com/grids/hexagons

  • You need to post your C3P file, not an exported game.

    You can use image points to detect neighbors on a hex grid. Define 6 image points like on the picture below, and you can check if any enemy is overlapping them in a loop:

    For "" from 1 to 6
    System pick Enemy overlapping point Hex.ImagePointX(loopindex), Hex.ImagePointY(loopindex)
    

    .

  • There is an old C2 plugin, but I'm not sure if it can be ported to C3.

    In C3 you can probably paste the sprite to DrawingCanvas, save canvas snapshot and then use some JS to convert it to Base64. Try googling "imagedata to base64 javascript", there are quite a few examples.

    If the image is small and you don't necessarily need it to be in Base64, you can save snapshot pixel data in an array.

  • If you need 2 depth layers, you'll have to add a second tilemap.

    You can do the whole thing with sprites, but don't hard-code x/y coordinates - this is never a good idea. Add gridX/gridY/gridZ variables to the tile sprites, that will correspond to array x/y/z. And calculate layout coordinates based on these variables.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • If you need to repeat the same event more than 2-3 times, this is an indication that it can be optimized. For 6x6 grid, the way you are doing it now, you'll need 144 events for saving and loading!

    (Eventually it will be 6x6x2)

    What's 2 here? 2 colors or 2 depth?

    .

    Anyway, here is how I would do it:

    dropbox.com/s/pde2vgxpfnubx9l/TileEditor.c3p

  • LOL

    Your code is terribly inefficient. What if you need a 20x20 grid - will you create 400 events for loading and 400 for saving?

    If your sprites are always snapped to grid, you should use a TileMap. Either snap sprites to tilemap, or don't use sprites at all.

  • Sprite -> Load image from URL

    If it doesn't work, press F12 and check errors in Console log. If the error is about CORS, search this forum, there are plenty posts about how to fix it.

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