nusbaumc's Recent Forum Activity

  • This is a shameless bump! Bump bumpity bump bump! Back to the top you go!

  • Specifically, I mean from the manual page. The bolded part is the part I can't figure out, can't seem to find any information about it either.

    CanvasSnapshot

    Contains the resulting image from a Snapshot canvas action after On canvas snapshot has run. (Note this expression is not available immediately after the Snapshot canvas action - you can only use it after On canvas snapshot triggers.) The expression returns a data URI of the image file. This can be loaded in to a Sprite or Tiled Background object via Load image from URL, sent to a server or stored locally, or opened with the Browser object in a new tab to save to disk.

  • My collaborator and I are working on our second project and as part of that I want to send a screenshot to a PHP script. I know how to get a screenshot into CanvasSnapshot, but I've been using Ajax with GET expressions for PHP interaction. I want to use a POST request to submit the screenshot but the Ajax dialog says it's supposed to be in query string form and I don't know how to process it.

    Any tips are appreciated!

  • Not necessarily programming, I think one of the most important lessons I learned from our recent demo project was the importance of starting from a good design when doing a collaborative project. Making up everything as you go may work when you're by yourself but that approach wastes tons of time (even on really simple projects) if you have to wait on your collaborator to implement your spontaneous ideas.

  • Sounds easy enough. My suggestion:

    1) Set a global variable to 0 at the start of the level

    2) On every tick, add dt to the variable

    The global variable will contain the number of seconds that have passed since your event 2 became active.

    Check out this manual entry

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • So my collaborator and I recently finished our first game, and I was thinking of submitting it to the Scirra Arcade.

    But it says here that the browser object cannot navigate to a different page. I have a backlink button within the game that opens a new tab/window to my site if you click it, this doesn't navigate away from the current page though. Also I have some Ajax events for saving and retrieving high scores, they don't navigate but they do interface with some non-Scirra PHP. Will they still work?

    I don't want to submit and waste everyone's time if I can't backlink or if my game won't work properly.

    Thanks in advance!

  • Not bad at all , good job.

    But, use family to reduce actions and events for Bullets :)

    Thanks!

    I was more-or-less learning it as I went along, so there's a lot of duplication in some of the events... I agree it could have been done better.

  • Why not use an array and have an On Start of Layout event set a global index? Then you could use something like array[index] to access the variable.

  • If you're using Ajax my suggestion would be to just have a PHP script serve the text you want.

  • Our first attempt at something approximating a real game.

    The game

    CAPX file

    <img src="http://www.dragonflame.us/images/dragon_blast2.png" border="0">

    <img src="http://www.dragonflame.us/images/dragon_blast.png" border="0">

    Caution: difficulty is on the Nintendo scale. Easy is pretty generous with regeneration though.

    I know the input events are a gigantic mess (I decided I wanted to support mouse, keyboard, AND touch input.. that wasn't a great idea in retrospect) and the entire game is framerate dependant.. both of those are issues that would have taken way more effort than it was worth to address though.

    Let me know what you think!

  • I have high scores in my demo project which should be done in a month or so. If you're saving them on a server and accessing them via an Ajax / PHP interface sorting them server-side is trivial (e.g. SELECT * FROM highscores ORDER BY score)

    If you're doing it in Construct 2 I'd try using a selection sort; it's really good on platforms where your ability to directly manipulate memory elements is limited since it sorts the list in-place.

  • Beautiful artwork nusbaumc! You need to use that majic for something adventure related! Game is cool though

    Thanks!

    I bought the Personal edition and we're working on a demo project now. Won't be anything spectacular but will be good practice for our next one.

nusbaumc's avatar

nusbaumc

Member since 17 Dec, 2013

None one is following nusbaumc yet!

Trophy Case

  • 11-Year Club
  • Email Verified

Progress

12/44
How to earn trophies