lionz's Forum Posts

  • Then you assign the stars a variable for what level they're in. I'm pretty sure you only need variables here, no reason for an array, unless you want to explain exactly what you're doing.

  • yep some good ideas! Tbh it's turned more into a tower defense type game in my mind. That genre might work better with what I was trying to do, abilities on a timer, armour up the player while enemies get closer.

  • I will guess that you probably mean a different enemy object but with the same variables and behaviours etc, right-click then clone object type! New object will be Enemy2 with the same setup. If you want to use the same actions like compare for all enemies then put all the enemies into a family called 'enemies' and run the logic on the family.

  • For Double Dragon style beat em up I guess 8-direction will work fine, you don't need platform and the jump would just be an animation. What I think you might be looking for then is disabling 8-direction up presses when you hit a certain Y co-ord? That might work better if it's always going to be the same height in the level, or you can use collision of the objects around him. Not sure about your second question.

    Ashley

    Ah yeah it's fine now...weird. I'll take a look at neocities some more then.

  • You'll have to share a screenshot, capx or some other information so we can see the issue.

  • You can try 'On touched object Tennis Ball' which will only trigger the touch once. That will solve both issues.

    Trigger 'on touch end' could also be used. When touch released it will fire the ball if you want that kind of functionality.

  • You will need to share a capx, caproj needs all the separate files.

  • Not supported by IAP. I think someone was working on a plugin...

  • I'm not sure exactly what you want to happen but it sounds like a layer problem, make sure the player is on a layer above the tree layer.

    Ashley

    Hmm, there must be another issue with neocities then because it always gets stuck on the loading screen. I tried it with a new project too. This is the downloaded site, does everything look fine with that? : https://dl.dropboxusercontent.com/u/495 ... linkie.zip

    And this is the live site where it's getting stuck: http://plinkie.neocities.org/

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You can set up a really fast sine behaviour I guess, one that moves a very low number of pixels left to right very quickly.

  • They are global variables, you can access them any time. Just be sure to 'include' the event sheet that contains them.

  • "You can use a global variable for each level that has a stars total." You just make a global variable for each level, level1_starcount, level2_starcount. Assuming you know the amount of stars and in what level and they are not procedurally generated or something. You just set level 1 to 5, level 2 to 5, total is 100 etc. Then when you collect a star in level1 you subtract 1 from level1_starcount and the total.

  • Are you certain that chasing becomes 1 only when you press up? Check in debug mode what the variable is doing, maybe it's 1 the whole time and the enemy can see the player but doesn't move for some other reason. I just set up an identical level and it's working fine for me although I don't know the intricacies of the custom obstacles in your level.