gazoogle's Forum Posts

  • Condition: click on button -> Action: Copy all of 8x8 array1 to 8x8 array2 .

    All the same values in all the same spots. Thanks for any help.

  • Things seem pretty much back to normal with Chrome 33, thank you Arima and TiAm.

  • Loaded up a (physics) project today that I last loaded back around the start of January, and it is much slower. Major frame rate drop. Then for the heck of it I through together a platform game with 1 obstacle and 2 collectibles, a platform, a player and 3 background objects. I'm getting about 7 FPS on chrome with WebGL on. If I turn it off WebGL, things are somewhat back to normal, about 50 FPS. I'm running XP, latest chrome, latest drivers for my Nvidia card, Pentium 4, 3.2 GHZ single core. I tried both aps in Firefox and both run slightly better than in Chrome, but not much better, not acceptably better anyway.

    The more I think about this, the more I'm sure it's something to do with my PC, and not Construct2 itself. Any suggestions?

  • OK. This is great feedback so far. It seems the for loop is not a good structure for what I want to do. Does anyone have a suggestion how I could create these sequences of actions then pause for the player to respond?

    I generally use global variables as flags.

    flag = 0 > whatever action you want and set flag to 1

    flag = 1 > next action

  • You can save to webstorage with the CSV plug-in.

    After changing the data in this table, you may want save it into webstorage.

    Expression: CSV.TableToString

  • Does this plug in help?

    Rex CSV plug in

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I really don't want to talk you out of buying it, but you could probably do that by just using animation frames.

  • I would suggest the ease tween plugin (actually, its a behavior). On the collision, spawn your score sprite(which would have the ease tween behavior), and then ease tween would let you send it the direction you want and destroy it at a set time.

    Sorry about all the edits, you would also generally get faster help if you post these questions in the "how to" forum.

    http://www.scirra.com/forum/behavior-easetween_topic53288.html

  • Another I like is ASEPRITE

  • Just off the top of my head, you could spawn an invisible line from your character downwards and see if it intersects floor. Or you could check the specific x,y of where you want the object to spawn, and see if there is floor there.

  • I'm not sure if this is want you are looking for

    http://dl.dropbox.com/u/78512412/betweenexp.capx

    The blue sprites have drag and drop, if you move them close enough to the yellow, the yellow is destroyed.

  • Sounds like this part of the manual will help:

    System Condition - Trigger Once While True

    "Turn an ordinary event (which is tested every tick) in to a trigger. For example, if an event plays a sound when lives equals 0, normally this event runs every tick. This plays about 60 sounds a second and would sound pretty bad. Adding Trigger once while true after the other conditions makes the event run just once when it first becomes true. This makes the previous example only play a sound once the first time your lives reaches 0. It must be the last condition in an event."

    Alternately you could what you could do is have a 2nd event right after the event that creates the object (in the same condition that creates the object) that immediately resets the variable to a number that does not create any object

    Variable - 1 through 4 create something, then set it to 5...

  • They're not in the manual yet. You add them as a plug in on your layout. You can set them up in the event sheet as an event, and then add the actions you want them to perform. They can also be used as actions in the event sheet.

  • Thanks for those examples. This is now solved in a couple of ways!