blurymind's Forum Posts

  • Basically I want to get the speed of rotation of my phone when i tilt it forward - rotate on the x axis ( http://i.stack.imgur.com/eyibk.jpg )

    How do a go about doing that?

    gdevelop already has that xD

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • someone told me i'd find a Phonegap BluetoothSerial plugin here? Where did it go??

  • gdevelop has pros and cons when compared to c2:

    pros- editor runs natively on linux,mac and windows

    • gdevelop can compile to native windows,linux and mac. It can compile to native android(beta). It can compile to html5
    • gdevelop is open source, so if you are a developer you can hack it to suit your needs
    • You can parse expressions straight in the event sheet
    • Native C++ execution and you can even inject native C++ in the event sheet (good for advanced devs), same for java

    cons- addon system not as easy as c2 - so community is not creating any plugins for it. Ver lacking in the addon department.

    • shaders possible, but not as easy to apply atm
    • editor is a bit clunky when compared to construct2
    • much smaller community using it, no asset store
    • Has no sprite editor, so not as fast for putting together a prototype
    • Only two active developers working on it in their free time
  • If the editor is html5, we can potentially use it on a tablet even. <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">

    Apparently somebody already thought about that:

    https://gdevapp.com/

  • Ashley rpg maker mv also uses nw.js and it runs without any effort on linux via wine, because they dont require a local host.

  • wine does not support httpapi, so you can not run the layout in your browser or even if you use nw.js to preview it. Also debugging doesnt work. Crossover is pretty much wine- so construct2 is not very useful as playtesting takes ages - you have to compile the entire game every time you need to test it..

  • if you cant wait for C3, give gdevelop a try. Its free and it runs on mac - has the same event sheet as construct2, compiles to native and html5. Can even compile to native android now.

  • Stencyl's biggest problem is their licensing deal - you pretty much never own a license and you are instead renting the software.

    C2 gives you a much better deal - you pay once and then do whatever you do and whenever.You own the license.

    http://www.stencyl.com/pricing/

    Apart of all that stencyl is much more fragmented and confusing. To set up a single game entity, you have to go through a bazillion setup rooms. Compared to that C2 is much less click heavy and obvious.

    Stencyl is not using it's own visual scripting system like construct2 does - it has ripped off the open source "Scratch" one. It is not as clear at construct's and things might get confusing.

    https://scratch.mit.edu/

    Stencyl free version exports to flash only - so your game is pretty much dead - as nobody supports flash anymore - even adobe.

    Construct2 free exports to html5 - which is what is replacing flash now.

    pros: Stencyl does have a couple of pros. It's object oriented coding - so you can attach scripts you made to game objects. In construct2, you have to always dance around with picking a specific object by UID or a number of conditions to isolate it. This can be a problem some times - so most game engines are object oriented programming style - attaching instanced scripts to objects. In construct its the other way around with the event sheet. That is of course to some extend a matter of style/taste.

    Stencyl can compile to native games and does have an editor that works in linux and mac apart of just windows - their editor is well integrated with the community asset store. These are things that construct3 might be able to sove of course - but until it's out stencyl will have the advantage there.

  • rexrainbow You are awesome! That was quick and effective. Upgrading right away!

    Now I can use some rows to trigger custom functions with parameters based on column index rather than column names that are in use by some other rows.

  • rexrainbow How does one access a column or row by using its order number. Is there an expression to access the 5th column, then the 6th and so on? I want to be able to use the csv table like an array table some times.

  • ah I see. Thank you for explaining. It's very interesting how it handles events, even if a bit hard to get used to when you are used to gdscript or some other scripting language. At first glace it feels just like scripting too, but it does so much more under the surface.

    The hardest to me is moving away from object oriented scripting where logic is attached to objects - to here where a huge event sheet has logic where objects need to be identified and addressed specifically, otherwise the logic will spill and break them.

    I think the documentation should make a note that events will execute in cases where a programmer might expect them not to.

    lennaert this works like a charm now. Thank you for sharing an example with me.

  • blackhornet what confuses me is that C2 breaks one rule that programming languages follow:

    1.if myVar=true:

    2. dothis()

    3. myVar=false

    4. doThat()

    in traditional programming doThat() will never execute, becase myVar was set to false on line 3 and doThat is after that.

    But in construct2 everything seems to execute to the end. DoThat will do it's thing.

    Thank you for the examples. I very much appreciate them!

  • blackhornet This actually solves it - without using 'for each'... but it leaves me confused.

    looking at it - it seems illogical to me. It goes against what I've learned in programming.

    Shouldnt setting state to "x" stop all the events bellow that from executing?

    Also I used trigger once before - why didnt that work and this does?

    In what order exactly is the event sheet in C2 executing things?

    Ashley please explain

    lennaert thank you. In your case the solution was to make a manual timer with a new variable

    But it still has an issue - it turns too early. It should turn when it starts walking in the other direction, not when it stops.

    They are both elegant solutions. I will look further into using them. In this case I want to learn from them both

  • lennaert in your example there is no waiting - for the waiting part the enemy must stop moving for 1.5 seconds.

    The waiting part is quite important to me

    Tuiii your example does it, but instead of instances it uses clones. Can it also work with instances inside a family?

    I am looking for a way to be able to do both. Instances and other members of family should have individual behavior.

    Creating another instance of one of the objects results in breakage again.

    So both still dont solve the issue.

    Ashley Have we uncovered a limitation to construct's family system?