Scap's Recent Forum Activity

  • Hello,

    So, I have a room with walls and the npc can walking inside of course. In the room there are solid block walls. That's why, the npc can't go through the walls, for exemple to the other room. But I (the player) can building doors on the walls if I want it. I would build walls where I want on the walls. (Otherwise it will be a top-view game). The problem is the npc won't go through the door because under the door there located the part of wall. The player can build the door anywhere on the wall.

    You can imagine this situation as a problem of the river (as wall) and the bridge (door). I'd like to build a bridge above the river. Of course the npc doesn't go through the river and he's need a bridge. I can build a bridge anywhere part of the river. I was build a bridge but the npc couldn't walk through this, as the river stayed under the bridge and this one have a solid behavior and it overwrited the basic non-solid behavior of the bridge for some reason. I don't know why. The bridge on upper layer than the river.

    I need a simple solution. I hope you understood what I want and the situation as well. Thank you!

  • Thanks! Meanwhile I realized this solution

  • Hello

    So, I have some instance variables in my spaceship sprite (weapon_1_ammo, weapon_2_ammo ...) and I want to write out my ingame screen.

    I don't want to use global or locale variables for this. The 'set text' function is can't use instance vari of my ship. It's just can use the global and locale vari.

    Is there something solution for this?

  • Thanks but I don't open it. My program version is 173. This file will save with 175.

    If the "script" of this file not too complex may be enough a picture about the script for me.

  • Hello

    In my game the player move in "snap to grid" style (top view game). I mean it move one frame/grid to another one.

    Of course in the game there are walls. The walls must be solid as the player can't through walls. So the hero stop when he collisions the walls.

    But he doesn't do it. I think because I don't use movement behaviors. Just I use a simple "if a key is pressed set position to ....". It perfectly works, just it doesn't stop in front of the wall. I tried add a movement behaviors and set the "default controll" is "no". The result is: Stop front of the wall, just when I move left (for exemple) and the player collision the wall, he began to "climp" along the wall.

    I upload my game, maybe it will help you. Thanks!

    I think write here and I ask you, because I have no more idea...

  • Thanks! Your solutions is worked!

    ------

    Global number: snapY = 22

    Global number: snapY = 20

    Set position to + Create object:

    Mouse.X - (Mouse.X%snapX)

    Mouse.Y - (Mouse.Y%snapY)

    Thanks!

  • Hello

    I'm making a space buldier game and I'd like to do a similar function as snap to grid but during in game!

    For exemple I'll select a station and I want to build it. This can only build places specified in the space.

    Such as snap to grid function in the game editor!

    Is there some simple solution? For exemple something event settings or other else...

    I hope you understand what I want

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thank you!

  • Hello

    My problem is very simple!

    I just want to write out to the display a text and I'd like that the text is to be pinned on centre of the screen. But! the display is will scroll and meanwhile the text have to still remains in the middle of the screen.

    Something simple solution?

    (Sorry for my bad english)

  • No problem! Thx, it's also good idea.

  • Thanks Aphrodite!

    It's work.

  • My problem is very simple:

    How do I create a random number between two value one time.

    (Not repeat again n again... only once generate random number!)

    So if I wrote that:

    System - Set value: Set Glo_temp_vari to floor(random(3,13))

    It will to generate a number between 3 and 13, but after it will to repeat again and again to infinitium. I want that it doesn't repeat again.

    Something simple solution? Thx

Scap's avatar

Scap

Member since 6 Nov, 2013

None one is following Scap yet!

Trophy Case

  • 11-Year Club
  • Email Verified

Progress

12/44
How to earn trophies