Zephlon's Forum Posts

  • You could add a way for people to vote up/down others' posts. Then have the badge awarded to the poster when 5 of their posts in the help forum get 20 vote ups each.

  • This is my attempt at making it decide whether an object should break or not:

    dl.dropbox.com/u/52788071/break_events_01.png

    So it adds the speed of both of the objects together and if it is greater than the breaking speed, it gets the angles that both are moving at as well as the angle between their coordinates. If at least two of those are the same (give or take 45 degrees), the object will break.

  • .com

    .net

    .org

    etc ..

    All cost money, I doubt anyone will find one for free. You could always buy a .com from a host like GoDaddy and use a free web hosting service like 000webhost so that you are only paying for the Public Domain Name and not there hosting service.

    No, don't use 000webhost, or at least read this first:

    000webhost-scam.blogspot.com

    I used 000webhost before. They provided all of the features I was looking for. I stumbled across that page and ignored it. Several months later, 000webhost shut down my account without warning for the stupidest reason that did not apply. (I forgot what it was exactly.) Of course I didn't have a recent backup because it requires manually making the backup every month. And I couldn't get one of the backups that they offer because: 1) they deleted my account and 2) they don't actually take backups.

    I recommend PerfectZ instead.

  • I attempted to run the game and got this error:

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

    Construct 2 Check failure

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

    Check failure! This is probably a bug:

    Cannot find file on disk to return over HTTP

    File: C:\Users\Nick\AppData\Local\Temp\capMCX7X0\Animations\bouncer_v\Default\000.png

    This can indicate project corruption - please notify Scirra of this problem with the steps you were doing immediately beforehand.

    Condition: false

    File: HttpFileServer.cpp

    Line: 288

    Function: void __cdecl HttpFileServer::ServerRespond(struct _HTTP_REQUEST_V2 *)

    Build: release 72 (64-bit) checked

    Component: HTML5 exporter

    (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.

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

    Abort   Retry   Ignore   

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

    I'm 98% sure this due to the fact that I renamed the bouncer_v object to bouncer.

    Now when I try to load the preview in Chrome, the status box has said "Waiting for localhost..." the entire time I was writing this post.

    Edit: Just after I submitted this post, Google Chrome said:

    This webpage is not available

    The connection to localhost was interrupted.

    dl.dropbox.com/u/52788071/Speed_Ball_2.capx

    <font size="4">System Info:</font>

    Windows 7 Home Premium Service Pack 1

    Manufacturer: Sony Electronics Inc.

    Model: VAIO? Computer

    Processor: Intel(R) Core(TM) i3 CPU    M 330 2.13GHz 2.13 GHz

    Installed memory (RAM): 4.00 GB (3.67 GB usable)

    System type: 64-bit Operating System

  • Opps, I forgot. I modified the Extra Expressions plugin. Here is the modified version (please do not use it for your own projects):

    dl.dropbox.com/u/52788071/ExtraExps.zip

    It will require more than just replacing the missing frame (which I already did). It just looks messed up:

    <img src="http://dl.dropbox.com/u/52788071/speed_ball_01.jpg" border="0" />

    Edit: I just discovered why it looks messed up. The origin is waaay off center. And some of the wall corner objects have a size of 20.48, 20.48 instead of 64, 64.

    Thanks for your help. If this happens again, I'll try to get more information.

  • I don't know exactly what I did. I just added a little more to the level, and then an error popped up on the preview page, I restarted Construct 2, and then another error.

    I have an idea that may help with future bug reporting: Have the editor output actions and errors into a log file.

    Is there a way to "un-corrupt" the project file (like rebuilding cache or something), or will I have to start from scratch?

  • I was trying to one sprite object with multiple images using animation frames. I tested the game a few times and it worked. I added more to the

    level and tested the game again, then it gave me an error. I restarted the editor, and it gave me this error:

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

    Construct 2 Check failure

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

    Check failure! This is probably a bug:

    Cannot find project file for animation frame

    File: C:\Users\Nick\AppData\Local\Temp\cap78QWWY\Animations\wall_corner\Default\000.png

    This can indicate project corruption - you may be able to retry/ignore these messages and replace missing images in the project. However, please report this issue to Scirra with the steps you were doing immediately before this problem occurred.

    Condition: false

    File: Projects\AnimationFrame.cpp

    Line: 198

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

    Build: release 72 (64-bit) checked

    Component: Construct 2 IDE

    (Last Win32 error: 2)

    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.

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

    Abort   Retry   Ignore   

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

    After clicking retry, I got this error:

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

    Failed to load texture

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

    Error loading texture 'C:\Users\Nick\AppData\Local\Temp\cap78QWWY\Animations\wall_corner\Default\000.png': Failed to read image file data

    This may indicate a corrupt PNG file in the project directory. The image will not be able to be displayed in the editor.

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

    OK   

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

    After clicking OK twice, nothing looked right. The corners show up in the game, but not in the editor.

    dl.dropbox.com/u/52788071/Speed%20Ball.capx

    <font size="4">System Info:</font>

    Windows 7 Home Premium Service Pack 1

    Manufacturer: Sony Electronics Inc.

    Model: VAIO� Computer

    Processor: Intel(R) Core(TM) i3 CPU    M 330 2.13GHz 2.13 GHz

    Installed memory (RAM): 4.00 GB (3.67 GB usable)

    System type: 64-bit Operating System

  • Use the mass Object_Name.Physics.Mass

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You're welcome.

  • I want to have a physics object break realistically when it collides with another physics object. Very similar to Angry Birds. The problem is that I would have to add one event for each possible case which could easily get to 20 events.

    Also, how can I get it to play an animation instead of just disappearing?

  • In a game I'm working on, I needed to do the same thing. This is the formula I used to determine the speed of a physics object:

    sqrt(Object.Physics.VelocityX ^ 2 + Object.Physics.VelocityY ^ 2)

    Where Object is the name of the object. I put this in a System: compare two values event.