Calfuso's Recent Forum Activity

  • You could use a boolean to tell whether the specific object should enable collision or not.

    is bCollision true -> object.setCollisionEnabled = true

    is bCollision false -> object.setCollisionEnabled = false

    Question: Why don't you use the regular platform behaviour to make the enemy jump? instead of using invisible platform sprites?

    Or did I read you question wrong? It was kinda hard to follow.

    I can't use the platfrom behavior jump becuase it never works even if i do exactly as i have been told on the forums. If you now could give me the answer how to make a enemy jump that actually works that would be good to but making the colloision work for some objects but not others make alot of other things work so i would still want a answer to this. How do you make the boolean work? i am sure you need a instance variable to make the bolean work. Should i name it is bColllision true? After that how should i set up the events and actions? It seems hard to make it loom like you written it. So basically be clearer.

  • Again answer someone!

  • Answer someone!

  • I found out agood way of making a enemy jump.

    http://postimg.org/image/ethsvhxbl/

    Here is my layout. I have set the enemy to move left and rigth. I have the solid platfroms lead the enemy into jumping. I have made the platforms invisible so it really looks like the enemy is jumping.

    Here is images showing the enemy jumping.

    http://postimg.org/image/jre2q5mqz/

    http://postimg.org/image/4wbdg6f3l/

    http://postimg.org/image/sjuras3al/

    http://postimg.org/image/pi4l0bt4j/

    The jumping works fine like this.

    http://postimg.org/image/3s0cgsegj/

    But of course so can the player also stand on the platforms and collide whit themso the player avoiding the jumping enemy doesnt work. Is there any way to make it so only the enemy collide whit the platforms and the player doesn't so the jump will be a jump. I would be grateful for help.

    I don't use the Jump platform thing becuase it never works. I have asked for help about it so much and even if i have done exactly as i have been told it still doesn't work. If your answer is about Boooleans tell me how to set them up whit variables, events and actions and such clearly.

  • Problem Description

    ____ A concise description of your problem here ____ this comes up when i try tom open my prpject and makes me unabel to open the project.

    Attach a Capx

    ____ Upload a Capx to this post ____ ---------------------------

    Construct 2 Check failure

    ---------------------------

    Check failure! This is probably a bug:

    cannot find animation frame either in last_path or project location

    Condition: FileExists(GetProjectPath().c_str())

    File: Projects\AnimationFrame.cpp

    Line: 239

    Function: class std::basic_string<wchar_t,struct std::char_traits<wchar_t>,class std::allocator<wchar_t> > __cdecl AnimationFrame::GetActivePath(void) const

    Build: release 209 (64-bit) checked

    Component: Construct 2 IDE

    (Last Win32 error: 3)

    You are using a 'checked' release of Construct 2, intended for testing, which causes certain errors to be reported this way. Hit Ctrl+C to copy this messagebox - it's useful information for the developers, so please include it with any bug reports! Click 'Abort' to quit (unsaved data will be lost!),'Retry' to turn off messages for this session and continue, or 'Ignore' to continue normally.

    ---------------------------

    Avbryt Försök igen Ignorera

    ---------------------------

    Description of Capx

    ____ Concise description of what this CapX does ____

    Steps to Reproduce Bug

    • Step 1
    • Step 2
    • Step 3 etc.

    Observed Result

    ____ What happens? ____

    Expected Result

    ____ What do you expect to happen? ____

    Affected Browsers

    • Chrome: (YES/NO)
    • FireFox: (YES/NO)
    • Internet Explorer: (YES/NO)

    Operating System and Service Pack

    ____ Your operating system and service pack ____

    Construct 2 Version ID

    ____ Exact version ID of Construct 2 you're using ____

  • bunch of random letters and numbers?

    I'm not sure what you mean?

    I'm not using text or numbers and definately nothing random..

    It's just 1 event..

    system every 1.5 seconds

    sprite compare variable = "jump"

    > sprite platform simulate pressing jump

    I did exactly that and the enemy doesn't jump. That's it, Construct 2 doesn't work for me. The stretching arm thing doesn't work, the enemy jumping doesn't work. Construct 2 doesn't work. I leave it and switch to another game making program that hopefully works better.

  • I have it set to one backup file in preferences. new projects name is New Project and are saved in the folder lib. But i can't find the backup in lib just the unopenable main file. I had it set to make a backup file. It should exist somewhere. Just where?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I need help whit this! I don't want my project to be gone!

  • When i try to open my project it says Error opening file

    Error document empty Event Sheets Event Sheet 3

    The file may be invalid. Try checking the file in a text editor. Projects are saved in a XML format.

    And then it doesn't open my project. I did go into the Event Sheets folder and look into the event Sheet 3 and it was indeed empty. But hat can i do about it? I didn't make any events at all in events sheet 3 so it should be empty and i just don't get how something so useless stops my projects for being opened. I really hope that this doesn't make my project unable to open for all future. I would have to redo alot. Should have made a backup file.

  • What do you mean by code?

    These are events on the event sheet?

    And what do you mean when you say construct2 doesn't have coding possibilities?

    all you have to do is add the events and the action to your own event-sheet..

    The jump example is a bunch of random letters and numbers. How am i supposed to be able to get help from it unless o could get in the text as a event which i don't know how to.

  • It shouldn't be hard..

    Your code should work..

    Jump example

    Can i use that code somehow? Construct 2 doesn't have coding possibilities so it shouldn't, but it may.

  • I made a stretching arm once..

    You could use Timer behaviour

    to have things happen on timer..

    One way would be to set a variable when you want the stretch to happen,

    set the width of your sprite to : sprite.width+1 as long as the variable is set

    and unset the variable after one second on timer.

    I did that and it do stretch out it's arm smoothly like it should but it didn't do it when it should. It is supposed to begin stretching out it's arm when it sees the player. It's line of sigth is short so it should only be able to see the player when the player is close to it. When it has seen the player it should stretch out the arm in one second. What really happens is that it stretches out it's arm several seconds after the platyer has came close to it and drags it in and out when the player go to random locations. I hope you understood the problem by all the complexity this reply this answer had. The timer behaviors seem a bit messy. Is there any other thing you can use?

Calfuso's avatar

Calfuso

Member since 23 Jun, 2015

None one is following Calfuso yet!

Trophy Case

  • 9-Year Club
  • Email Verified

Progress

10/44
How to earn trophies