justifun's Recent Forum Activity

  • add

    <preference name="fullscreen" value="true" />

    to config.xml

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Another approach is to give the player a instance variable called "Flying" and set that to 1 whenever he's flying

    then check against that as needed.

    eg: if player "flying" = 1 then do this, Else do that.

    But with regards to the object not "overlapping" with the platform, try using the collision at offset condition and use something like y+20 as the offset to make sure its lower than the bottom of the character's feet. (without seeing the game im not sure how it looks)

  • Try the tutorial again and see if you can figure it out.

    Double check which imagepoint the bullets are spawning from (probably right now you are spawning them from the origin.

    and check the bullet speed properties to see how fast they are moving

    you are also probably spawning them every tick instead of every X seconds

  • I'm not sure i fully understand your question, but to make things easier on yourself, you should separate out your animations.

    eg: animation1

    animation2

    Then you can use them whenever you want, without having to worry about what frame you are on.

    Maybe you can try rephrasing the question again?

  • One thing i see off the top is your last action ...

    Platform on landed (platform is not moving)

    In one tick you are asking it to start the "Land" animation" then immediately play the "Idle" animation

    that's not going to play them back to back as you would hope they would.

    You could add a sub event and put "on animation finished" action instead, then it will play one then the other.

    Right now they are stepping on each other and you probably won't ever see it play the "land" animation

    its also getting overwritten again when you use the "on any animation finished" -> player set "runloop" action earlier.

    One way to setup an animation system like this is to create a 2 global variables such as "CurrentAnimationState" and "PreviousAnimationState"

    Then create a series of scenarios that change the animation based on whatever your current and previous state of the player's animation was in.

    eg: when the player is running (on key right), you set "CurrentAnimationState" to "Running" and "PreviousAnimationState" to "Idle"

    Then create a "check" that says If CurrentAnimationState ="Running AND "PreviousAnimationState = "Idle" -> Play animation "StartRunningFromStop"

    Next you would create another check (on key right released) that says "If CurrentAnimationState" = "Running" AND "no key is being pressed" -> Player "RunningtoStop" animation

    Then create several of these "checks" for every possible combination of types of animations you want to have in your game.

    Each variation will be separate actions which makes debugging and tweaking much easier (although you end up with a lot more events) But the tradeoff is much easier to visualize and wrap your head around in more complex games.

    Basically right now you just have several platform movements all firing off at the same time stepping on each other.

    If you post the .capx file in dropbox or a similar service and post it for us we can tweak the file and show you how to fix it.

  • Lets say your sprite marking the end of the platform is called "end"

    Player on collision with sprite(end) -> set mirrored

  • Did you set the project properties to scale in C2, not just in the cocoonjs export?

  • What's the error message?

  • add a "trigger only once while true" to the condition that checks if its incorrect

  • Thx, I'm stuck at work and just brainstorming possibly solutions while I wait for things to happen around here.

    I wasn't sure if physics objects "collide" with each other same way in the engine as 2 sprites overlapping "collide"

  • There's no screen shots, concept art, and only a vague description of the overall basis of the game. I think you need to provide more details before asking for money. Especially if its for a tablet. You should invest in a concept artist first or something. Design the game first before testing on final devices.

  • If 2 physics objects (grenade and ground), can i use the "if collision at offset" action to determine if its going to hit the ground or not?

    eg: if i throw a grenade, can i use if collision at offset Y 20 to check below it before it hits the ground?

justifun's avatar

justifun

Early Adopter

Member since 9 Oct, 2012

Twitter
justifun has 4 followers

Trophy Case

  • 13-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
  • x2
    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

21/44
How to earn trophies