robit_studios's Recent Forum Activity

  • Do you need to rotate the whole layout? Why not just change the angles of the layers that need to be rotated?

  • Why not just put them in an array and download that to use as a project file?

    Each JSON file contains a 3D array. I want to be able to load one of the JSON files at a time into an array object and use it to build a level, then unload it until the next level.

  • I have a situation where I have 100s of JSON files in my project file folder and I want any one to be called on by name and loaded into a single array when needed. I only want to have 1 array that can load any one of these JSON files.

    Unfortunately the AJAX "Request project file" action forces me to use a drop-down box, top select the project files, in the editor. Is there a way to use a variable or expression to load a project file?

  • It's disappointing to discover Advanced Random will not allow me to pull simple seeded random numbers (0-1.0 for example) without overriding the system's random number generation. I am also trying to create a game with real-time level generation so I only want some of my random numbers to be tied to a specific seed.

    Is there any chance this plugin can be updated or does anyone else know of a decent workaround?

  • We have had issues with Windows 10 updates breaking our CC game. Have you tried toggling Windows 10 Game Mode? You can access it by pressing Win+G.

    My theory is that Win 10 is treating CC apps as not games and is throttling performance. If you tell it that it's a game is seems to help.

    I also noticed that on one machine Win 10 Update downgraded by graphics drivers which caused problems as well. Double check that your drivers are up to date.

    Hope this helps.

  • Been searching everywhere to find and answer to this.

    Is there a way to set an object's shader effects parameters using python? And if so, what is the syntax?

    Thanks again for you help!

  • It's odd, I also get a crash if I attempt to call a TiledBackground's variable name by "Expression" in the event editor. This must also be tied into the Python crash.

    Regardless of that I found a workaround method that's messy, but works.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thanks ROJO.

    Unfortunately, I just gave that a shot and it still causes the same crash.

  • Here the cap: https://dl.dropboxusercontent.com/u/28484936/portal_game_animation.cap

    I was able to get the Run2 animation playing by adding a couple extra conditions. I checked for the X Speed of the Platform Behaviour and test that against the Width of the players Body Animation (which tells us which direction it's facing). There are better ways to do that, but I didn't want to change your .cap too much.

    I would make a private variable called "playerDirection" and make it 1 when he's facing right and -1 when he's facing left. Then when you're calling animations just test the "playerDirection" against the actual Movement Speed to determine which animation to play.

    Your animations look awesome, btw!

  • What's happening (I think) is that every tick the animation was switching to Crawling and then quickly switching to another animation and therefore never moved past the first frame.

    It looks like two issues to me.

    First, I think Construct was automatically setting the animations based on the platform behaviour. To fix this I renamed some of your animations so that they aren't considered default platform animation names.

    Second, I changed your code so that it will only set the "Walking" and "Standing" animation when the down button isn't pressed.

    I also added an event that will set the animation speed of the crawling animation so it doesn't animate when standing still.

    Here's the cap: https://dl.dropboxusercontent.com/u/28484936/crawling_game.cap

  • I think this is probably a bug in CC but I wanted to get some verification.

    I'm trying to do something fairly simple: change a private variable of a TiledBackground object in Python. However I keep crashing the game when I attempt.

    This is the code: TiledBackground.SetValue('test',10)

    And here's a cap showing the problem in action:

    https://dl.dropboxusercontent.com/u/28484936/tiledBG_var_python.cap

    As you can see in the example, this exact code works fine for Sprites but it doesn't like TiledBGs. Any help would be greatly appreciated. I need this for a level editor/loader that Im working on.

    I would also appreciate any ideas for a workaround if this is indeed an unfixable bug.

    Thanks again!

  • Resurrecting this crazy old thread to see if anyone ever found a solution for this.

    Any way to change the sampling at runtime or with a command line?

robit_studios's avatar

robit_studios

Early Adopter

Member since 17 Jan, 2012

Twitter
robit_studios has 1 followers

Connect with robit_studios

Trophy Case

  • 12-Year Club
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

15/44
How to earn trophies