jayderyu's Recent Forum Activity

  • > Ahoy ! You forgot to put a range in your script

    > You see , set all the random(1024) to random(0,1024) !

    > Or I'll only spawn in 1024,1024Is that any different from what I said? Not to sound mean, but it's a serious question. :)

    Random require a min value and a max value. So yes it is different than what you said.

    random(0, 1024) will produce a number between 0 and 1023

    random(1024) will produce a number of 1024

    what your saying is set X to random(width), random(height). which will not solve the problem of items being placed in only one location

    random(0, width)

    random(0, height)

    You can also do a "repeat x" loop. So you don't need to create numerous "create tree" actions.

  • Alright so the core of one of my games is coming to the finish point :D

    So I thought I would test it out on Cocoonjs before some serious polish. On IOS 5 ipod touch, Woot fantastic. smooth 55+ fps often at 60fps. Compared to the 15fps in the browser.

    The problem seems to be on Android cocoonjs launcher where the game runs at 0 to 10fps, often has hiccups and at certain points is 0fps. When the game play runs it's usually about 5 to 15. Which is comparable to the android browsers.

    Now it could be cocoonjs, but more than likely i'm doing something wrong and it's causing a problem. Is there anything I could be doing that would cause a major speed problems? This is in light of course that one of the cocoonjs demo on physics runs really really nice.

    CAPX: dl.dropbox.com/u/14087254/currentis.capx

    Cocoonjs export: dl.dropbox.com/u/14087254/currentis.zip

  • If your going this route I would suggest

    Canvas plugin

    Use Spriter/SCML container for onion skinning

    When drawing the character segment the drawing into boxes

  • Families

    Put an invisible box over each player. Have collision boxes at the point of attack areas.

    then check collision on families and use an owner value as to not cause self attacks :D

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • WebStorage local should save your data even with a global rest. However, Session webstorage does not.

  • Thanks for the tip :) Will be of use in a month :)

  • There is a difference between a caproj(project folder, which sums up files in directories) and a CAPX(a zipped single package of the project).

    Dropbox as your using it won't make use of a caproj. Please save as an CAPX. Now I renamed the capx.backup1, but that could be old.

    ok looking over your program. What is wrong with it?

    Also I think your refering to

    "Platform on Floor" which is true when your object is standing on the floor.

    "Platform Landed" is an event triggered upon the platform landing after being in the air.

  • Well yes you can. However you would be needing to manually determine movement controls yourself. You can use on collision and then set your movement back a little so that you can't move on blue or a sensor sprite to just stop moving forward.

    Unless your doing somekind of inversion of colour movement I see this as just complicating your work.

  • oh well. that's just awesome :)

  • So what you're asking for is the ability to use expressions in the objects parameters, rather than having to assign them at run time?

    Yes that sums it up. In some cases it would only be applied naturally on creation of object or start of layout. Other times like gravity on platform or bullets and so on it would be applied per render.

  • I wish sqiddster was wrong. So you might want to think about advertisement or parallel product development to generate interest. Good luck :) Also with more and more bigger companies coming into the mobile market it's also influencing expectations of quality :(

  • After working with C2 for a few months I find that I would love a default variable feature.

    As it is now when you create a new variable either as global/local/object you can only set a basic value(text/number/boolean). The suggestion is to allow for either reference to another variable or even a piece of code.

    I am not saying this a mandatory feature or must have, just an convience to reduce event's. As an example theory of use which I was thinking today.

    var highPoint = (layoutWidth / 2)

    in the moon bullet behaviour

    Moon.Bullet.gravity: (Moon.x < highPoint ? -20 : 20)

    the purpose of this is that even without doing an event the moon will rise when it's left of the layoutwidth and descend when it's on the right. This is just a simple theory sample. But it could lead to some more embeded results for variable.

    alternatively instead of js code, it could be linked to a function

    Moon.Bullet.gravity:

    Sun.Bullet.gravity:

    onFunction("celestialGavity")

    set return value = (Moon.x < highPoint ? -20 : 20)

jayderyu's avatar

jayderyu

Member since 11 Apr, 2012

Twitter
jayderyu has 1 followers

Connect with jayderyu

Trophy Case

  • 12-Year Club
  • Coach One of your tutorials has over 1,000 readers
  • Educator One of your tutorials has over 10,000 readers
  • RTFM Read the fabulous manual
  • Email Verified

Progress

16/44
How to earn trophies