part12studios's Recent Forum Activity

  • wow i got a chance to peek at the example.. you're using actual javascript.. that's awesome. i would have never been able to pull that off.. i may explore other ways to get a similar result, but this is still a fascinating and very helpful to realize how a solution could be found.. I have a developer partner that I might be able to lean on to help with JS coding to further improve the behavior in my case, but this example sheds a ton of light.. I was thinking i could do it purely through C2 expressions / actions.. but that's not the case.

  • korbaach and newt thank you both. That's super helpful! I'll explore this and see how far I can get with it. I feel like understanding how this example works might help give me ideas of how to address other features!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • ok yea i see what you mean about estimating a position..

    any ideas on how i should properly use that expression to search text?

    my question is:

    RegexSearch(String, Regex?, Flags?)

    I get the String value.. in here i can use "information.text" which would be the text in my information object (a text box).. but what do they mean for me to put in the regex and flag fields?

    Also thank you so much for your insite! This is tremendously helpful.

  • Also I saw:

    find(src, text)

    this seemed possibly promising as well but again i'm afraid i don't understand how to frame an expression like this to do something meaningful with it.. like say i did a search for the word "hammer" and the text i search is very long.. maybe 4-5 mobile phone screen sizes of information and the word hammer appears 1/2 down.. naturally i'd want the screen to scroll down to that point so a person can quickly get the information they need.

  • newt ok so i have a project setup.. the best i could come up with is to do a system/compare two values.. but i'm not sure what else could be done.. my initial test.. i'm able to use a text box.. enter text.. hit a search button which saves that value to a var..

    my next step would (i think) be to try and do a compare two values.. the text from the information textbox (i put a big speech in there) to the text from the global variable.

    There must be some other step in the process i'm not following.. part of the challenge too is not knowing how to actually use Regex.. i see it on the link you shared:

    RegexSearch(String, Regex, Flags)

    Return the index of the first character in String where a match for Regex with Flags could be found.

    i assume the String they want would be the information.text that i have in my textbox object.. but what is the Regex thing they want? what are the flags? those concepts are foreign to me in this context.

  • I've never touched that expression before thanks for the tip. I'll check into it!

  • Hi everyone,

    This I realize is an un-game-like request in many cases.. but does anyone know if there is a way to search text like you would with control+f ?

    I literally want to just be able to do that. someone type a word in a text field (which C2 has) and enter to jump to a given spot where that text is located.

    Thanks,

    Caleb

  • try a different project.. export and upload in it's place.. see if it's the project or the capx. it's easy to assume your game is ok.. i have had black screen problems like this in the past.. i'm trying to remember what it was.. i know it wasn't one of the usual suspects.. but yea try another build.. try an older build also.. did you add any plugins recently?

  • https://shatter-box.com/knowledgebase/c ... nstruct-2/ can get you pretty far but for the iOS certificate stuff there was another tutorial.. basically you just need to know how to make a certificate and provisioning file.. THEN you need to know how to extract the .p12 (private key) from the keychain access file on your Mac. This should do the trick.. https://forums.cocoon.io/t/ios-signing- ... file/303/5

  • let's hope they catch on

  • yea hopefully he $250 sale shows them some promise so they consider doing a steeper sale.. i'd be willing to pay $100 per game.. to remove the splash.. but nothing more.

  • Zebbi man i love you but omg.. please stop stressing about a splash screen.. lol no one cares.. gamers especially.. there are unity games out there that make a **** ton of money and they still have the "made with unity" splash. unless you're doing a job for a client who is really picky about it.. you just explain if they want it removed they have to pay the fee.

part12studios's avatar

part12studios

Early Adopter

Member since 24 Dec, 2012

Twitter
part12studios has 1 followers

Connect with part12studios

Trophy Case

  • 12-Year Club
  • 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
  • Coach One of your tutorials has over 1,000 readers
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

20/44
How to earn trophies