Lou Bagel's Recent Forum Activity

  • Reading through Docs and Forums, and a little testing out, it seems like when using script files:

    • Accessing Construct objects is done via runtime, which is passed into functions such as the runOnStartup
    • To integrate with events, specifically having functions in a script file called, the functions need to be declared in global scope, which means NOT in runOnStartup

    Is there a way to do both?

    I'm thinking declare an object in the global scope and add methods to it from inside the runOnStartup function . . . but wanted to tread carefully until I'm understanding further.

    --A little background:

    I'm actually working in a fairly large project that is ported over from C2 (using C3 runtime). I wanted to create some objects in script files that handle a lot of the logic (such as filtering, sorting, mapping arrays) and then either call functions (Event Sheet functions that were setup prior) or assign variables (Global and/or Instance). So that is why I'm trying to get it declared in the global scope but have access to runtime / fully integrate and interact.

    So I'm new to Scripting in C3, just recently upgraded, but experienced with both Construct and JavaScript.

    Thanks for any help here! I don't want to spend too much time figuring this out right now if this solution isn't possible/practical, or even if it isn't recommended as I don't want to cause myself troubleshooting issues down the line.

    Thanks

  • Bump

    I am getting this error at times as well and not sure where to find info on this

  • Yeah, I'll probably delete the post or at least edit the original post so I don't mislead people . . . but I swear I triple checked the distance and angle expression, each, and it was different. Then after writing the post I went back and it wasn't. So either I am going crazy right now or I was pulling up a different expression?

    But it would be helpful to know if anything else changed . . . or to know what I was looking at . . .

  • ...okay, now I went back to Construct 3 and the distance and angle has not changed. Either I was looking at something else or am going crazy . . .

  • I've been using Construct 2 for years and just purchased Construct 3. I'm happy with it already but have a fairly large project I just imported into Construct 3. Everything seemed to work great for the most part, as I played for a while to see if any huge issues, but now I'm finding a few things that needed to be updated everywhere.

    What I have found so far:

    • Construct 2 distance(x1, y1, x2, y2) -> Construct 3 distance(x1, x2, y1, y2)
    • Angle is ditto above (and probably all similar expressions
    • Effects with colors are consolidated from 3 expressions of R, G, B to one expression using RGB255() system expression (or a few others you can use)

    Posting this to help others but would also love if any other differences were pointed out so I can make the change and not have to find them the hard way!

    Also, feel free to link to other forum or blog posts. I did a quick search but not a lengthy one.

  • I laughed entirely way to hard when Dave ran into a coworker and looked disappointed to have to listen to them talk. I am actually working on a corporate satire game as well. Dave-man looks extremely relatable.. Especially this morning.

    haha thank you!

    Yes, that is basically the whole point of the game - avoid Chatty Cathy. The gameplay of the "levels" is very similar to PacMan but with Chatty Cathy instead of ghosts.

  • New Trailer:

    Subscribe to Construct videos now
  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • The Steam Store page is live! Very exciting!

    https://store.steampowered.com/app/1103790/DaveMan/

    Check it out and sharing would be much appreciated!

  • Forgot about this thread . . . honestly, it is hard to keep up on so many different platforms. I hope other developers can relate - I feel like trying to keep up on all the platforms and market your game eats into development time so much.

    Here is a post I just made on IndieDB with some screenshots, gifs, videos and misc updates: indiedb.com/games/dave-man/news/dave-man-update

    Here is an image just to spice up this post:

    This is all the Kickstarter backer NPCs

  • oh yes, thank you. I think I've seen it a clip or something but never actually followed. Following now.

  • Hey all,

    I'm working on a game called Dave-Man and this month (November) is crunch month as I'm trying to finish! I will be twitch streaming here and there, mostly dev work in Construct 2 but may also involve some playtesting and pixel art.

    Since it is crunch time I am not setting a schedule, as to not slow the development too much, but will kind of be streaming randomly. So if interested hit that follow and turn on notifications: twitch.tv/loubagelcombo5

    I welcome any other Construct users to ask me any questions in the chat!

    Also, if any of you stream Construct game development reply with your stream link in the comment and I'll follow! Would love to see others work in Construct!

Lou Bagel's avatar

Lou Bagel

Member since 7 Sep, 2015

Twitter
Lou Bagel has 3 followers

Connect with Lou Bagel

Trophy Case

  • 9-Year Club
  • Jupiter Mission Supports Gordon's mission to Jupiter
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • x2
    Popular Game One of your games has over 1,000 players
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

16/44
How to earn trophies