ngreiner's Forum Posts

  • 11 posts
  • I cannot get the error to occur again either. I'm not sure if the stack trace I sent helps but I thoughtI should at least contact you.

  • I suppose you all have a point about just letting the cheaters cheat. But I'm still looking for a way to protect in-game assets which would be for sale. For the project I'm working on these assets could be either event handlers (abilities) or images (items) or both. So far a possible approach seems to be to make calls to a server-component which would return the asset so that it could be run/used in game. I'm not yet sure how this would be done with Construct2 though. Perhaps some sort of plugin would be in order.

  • Making entirely free games is cool but what about the current trend to purchase in-app assets/abilities but making the game free to play and beat? I'm not sure how this could be accomplished in a secure way using Construct2 in its current form (or really in a future form) without involving some server-side component which would handle the mapping of a payment to an asset and serve the asset to the client. Simply checking for assets in the client-side javascript could easily be hacked just by editing the js emitted by CS2. Does anyone have ideas on this?

  • Thanks for the suggestion Ghengis. I supposed I could build a tool (or write a script) to do the replacement automatically after the export.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I would like to reference images (Objects) used in Construct2 via a CDN or a URL in general instead of assuming the objects will be stored local to the html page/javascripts. Is there a way to achieve this now or is this something that's in the pipeline? This would be a very powerful addition to Construct2 because we could externalize parts of our games.

  • I'm planning on using WebStorage to save game state so when a user quits the game they will (hopefully) be able to play offline on a mobile device.

    I really like the plugin you've generated because it will allow me to build in overrides to the current WebStorage data to send commands to the game like change the current level (i.e. Layout), clear the cache (WebStorage kvp's) and control the WebStorage in general via the URL. Very cool addition.

  • I've been experimenting with Layout switching and WebStorage and got a bug that the UI asked that I report.

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

    ENVIRONMENT:

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

    Construct2 r60

    MacBook Pro 64bit running Windows Vista Parallels Virtual Desktop VM

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

    ZIPPED PROJECT:

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

    dl.dropbox.com/u/4432971/game2.zip

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

    STEPS TO REPRODUCE:

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

    1) Open Layout 1, 2 & Event Sheet 1

    2) With Layout 1 active, Select the Event Sheet 1

    3) Close Layout 2 via the tab

    4) At this point I got the below exception. Although I tried to continue, the app crashed.

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

    THE EXCEPTION DETAILS:

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

    Construct 2 Check failure

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

    Check failure! This is probably a bug:

    Object has no animations

    Condition: !anims.empty()

    File: Projects\ObjectType.cpp

    Line: 911

    Function: class ObjectTexture &__cdecl ObjectType::GetFirstAnimationFrame(void)

    Build: release 60 (64-bit) checked

    Component: Construct 2 IDE

    (Last Win32 error: 0)

    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   

    --------------------------- <img src="smileys/smiley11.gif" border="0" align="middle" /> <img src="smileys/smiley11.gif" border="0" align="middle" /> <img src="smileys/smiley11.gif" border="0" align="middle" />

  • Apologies. I must have missed that step.

  • Yeah I suppose this was the 'fix'. I'm wondering if the Mouse object is typically included or if its supposed to be added manually for each project. If the latter the tut might need to be updated to keep people from getting stuck at that point.

    Cheers.

  • I found a work-around. With the usb mouse attached I right-clicked on the Object panel then "Insert new Object". I was then able to choose the Mouse object. Now when I tried to add the action "Set angle toward" to the player I see the Mouse object in the expression drop-down. Perhaps this had something to do with not having a mouse plugged in when I started the VM.

  • I'm running a free version of C2 R60 on a MacBook Pro with a Windows Vista (64 bit) Parallel's Desktop VM. I'm following the beginners tutorial and got to the 4th page where the Event Page is introduced. In the section where the player is supposed to be oriented in the direction of the mouse I'm not getting the Mouse object as an optoon in the expression dialog. Also, if I try to type in the Mouse.X and Mouse.Y for the angle expressions I get a validation warning indicating that Mouse is not an object in the game. I do have a working usb mouse but didn't add it until after I noticed the missing object. Any ideas?

    Thanks,

    Nick

  • 11 posts