Nepeo's Recent Forum Activity

  • We did look at the black hornets "smart random" plugin when adding the permutation tables. They fulfil a slightly different purpose, but can be used to produce non-repeating random numbers like "smart random" does. If your happier with the way "smart random" works then I encourage you to keep using it for that, but it's worth knowing what "Advanced Random" offers as well.

  • Should be as simple as having a loop and a counter variable. Something like this should work:

    It assumes that there's 10 instances, and 10 animation frames but you could put safety checks in place for that.

  • Example usage:

    ...and the resulting log message...

  • It creates an array of values between the 2 numbers you give, and then shuffles it. I presume they chose 52 because it's the number of playing cards in a deck.

    The expression tells you what card is in that location. If you want the next then just increment your index.

  • It's in the next beta, most changes made during the last couple of weeks before a stable go into the next beta cycle. The only exceptions are low risk and high importance fixes.

  • KENYONB The update to use the latest version of the SDK for iOS is coming in the next beta release, just committed the change.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You do not have permission to view this post

  • Sounds like the hybrid web app community has kinda exploded over this, there's things popping up all over the place. There's unfortunately no official information from Apple over how they are flagging apps for this, or when it's going to become a real problem.

    I believe this github.com/apache/cordova-ios/issues/661 is the main issue tracking this on Cordova.

    The design intention of Cordova is that the actual webview engine component is supposed to be replaceable. On iOS the default is based on UIWebView, but pretty much everyone ( us included ) has replaced it with the official WKWebView based engine. The issue is probably that the code that references UIWebView still exists, even if it isn't being used. There was some people on the React native bug tracker saying that you could just delete the file referencing UIWebView and the warning goes away. I think cordova is likely to be a bit more tightly bundled than this though. I guess they will release a new version of cordova ios at some point that replaces the UIWebView version outright, but no idea what the time scale will be like here.

  • Depending on what you want there's a few options.

    The inbuilt save option is the easiest, it just saves the current state.

    If you want a bit more control you can save just the information you want to local storage.

    If you want a full on system then the BinaryData plugin can be used to encode/decode a binary file.

    If your intending to create a web app you can get users to select a file with the "filechooser" plugin, the "ajax" plugin can read the file into the "binarydata" plugin for you. When saving you can use the "browser" plugins "invoke download" action to download the contents of a "binarydata" object with a filename of your choice.

    If your intending to create a desktop app (NWJS) then you can use the "NW.js" plugin to read a file directly into a "binarydata" object, and can write it back using the same plugin.

    In terms of file extensions you can use pretty much anything, the 3 letter limit on file extensions date back to software restrictions in windows in the early 90's and isn't a problem anymore. So you can use as many letters as you want.

  • The while loop runs continuously, blocking all other actions until it's condition becomes false. If you remove the "while" condition and just have the "timecounter < footstepsTime" in your event then it will check the conditions once per frame, which I believe is what you want.

  • Being a programmer is just a title. I think most people use the term for a "Professional programmer" ( someone who's main source of income is creating programs ). However, many programmers make a habit of writing and releasing software for free. So in a way you wouldn't call them "professional", but they are arguably very skilled at programming. While you may not spend your days writing source code, what you are doing by creating event sheets is programming your game. So you are in fact acting as a "game programmer" or "game developer". Don't let the term "programming" seem scary or hard, some types of programming are easier or harder. The rest is just practice.

    I'm not sure why "pick all" isn't working in your project, it might be down to the order of your conditions? The filters are applied in order, so it might be that other filters are being applied after your "pick all". It can be hard to visualise which instances are picked at any one point, but as you've found the "pick top instance" condition I think with some experimentation you can probably figure out how the rest work. It's one of the most powerful tricks of the event sheets in my opinion, so it's something worth figuring out!

  • I think part of the issue here is a misunderstanding of "picking". Whenever you refer to an object like "Sprite3" you are actually says "all instances of Sprite3 that are currently picked". By default everything is picked, which is why with your first version you were moving everything. Some conditions apply a filter to what is picked. For instance "on object Sprite3 is clicked" will only pick the instance that has been clicked. Similarly if you create a new instance that singular instance is picked.

    Your "Cursor is over Sprite" condition is filtering the picked instances down to only instances that are under the cursor. There is a condition in system "Pick all OBJECT_NAME" which allows you to make all instances of Sprite to be picked. Most actions will modify all the picked instances of the object you pass in. Whenever you use an expression like "sprite.x" it will return the value for the first picked instance.

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