caiorosisca's Recent Forum Activity

  • You need to add the Pick event to set which one you want to destroy.

    Try posting a capx, so it makes it easier for us to help you out.

  • Not sure if you can insert object types into an array in C2.

    A work around you be to set a random number and pick a specific object to create depending on the result.

    Something like

    r > Set value to int(random(3))

    r = 0 > create object1

    r = 1 > create object2

    r = 2 > create object3

  • I don't really understand what's going on, but it looks like your are looking for masks, I'm also not sure if they exist in C2.

    You should try to search for masks in C2, maybe there's a plugin or something you could use.

  • What about dimension of each frame? width x height? Have you tried cropping/trimming the whole animation to see if that helps?

  • Memory wise, scaling down your game wouldn't solve the problem.

    You need to resize your images to a lower resolution,.

    As for render lag I'm not sure, I've made a game once which ran at 60fps on iPad2 and couldn't get over 40fps on iPad3, because of screen resolution(not using C2). Maybe setting a lower window size and scaling it would help? Need to run some tests to find out.

  • How big is your animation? By the way 100 frames is quite a long animation. So it might lag depending on it's size.

  • I'm not sure, but you should check if it's possible to edit containers in runtime.

    If so, you could add your ingredients to the pizza container.

    Just a thought

  • You dont need to set the params when you create the function.

    When you call a function theres a button below the textbox where you write the function name, called "Add parameter".

    So you will do something like this:

    Function > Call "setTextFunc"(txt, X, Y) ....you will need to add 3 parameters here

    Function > On "setTextFunc" > TextBox > Set text to "Function.Param(0)

    TextBox > Set position to (Function.Param(1), Function.Param(2)

  • milk already gave you the solution.

    You need to setup an ImagePoint on the running sprite where you want the splash to be positioned. Also remember to check the origin point of the slashing sprite, these points will overlap when you create the sprite.

    Post a capx if you're still having trouble

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You create 3 sets <0,a>; <a,b>; <b,100> + if-avaible array at given depth.

    a and b will regulate how often material of given type appears at current depth. If-avaible tells if at current depth it is possible to encounter current material (0 for no 1 for yes).

    t4u What do you mean by "You create 3 sets", can you try to explain me how to achieve it using your way? You can use actual code if that helps, I'm still learning C2 so I struggle a bit trying to organize the code into it.

  • Where did you find the multiplayer template? I see alot of people talking about it, but haven't found it yet.

  • Try it like that, you need 1 boolean variable, can be a player instance var. call it canCreatePlatform for example.

    Player > On Jump> Set canCreatePlatform to true.

    Player > On Jump--------------------------- canCreatePlatform = 1---------> Set canCreatePlatform to 0

    Space pressed ------------------/ Create platform under hero's feet.

    Player > On landed > Set canCreatePlatform to 0

    Platform > On created > Wait 2 seconds.

    Destroy

    As for the scroll, I don't know what is happening. Are you using System> set scroll to object (Hero)??

caiorosisca's avatar

caiorosisca

Member since 20 Jan, 2014

None one is following caiorosisca yet!

Connect with caiorosisca

Trophy Case

  • 10-Year Club
  • Email Verified

Progress

11/44
How to earn trophies