tlarkworthy's Recent Forum Activity

  • I am a full time programmer. C2 is definitely programming.

    I have written games from the ground up. C2 is 100x more productive than raw Javascript. The time between coding a UI and experiencing is very low with C2. This is critical for rapid iterations. Its saving me tons of time

    Yesterday I managed to force Dijkstra algorithm in C2. It was actually harder work than if I just coded it in a normal language. BUT I COULD. The time lost in expressing computer science style algorithms is saved many, many times over in being able to experience the visual and interactive elements of the game immediately.

    Performance is a b****. Still, even if I port the entire project to Javascript myself, it would still lead to a shorter overall development time. I can do all the tinkering with things so fast with C2

  • You are a computer program, born in space, from the womb of an AI factory. You incubation pod provided enough necessary technology to survive ... but only just.

    Combining technology makes you more aware of where you are. It gives you the ability to shape the universe.

    You need to learn fast, get stronger. Other AIs want to take you apart. You must kill them. Take *them* apart. Grow stronger from the wreckage of weaker minds.

    Collect minerals by mining asteroids. Build thrusters, build weapons. Connect them.

    Kill enemies. Dismember them. Build more weapons. Build bigger thrusters. Grow. Connect. THINK

    universal machine

  • Rex made this SaveLoadStatus plugin here.

    Its a more modern version of the instance bank that uses the new inbuilt save load features. It doesn't like loading object on different layout than it was saved though, see my workaround later on in the thread if you need to do that.

  • I think this is the same bug I am getting here

    I have made a minimal capx of it

  • Link to .capx file (required!):

    dropbox.com/s/icpdvobyjk3k2s1/picking.capx

    Steps to reproduce:

    1. (run the layout, this is the explanation of what it does)

    2. Put two text boxes, A and B, in a container

    3. Create another box of type A (will create a B too)

    4. Pick A and B both by UID (this step is critical to the bug)

    5. call a function

    6. in the function (which *should* have a fresh SOL)

    6a. pick any box A (another B *should* be picked as well as they are in container)

    6b. set an attribute of B, IT BREAKS! B is undefined.

    Observed result:

    "Type error, cannot read uid of undefined"

    Expected result:

    should change one of the text boxes to "hello", removing either of the 2 side-by-side pick by UIDs the program work fine.

    Browsers affected:

    Chrome: yes

    Firefox: yes

    Internet Explorer: yes

    Operating system & service pack:

    Construct 2 version:

    r145

  • EDIT: turns out I was on a general bug with C2, so this is unimportant now

    I wrote a trigger condition.

    I have an action that triggers the condition, after picking items from a container.

    In the trigger event, I pick an item, which should pick all the siblings in the container. Yet it doesn't and I get undefined object errors.

    I tried using the "pick all" function to reset the picking but it doesn't help.

    I post to see if someone says something like "oh you need to reset the picking when triggering for an action". I have done nothing apart from call the runtime.trigger and noticed weird behaviour. If no-one can help I will try getting it into a smaller example but I am having trouble replicating it at the moment on non-3rd party plugins.

  • Use AJAX plugin for ajax?

    see here

    If the response is JSON you can use HashTable to decode it into a key-value object

  • EDIT:IGNORE THIS

    Hi Rex,

    I prefer Hashtable format because its doesn't prepend "c2Dictionary" to the JSONs unlike dictionary. I can map hashtable directly onto JS object representation for Firebase JSON store. Its very nice.

    However, it doesn't seem to support containers, which is necessary to support lists of players (each with their own hashtable).

    Any motivation to support this C2 feature? Or shall I get hacking?

    Tom

    EDIT: weird, it seems to be working now without me changing anything... I am confused.com

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • It crashes on Chrome on Ubuntu after fade in fade out. Its the point when firefox pops up the offline storage prompt.

    I found the game absurdly difficult and hard to control. I was often clipping the enemies. I think the acceleration/deacceleration curve of the guy is non-intuitive. So I tended to overshoot when trying to stop, and tended to underestimate how long it takes to get my speed up to duck under things. Jumping the round this when you can't see them coming is totally impossible.

    I like the graphics and feel of the game though. I wanted to get furher but I could not do level 1.

  • Elite, first open ended game.

    Eve online, riches politics and human double agents.

    Homeworld, best space backdrops.

  • download plugin

    run LIVE multi-user demo

    Maybe its hard for non-git users to get to the plugin, so now the plugin is also distributed as a zip. I have also put up the exported demo application too. Try using it with multiple browsers at the same time, they all update at once! Magic!

    For those with a curious mind, I am using TravisCI to automatically zip up the source files on a git commit, and write the plugin and demo to the github page branch (gh-page). So you can be sure the plugin link is always the latest release, and any contributions made will be distributed promptly (its fully automatic)

  • I build robots normally

tlarkworthy's avatar

tlarkworthy

Member since 17 Oct, 2013

None one is following tlarkworthy yet!

Trophy Case

  • 11-Year Club
  • Email Verified

Progress

12/44
How to earn trophies