Sollaano's Recent Forum Activity

  • Try to use wait system-function at the end of "for each x".

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I changed the origin point of the sprite to top-left and it worked. I also set it to create the object instead of spawning it.

  • Hi!

    I'm trying to make level editor where you can place blocks in 150 x 150 px grid. I tried to do event like this:

    On click -> Spawn "block" at int(Mouse.X/150)*150
    [/code:1nny5x8x]
    and
    [code:1nny5x8x]On click -> Spawn "block" at ceil(Mouse.X/150)*150[/code:1nny5x8x]
    
    It kinda worked occasionally but most of the time blocks just spawned in wrong places.
    
    [b]Edit:[/b] You probably wan't to see pic
    
    [img="http://i.imgur.com/NNfT1oC.png"]
  • Kcpunk666 Thanks! I solved the problem by setting it not to create underground stone (since I don't really need it)

  • Hi!

    When I generate new random map, sometimes the result will be something like this:

    And that is not fun. You know what will happen when people walk over the gaps.

    I tried to fix this problem by setting instance variable "col".

    If block is colliding with block -> col = 1

    If col = 0 & Pick nearest to "self.y, self.x" -> Create object "block" on block.x + 75, block.x

    It kinda worked but blocks spawn inside each other. Could you tell me how I could spawn block between instances that have var col as 0?

  • I made one example using variable. It's pretty dirty but it works. If you want cleaner look, use GeometriX's idea

    Oh, almost forgot the file

  • Use System -> Compare variable.

    Like this:

    Variable key is equal to 1 -> Door collision disabled (or whatever way you use to set door open)

  • Kcpunk666 Ok, i removed it, gave little fps boost but it's still dropping below 50 fps . Any trick for getting the fps to 60? Thank to dcrew for making it only render blocks that are on screen, otherwise performance would be awfully low.

  • You should probably set it to run as admin, for me it threw errors when running without admin rights.

  • Kcpunk666 Yes, I'm using physics

  • Hi!

    I'm making a multiplayer OUYA game with random map for every match. So my problem is that the performance is horrible.

    The map is quite big, maybe 450 tiles, and C2 checks collision for all of them(~20k checks/sec). I only need it to check the collision for the objects that are on screen. I'm using this method to generate the map.

    I changed some properties in the method above:

    • Spawning max 3 blocks on top of each other
    • Not spawning trees
    • No biomes
    • Added collision
    • 150 x 150 px textures

    So what should I do in order to get it run well?

  • Hi!

    How can I get the input from both analog sticks on Ouya pad? I saw one image that shows what every button is in C2. But it didn't show how you get the input from analog sticks. And some guy posted that you can't get input from left analog stick. Is that true or has it been fixed?

Sollaano's avatar

Sollaano

Member since 28 May, 2013

None one is following Sollaano yet!

Trophy Case

  • 11-Year Club
  • Coach One of your tutorials has over 1,000 readers
  • Educator One of your tutorials has over 10,000 readers
  • Email Verified

Progress

14/44
How to earn trophies