Radiowaves's Recent Forum Activity

  • 1. Import it as a sprite.

    2. Add a mouse or touch object to your project.

    3. Make the event: "On object clicked" -- should be available after you added the mouse object.

    4. Read a manual

    5. Read a beginners tutorial

  • Ok as I understand it the "|" operator is basically an if-else statement that returns 0 or 1. It does not work with just pure numbers, it only works with conditions? How I implement this to check an array value I have no idea.

    Did it your way, can't use array because there is no way of checking the array value in expression like you could do it with tilemap. So I used tilemap and came up with this:

    This is quite insane in my opinion, all because "or" could not be defined correctly.

    I would like to do the floor calculation beforehand and keep it in an array to save computation time since there is a lot to check like this.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Yeah I could add another "else" statement or mess around with nesting, its getting rather complicated this way. Why does the | not work? What am I missing?

  • Add both (or more) if you're doing multiple and then right click on the far left of the conditions and select "Make 'or' block"

    As I stated in my post this is not the case I am looking for, it simply won't work for what I am trying to do. The capx file is just a simple example of how | operator is used (just like in the manual), not the project itself.

    How do I do this?

  • I got this when I was asking how to change them a few weeks ago. I don't know if I am missing something else but when I push any of the ASDW keys it freezes the mouse and curser iv tried turning default controls on and off moving it to the top and bottom of the event sheet but its the same.

    (8-Direction Behaviour)

    *When Key "W" is down -- then

    --> Player Simulate control "Up"

    *When Key "S" is down -- then

    --> Player Simulate control "Down"

    *When Key "A" is down -- then

    --> Player Simulate control "Left"

    *When Key "D" is down -- then

    --> Player Simulate control "Right"

    (Platform Behaviour)

    *When Key "W" is down -- then

    --> Player Simulate control "Jump"

    *When Key "S" is down -- then

    --> Player (Fall Through)

    *When Key "A" is down -- then

    --> Player Simulate control "Left"

    *When Key "D" is down -- then

    --> Player Simulate control "Right"

    You are using platform and 8 direction at the same time? Aren't those two colliding with each other or sort of doing unnessecary double work?

  • I red the manual. The "|" should act as "or" statement, but for some reason I can not get this to work.

    Example CapX: https://drive.google.com/open?id=0B5xC9 ... 0VqMncwclU

    I know you can add "or" statements to whole block, but this is not suitable for me because I need to check multiple chunks of conditions. If one of the chunks is true (all conditions met in that chunk of conditions) then do the action.

    Help appreciated, am I doing something wrong or is it a bug?

  • Problem Description

    Sometimes when loading a new sprite strip to existing sprite, construct2 freeses. Close construct from task manager, start it again and the problem persists. Restarting the computer helps. But also pressing the "Alt" key brings up the animation strip properties panel and the problem is gone.

    It seems the properties panel gets stuck somewhere, either under the general windows/tabs/panels or somewhere unseen when loading rather large spritestrips. Maybe a memory issue and not construct related, but maybe worth to look into.

    Attach a Capx

    Capx does not help

    Description of Capx

    -

    Steps to Reproduce Bug

    • Step 1: open existing large animation (20 frames does it to me)
    • Step 2: replace the animation with new spritestrip
    • Step 3: SOMETIMES the sprite strip properties panel does not pop up
    • Step 4: hold "Alt" and it can pop up

    Observed Result

    Spritestrip properties panel does not pop up

    Expected Result

    Spritestrip properties panel should pop up

    Affected Browsers

    -

    Operating System and Service Pack

    Win 7 SP1

    Construct 2 Version ID

    200

  • What about Tilemap.PositiontotileX(Sprite.X)? instead of percise numbers? If you change the tile size you have to rewrite it. Additionally you can even add SnapX.

  • ... And I am sitting here in 10-30FPS on my 6 year old laptop. Things started to go wonky in 2d just when HTML5 came....

    Like I should buy a high end gaming pc just for 2d web games.

  • Depends. In my experience its hassle to choose random sprite, need to use variables. So I just name my sprite animations "name" & 1, so I can switch and call them whenever I want to.

    This way you can have several walking animations for different characters etc.

  • We (I and some other friends) built a multiplayer platform-shooter a while ago. OFC it was 24h challenge and therefore quite messy, the multiplayer itself worked. Problem was that phone connections are usually not up to bar and syncing all animations and positions can be tricky. I suggest more simpler approach or turn-based game.

  • I have a function that checks some objects at random coordinate, if its true, it does something and thats it. Else it calls that function again.

    But this creates a recursion error. Why is it so? If it calls itself again, the previous instance of that function should end, no? What am I not understanding here?

    Basically I check if there is tile on tilemap. Since there is no "check if there is tile" command in C2, I just check the tile state. Inverting the tile state check can do some funny things sometimes.

Radiowaves's avatar

Radiowaves

Member since 23 Mar, 2014

None one is following Radiowaves yet!

Trophy Case

  • 10-Year Club
  • Popular Game One of your games has over 1,000 players
  • RTFM Read the fabulous manual
  • Email Verified

Progress

13/44
How to earn trophies