Ragevortex's Recent Forum Activity

  • C2 community in general and Ashley

    I'm writing this post because I feel the need to find a way to speed text display in C2... not just for games but for other aspects C2 is fully capable of. I came across an issue with text, which is very well documented in C2, dislaying text takes a huge toll on performance(especially on mobile). However some times we need to do just that and I'm looking for possible solutions that may be integrated. I'm just doing my research to find a head and tail to this issue and I came across several articles proposing alternative solutions. I do realize most of these are just people experimenting and finding work-arounds.

    I'm certain since Ashley is fully versed in all the aspects of C2 he probably has either red most of this or at least considered some. Just in case I'm wrong I'll post the links more as a resource of information more than anything. I am one to think that the community is more than capable of compiling useful tidbits of information and getting it back to the developers so together we can get the product from its current awesomeness to higher levels of power... I hope at least some of this information is useful.

    Some links:

    6 Performance tips for Canvas

    Canvas performance analisis

    Performance optimization

    Horribly large ammunt of resullts from google searching about the canvas text performance issue

    This said C2 is more than adequate in displaying small amounts of text... which are non/issue for most apps/games and in local desktop browsers. The point to this is to see a possible alternative for mobile or less than capable small format computers or other uses in which you need to display larger amounts of text which take much more out of the performance bucket than intended.

    If anyone has another link, solution or comment please feel free to add to this post. Happy hunting and gaming people

  • I did several things like that. I put all my css in a variable for referencing later and when needed I dump a css file or code in the main html that I can use manually... they both seem to work for me so far although I rather not mess with it much because I am known for forgetting where I put things . So far what I've been doing works albeit much slower than expected,

  • jayderyu I see... I'm not using it for gaming either... I'm trying to figure out a decent way to make a long menu for an app(not a game) that would translate well in mobile hopefully w/o slowing it down to a crawl... so far I've not been successful on that attempt... most of my menus are usually short but in this case I have to make one that much much longer. Ironically what I've been able to make moves awesome on chrome(desktop) ... not so much on crosswalk(mobile). All part of the experimentation process I guess. I did like that I can change the css on the list view w/o much fuzz... personally I'd much rather be able to type in my whole css rather than go one line at a time.

  • I'm posting this strictly out of curiosity...

    The List control seems to be a very useful tool in C2 and I'd like to know how much.

    What creative implementations have you been able to make using this tool in C2 either for games or applications?

    Also I'd like to know if you've used it on mobile and your experience so far. I'm currently developing for mobile and I'd like to know as much as I can about the tools thar translate well to that platform.

    Again, I'm posting this strictly to feed my curiosity and maybe learn a trick or two in the process. Please feel free to share.

  • Cool! It Seems ok now. Thanx. I'll try it out and let you know if anything else arises.

  • Oh well.. it gave me this error : I'm using the latest beta release of C2. I guess I'll try a little later and see if there's a change.

    ---------------------------

    Construct 2 Check failure

    ---------------------------

    Check failure! This is probably a bug:

    Plugin of non-world type specified 'rotatable'

    Condition: !(plugin_type == era::pt_objecttype && rotatable)

    File: Projects\ObjectType.cpp

    Line: 37

    Function: __cdecl ObjectType::ObjectType(class Project &,class ObjectFolder &,class Plugin *,const class std::basic_string<wchar_t,struct std::char_traits<wchar_t>,class std::allocator<wchar_t> > &,unsigned __int64)

    Build: release 175 (64-bit) checked

    Component: Construct 2 IDE

    (Last Win32 error: 0)

    You are using a 'checked' release of Construct 2, intended for testing, which causes certain errors to be reported this way. Hit Ctrl+C to copy this messagebox - it's useful information for the developers, so please include it with any bug reports! Click 'Abort' to quit (unsaved data will be lost!),'Retry' to turn off messages for this session and continue, or 'Ignore' to continue normally.

    ---------------------------

    Abort Retry Ignore

    ---------------------------

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • neat.. I'll give it a try with my current project... Ill let you know how it works for me

    Cheers!

  • Hey Pode for some reason the div part of the html pack is not "scrolling" when exported to mobile. It works fine on chrome but when exported it just doesn't do it.(that's my case I don't know if anyone else has the same problem)

  • this is what I use... seems to work fine for me.

    margin:0; padding:0;border:none;

    no spaces no <style>tags no nothing... just that in the iframes style settings. good luck! nutcase84

  • looking preety nifty so far.. .I was lookign into something like this a long while ago... glad someone is working on it.

    Cheers!

  • Update.

    I was forced to make another capx (clean only what s needed) and export it as html5 and load it into a server with the needed php files

    Using the iFrame plugin I call that in my mobile aplication. and Take the picture.

    The php does its work and it sends the picture to the corresponding email.

    it takes a while from taking the picture and processing it and the application seems frozen (its not) on the end it just works.

    (when published with crosswalk)

    However when accesing the android camera I'm having a slight issue since the colors values are inverted for some reason I have not yet been able to fathom.

    If anyone has any idea on that particular detail I'd be really happy to hear it. Ashley

    Here's an example of the ressults:

  • septeven its cool... I figured as much. Thanx for the quick reply...

    one more question ... I know yer busy and all I was wondering if eventually there could be a div option besides the iframe option...

    I'm working on a swipe menu using your cool tool however when iframes are "moved outside of view" c2 has this tendency to shrink the contents which ends up having an interesting effect on the menu... I'm including a sample image to show the "effect"

    let me know if anything.

    Thank's again for the quick reply mon.

Ragevortex's avatar

Ragevortex

Member since 2 Mar, 2012

Twitter
Ragevortex has 1 followers

Connect with Ragevortex

Trophy Case

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

Progress

15/44
How to earn trophies