jayderyu's Forum Posts

  • Physics is Box2D and is not part of the C2 internal systems. Box2D has it's own timestep system.

  • TheWyrm

    True. Everythign should be cleared and maybe it is. However if your progressivly getting slower then you have a leak. Turn off the effect and see if the game continues to get slower per layout change.

    Also Effects are shaders in the GPU try making sure the effect is disabled between on layout swaps.I'm not 100% saying this s the problem. I offering possibilities based on what little contextual information provided. Try them if that's not the problem then time to look elsewhere.

  • To elaborate some effects on Mobile are very costly. Also if it's getting slower and slower per layout change is it possible that you also might be stacking the effect too?

  • Fimbul has very good points that I agree with. I would love the ability to fully create IDE windows to create all sorts of tools that Ashley won't. I would also love to be abel to create new objects into C2 base system. Currently it has Number, Text, bool, but I would also love to be able to embed others into the system. there really is a lot. I just personally feel Modularity and asset store the last major foundation elements C2 needs.

    but anyways. there are good suggestions here including more enhancements to the IDE. and rho C2 already had large IDE imrovements a few months ago. But more is always welcome.

  • Ashley

    Tototally right. However ScaleX and ScaleY based on the original image size is doable and does make sense. There are other points of view than the idea of a single ScaleAsBoth values.

  • The best way for modularity to work is for CAPX to be packed into forms that reflect Plugins and Behaviours. Importing exporting isn't ideal as large changes and updates to CAPX as libs.

    The CAPX would have Functions and Variabls that could be hidden or exposed. Maybe "global" would be accessible for the object and sub vars hidden. Root functions could be Object associated while group sub functions are private.

    However I'm only speculating that r200 is modularity. But all the other major points on the road map are released. The asset store is on the way. r200 is a major mile stone that's coming on us soon. C2 would require architect changes. Starting at r175 is a good time for this.

  • Actually the best way to do Buttons is call backs.

    Button.callback text variable

    Button.param text

    OnTouch/MouseDown... on Button

    --Function.Call( Button.callback, Button.param)

    then on your ES you only need to create OnFunction("callback string whatever")

    In fact i've built a GameFrameWork that does this to the Nth degree and I almost do nothing with GUI button.

  • Depends on what your aiming for.

    JS v8 and all of the JIT have gotten pretty good. You could say unlimited. However there is a far better answer and a different way to look at the "how many globals is too many".

    The answer is.

    "Any more than what disrupts development, readibility and good development practices."

    After a certain point you will need to keep better track of these globals where you don't need to. Sounds easy. is easy. but it's still over all lost time.

    My personal global count max is 5.

    I keep variables in Groups to object them. Groups always define an ES.

    I also keep Dictionaries which store globals as an instance variable as Dictionaries are Global by nature.

    When I use a true global it's development value. Such as

    DebugLog string global. One where I will pop out a value to debug screen without the console window.

    as for storing player info such as best time.

    Dictionary.Add("BestTime_" & layoutname, timevariable)

    and there you go. 1 global dictionary. stores thousands of levels(no need for global vars). And best of all you can also do. WebStorage.Add( "BestTimeSave", Dictionay.asJson ). To save all the data for later. Then use

    Dictionary.FromJson( WebStoage.Get( "BestTimeSave"). boom smiple. only a few peice of code lines. and now you can support thousands of levels in only a few lines on a single ES.

  • yep. you can't just have a singular scale value.

    How Unity handles scale and it's fine here. Scale is the %0.0-1.0 value and has scale for X/Y and Z of such. The scale assumes the original image dimensions. I'm ok with there being scaleX and scaleY based off of the image dimensions though.

  • While I agree with Arima that the big reason the hold off is due to the holidays. I think r200 is going to be some form modularity.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • uhh. Depends on what sync level your setting your value and rate at.

    8 bit's of information is 0 to 255 and is often INT in nature(ie no decimal value)

    16 bit is apx 65k and can also handle decimle.

    If your using on the lesser data values/rates at 8 bit. then that's what will happen. SI u;n guessing your using

    So i'm guesing your using Low(int, 2bytes).

    first it's an INT. No decimals.

    I'm als going to assume that C2 use of 2bytes is -255 to 255 rather than 0 to 255 for 1byte.

  • Vote up for right tool for the job. While my job is programming with Unity for a 2D game. I keep hitting area after area where C2 does 2D much better. But there are other areas that Unity does so well.

    Ultimatly Unity is more popular because it's traditional programming in a flexible environment with a very well designed IDE integrated engine.

    What keeps everything going so well is that Unity allows developers to make IDE tools and an integrated Asset store that importants new assets right into the game(ie no copy/paste into a folder, no restarts). And there are a lot of small other stuff.

  • It's estabished that CJS does not have WebRTC. Use FireFox Aurora builds or Chrome Android.

  • Two things to note

    The front page of Scirra lists what platforms C2 can effectivly run on.

    Two. C2 is again a HTML5 engine that requires some form of HTML5/JS engine. not just HTML5 rendering, but the full kitten kaboodle of basic JS(more important) featuers. So the question to you is. Is there a wrapper/browser platform for PS Mobile/Vita.

  • Well I'm a Unity programmer that does a lot of 2D work. I can honestly say that Unity is a fantastic game dev kit. But It's not that good at 2D. It's a shoe horned 3D system into a 2d. So Unity shouldn't even be on the list for 2D game engines. Since it is Unity should be lower in a good judging of tools. Much lower.

    I have Fusion, but never used the tools. I got it on the humble bundle deal for super cheap. But Fusion didn't seem as good. But I won't judge it. But between Unity and C2. Unity 2D should be under C2 for 2D.

    Oh well. this isn't a comparision of what's better, but what's more popular.