Nepeo's Recent Forum Activity

  • Hey no worries, thanks for the speedy feedback! This release seems to be getting a lot of love, which is nice 😎

    1. I had kinda pondered on this one. There's a few odd cases and things around this behaviour which I didn't want to make a hasty decision over. For instance: if you do a select all copy paste the data set is truly massive, because excel and sheets both start with very large data sets. I presume they ignore the empty boxes in their save format, but we can't do that with JSON unfortunately... So there's a risk of encouraging very large files etc.

    We could perhaps have a resize warning if it exceeds the size of the editor? Might be the best option.

    2. Yup... I totally forgot that! I will implement it for the next release, in the mean time you could probably abuse cut for this.

    3. I'm not seeing that with sheets, have you tried excel and sheets in that situation? Might be that they have a slightly different behaviour...

    There is one other behaviour I noticed that I hadn't implemented, because it seemed complicated and not particularly useful. In sheets if you copy say a 3x3, then select a larger area and paste it will tile that data. Can you see that ever being useful? Not sure if I should keep that on my radar or forget about it.

  • Looks very cool, I'm expecting that they have an awful lot of shaders to deal with the simulation. It would be very heavy to simulate on the CPU and much better suited to the GPU. Compute shaders are probably the way to go. Or you could CPU if you had a lot of threads, but that would limit what hardware it would work well on.

    You could probably emulate some of this with custom effects, but I imagine they would be pretty tedious to iterate ( modify plugin, package, install, reload, load project, test, repeat... ).

    In case anyone hasn't seen it https://www.shadertoy.com/browse is a website dedicated to making cool things using only fragment shaders. It's kinda amazing. Just to warn you, some of them run very slowly even on powerful computers... So your computer might get kinda toasty.

  • The tile movement plugin is still pretty new. We generally aim to update documentation with stable releases, but that plugin hasn't been in any stable releases yet.

    It uses a linear speed, so it will appear to move smoothly for as long as it is moving. Position wise it will always snap to a grid when not moving, and it can only move to a grid aligned position.

    You can change the size of the grid and the movement speed with the properties bar; it's default dimensions are 32px x 32px.

  • It's technical name is the "conditional (ternary) operator" quite a lot of people refer to it as the ternary operator as most languages only have 1 ternary operator. Ternary operator meaning that it contains 3 parts. It's form is:

    condition ? thenClause : elseClause
    
  • Ah cool, I didn't know you can export only OGG for Android. It's been awhile since I used C2. You could use ffmpeg to recompress your ogg files, it has several options for modifying the quality/file size of the output. Best practise is to always start with a source quality audio file ( WAV ) instead of recompressing a compressed file ( OGG ). ffmpeg is kinda complicated, but there's a lot of people chatting online about how to use it and the documentation isn't bad.

    TinyPNG can get some excellent compression levels, better than PNGCrush for the most part. But if the image has a lot of colours in you may end up with some quality loss. So it's worth experimenting.

    Best of luck!

  • I am glad you got there eventually. You will find it easier to learn on a laptop or desktop computer than a mobile device I think.

    You can select multiple tiles to paint at once using the "patch selection" tool. The icon is a dashed square. You can then use the "fill" tool to end up with something that resembles the tiled background plugin.

  • It's on pause at the moment, but will hopefully revisit it soon. Our policy is not to discuss when a feature will be complete, as it can be hard to predict and some people take our word as gospel. Sorry about that :/

    What I can tell you is the current intention is that only the C3 runtime will support expansion APKs. So it would unfortunately not support your current project. It's unlikely that we will look into backporting support to either the C2 or C2.3 runtimes in the future.

    If your up to the challenge you may have some luck exporting as an Android studio project and generating an AAB. There's supposedly some size reductions to be had just switching format. Failing that if your trying to reduce the size of an APK you can use a tool like 7-zip to see what it taking up the most space ( APK, AAB and C3P are all technically zip files ), and then optimise accordingly. I believe you can technically edit an APK directly, but you will have to manually align and sign the APK afterwards.

    Here's a screenshot looking at an AAB I created yesterday, other than a few small tweaks they aren't that different from an APK. Looking through it I can see that 4MB of the 7.6MB for this archive is taken up by music, and 2.6MB is images.

    I tried re-compressing one of those images with tinypng ( lossy ) and it went from 404KB to 146KB with no noticeable change. If all the images compressed that well the archive would now be 5.9MB. You probably have 2 versions of each audio track as well ( m4a and ogg ) but only need 1 ( ogg I believe ). If all the m4a files were removed that file would lose around 1.2MB coming to 4.7MB. Which is a pretty healthy reduction!

    You can make these changes in windows explorer; directly to the android studio project. So you don't have to mess around editing an APK file.

  • Newly created projects include a series of images in the "icons" folder. These are the files used for application icons. Different mobile devices require different size icons, so it's advisable to provide all of the sizes, even if it looks correct on your phone.

  • Construct does not hold any passwords to any of your cloud services. When you log in Google gives us a ticket which construct holds on to. Whenever construct saves a file it shows the ticket to Google. If Google decides the ticket is valid then the file is saved.

    This ticket is only valid for 1 hour, after that we have to ask for a new ticket. When you press the logout button we throw the ticket away.

    When we need to get a new ticket we will open the Google sign in page, and wait for it to give us a ticket back. We have no control over the Google sign in page. When you type in your user name and password you are giving it to Google, not to us. We never see your password.

    If your browser is already signed into your Google account the sign in page may just return the ticket to us, as you have told Google that you trust C3. Unless you are using your personal computer, with adequate password protection, I would not advise leaving your Google account signed in. Anyone using that browser will be able to view your gmail, drive files, etc. If it's a shared computer then I suggest that you use either a guest or incognito window. These will sign you out of Google once the window is closed.

    Finally, on your Google account settings you can "untrust" any applications that you have granted access to your Google account.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I hadn't seen this, so thanks for bringing this to my attention. The scope of the changes they are bringing in is quite wide, but I'm hopeful this will improve the situation around APK size limits.

    Before I get into this it's worth noting that APK's do not have an actual size limit, the current 100mb limit is imposed by the play store.

    So... they have basically introduced a new intermediate format called Android App Bundles ( AAB ). You can now export one of these instead of an APK from android studio. But the kicker here is that you cannot install a AAB on an android phone. They are intended for is to be published to the play store, then when someone tries to download that app an APK is generated from AAB. This allows the APK to only included the code needed for that device, theoretically decreasing the APK size.

    At the moment cordova does not support AAB exports, and I cannot find any mention of them on their feature tracker... So we are unlikely to support this format on the build server for awhile. Also you need a special command line tool to convert an AAB to an APK for device installation/testing which makes it less useful. If you want to try it out you can export as an android studio project, and then generate an AAB using android studio ( some minor tinkering is required, and you must be fully up to date ).

    It's unclear if the 500MB size change will be available to APKs it sounds like it's only going to happen for AAB files.

    It's not really clear if this is going to remove the need for expansion APKs... I will keep an eye out, but will keep working on expansion APKs for now.

  • If you've got an image you want to use as your background the simplest solution is to create a sprite and put and put the image into that.

    You don't need to worry about collisions yet. Objects with collisions won't block character movement, only items with the "solid" behaviour will.

    I don't think you need the tilemap object, the "tile movement" is a behaviour you can apply to sprite, etc. it doesn't actually need a tilemap.

    I made a quick example of the tilemap plugin and tile movement behaviour for you.

    dropbox.com/s/dvpzoo5p3qalx4b/tile_movement_example.c3p

    The tilemap has 1 white and 1 black tile, which I've just painted as a chess board like grid. Then for a character I've created a sprite, which I painted red. I attached the tile movement behaviour to the sprite, and tweaked the positioning so that it sits in the middle of a space.

  • santiagoestrade have you used the tilemap tool before? It sounds like you've created the tiles but haven't painted any tiles to the object.

    The tilemap plugin allows you to create a small set of tiles, then you can use "paint" those tiles to the object to create an image. To "paint" a tile you can you the tilemap bar to select a tile and then you can just draw onto the object in the layout view.

    The demonoire demo is a good example of tilemap usage. It uses 2 small tilemaps to draw all of the backgrounds for something like 20 layouts. It also has a separate invisible tilemap that it uses for collisions, a handy trick for grid based games.

Nepeo's avatar

Nepeo

Member since 8 Mar, 2016

Twitter
Nepeo has 583,792 followers

Trophy Case

  • 8-Year Club
  • x4
    Coach One of your tutorials has over 1,000 readers
  • x3
    Educator One of your tutorials has over 10,000 readers
  • RTFM Read the fabulous manual
  • Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

13/44
How to earn trophies

Blogs