Ribis's Recent Forum Activity

  • Yeah, that puzzled me. It works perfectly for the first layout, but then it just donks up in the second.

    this should works!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I would like to share my experiences how I worked a lot of mobile games for my customers also it has do to with HTML5 frameworks and Construct 2 IDE, you may consider this as my personal verdict:

    • It’s slower than native code by about 70%
    • It’s slower than x86 C/C++ by about 50%
    • The most viable method for it to get faster is by using the hardware to desktop level performance. It could be viable long-term, but it’s looking like a pretty long wait.
    • Garbage collection for mobile is WORSE. Actually, it's really way worse than it is in desktop level.
    • The language itself doesn’t seem to be getting faster these days, and people who are working on it are saying that with the current language and APIs, it will never be as fast as native code.
    • Every competent mobile developer would waste a great time thinking about the memory performance of the target device.
    • asm.js may be another solution, but if they win you will be using native language or similar old language as a frontend, more than something high level like JavaScript.
    • Javascript is too slow for mobile app use in 2013. If we get new devices were built in 2014, it may be better but Javascript looks "faster as native" in 2020.

    I believe we should develop the games for desktop, if you want to develop big games for mobile, please forget it and try to find another native language could work with your big game design.

    you are right, but construct2 or similar software use programming by "event"...

    and it is normal the low performance of the game, but depends how the person "program" de logic of the game.... the best method is to program by native script, but take a lot of time to make a simple game....

    and depends what do you mean with a "big game"... 3d game? big map? a lot of object?

    I think the problem is the method to export the game... we not have a perfect exporter for the mobile... but we have the third party and they also have some bugs....you can make a great game with construct2, the new flappy bird or the new game of the year, but if the export doesn't work very well, you will have everytime different problems... you don't have a perfect control like construct2...

  • I have searched the forums for over a day with just dead ends, I have half way got my game to post scores on the Facebook version which is by no means a easy task with a tutorial from 2011! But I searched this forum the German and French and even the Russian C2 forums using Google translate and still did not find a viable easy answer to the most common question about Facebook "How do I post scores" the Facebook game its self is doable but very complicated I had 3 pages tell me different things, but after like 2 days I got some progress. The mobile version how ever won't even login correctly with either one of the Facebook plugins, and Clay.io is far from perfect it has a lot of issues too. We have Multi Player now wooohoo how well is that working, I'm sure that will complicate the Facebook scoring system even further, how about some updates on Facebook tutorials that are 3 years old or fix the plugins that have not worked correctly since they came out, or even better hows about Google Games Services, which when it does come out probably be forever before it works.

    I have seen so many people ask about Facebook on this forum with out even getting a reply, is that because no one knows, or the ones that do don't want to share there secret? I'm not asking for a capx, but a current and updated tutorial would be sufficient for the community. I have a game on Google play store that people really want to post the scores, I really need full Facebook options for them. I keep stalling with excuses but the uninstalls are becoming more frequent. I am almost ready to give up on this program mainly for the lack of support by Scirra, the community on the other hand is very supportive. Ugh, and Its a good thing I copied most of that cause the website made me relog in... again.. If the web page login is hard to get to work correctly I imagine a Facebook login would be even more so.

    And if someone finds the answers and corrects me I'll gladly Edit this post. Just so dang frustrated.

    I wrote some posts and topic about that (maybe you can see on my profile or just search) if the app run of the facebook website...

    I suggest to study php,java and mysql, because it's easy to implement on construct2, and in mobile too.

    you need to know how is working facebook app on android or iphone, just find some documentation...(the facebook website has some documentation) I never try to run some function of facebook on mobile, but just if the app run on my website, with facebook... I made some script in php and I made the database to save the savegame or score for every user....

    for example, for my app I don't use the facebook plugin, but I load all data of user (picture, url, UID...everything) from a php file, and construct just read and send the variable with AJAX on my database. maybe you can do this on mobile (I didn't try, maybe is working different, but I think it's possible)

    this forum is not the best way to talking about that, because maybe you will talking about php, java, mysql(if you like to save a variable for a user on facebook...)

    maybe I will try to make something with cocoonJS and I will open a topic... now I'm a little bit busy, but I like so much to talking about this argument

  • You do not have permission to view this post

  • I think this is very important...

    You should contact Ludei about that...

    I repeat everytime, I don't understand why developers of software don't care so much about "how make money from ads without problem"... I know cocoonJS is the best platform to publish on iOS, but they doesn't care if the plugin for construct2 need to update (like facebook or something) or if the plugin is old and make some problem...

    Ashley, I think construct2 is the best software to make application in html5, and I think in the near future the new phone will support perfectly the html5 without lag... if construct2 make a easy and good plugin with some company to insert the ADS and add like a subscription a year to use the plugin of construct2 (to maintain the plugin) will be very powerful for everybody...

    a lot of topics are about "how make money with ads..." etc...

    Make games is a hobby for the most of people who use construct2, because who make a "serious" games use different software (more time... no hobby) for my first time, I think construct2 is a powerful software to make a "serious" game...

    I tried another software to make game (corona...etc) and you need so much time to study and make something, with construct2 you need a short time and the performance is incredible... (I try to make a games with lua code, easy but very difficult in some cases...)

    sorry for the off topic, but I think is important... it's good the feature of multiplayer (I love it) but some plugins (like insert ads easly to make money or other to improve the costumers to make money from the app of contruct2) can get a good possibility to make a "job" in this case... and I think everybody who bought a construct2, if we have the possibility to insert a special plugin to insert ads and get a real money would take a subscription to get a "perfect" plugin... I prefer pay and get something working very well (I know, this is about the plugin, construct2 actually is perferct for me)

    is frustrating read topic about the app when something doesn't work because some script need to update or need to make a new one...

  • Also with self. i can only use the things like:

    Angle

    AnimationFrame Etc..

    There is no way i can use my instance variable

    I use this method with my games...

    try this capx

  • Thanks for your reply!

    Actually i use the same object for different images.

    I think i can make myself more clear now.

    I got a object with all different frames ( not animations my bad there! )

    I made this image to make it a little more clear.

    As shown in the picture i got only one object with all levels as frames.

    I place the object multiple times in my layout.

    Now, on start of layout it has to use its instance variable "levelid" to know what frame it would show.

    But also as you can see, with the "Set Frame" action i can't use "levelid" as refference.

    Any idea how to do this idea?

    Thanks again!

    you should use the name of sprite to reference the correct variable.... in your screenshot you try to set the frame with a global variable

    use self.levelid

  • Ok, i'm opening this topic because I need some help to "design" the loading of some sprite...

    I'm making a platform in 2d for iphone5s... is working fine everything, the problem start when I have a lot of object on the layout (like 100)...

    the most of my object are with these behavior:sine, solid, bullet, fade...etc....

    and I make the platform with the tilemap...

    now, I start to make some level, and when I make a hard level (with a lot of trap) the iphone is going to 35 fps... now, 35 fps isn't bad, but it's annoying and is more difficult to make some level with more object...

    now, I'm thinking to use the event sheet to spawn the object when the player.X is > than someX of the layout, but this means, make a lot of event, because for every object I need to specify like 20 variable, and if I need to change some object will be frustrating and very hard...(bad method to design a level) but it's good because I can show only 20 object If I need it, I means, if the all level have 200 object, I can spawn a specific object when I want.

    now, someone know another method? if I set the object Invisible the fps will be lagging, If I disable the behavior if the player is far from the object will not work too...

    the first method it's the best system maybe?

    Thank you all

  • Any idea what would cause the NAN value ?

    NaN is when you try to load some variable (a number) and on variable isn't a number...

    it's easy to fix it

    post your capx for sure

  • thats odd for only 4 objects, you're sure its the sinebehavior? no lag if you completly remove the behavior?

    anyway hard to tell whats causing that..

    yes, is for the sine behavior... it's strange but cooconJS works better if you disable the webGL...

  • Well, I guess I was to quick. it works fine on my PC's browser. On my iphone it's showing "NaN"

    Any idea whats the reason behind that ?

    is "Nan" because on start layout I declare the variable with no value, if you click reset and try to add or sub the value will work fine

  • Ribis

    if you should want collisionchecking on same object

    you can put the one object in a family and then check between the family and the object

    or use system pick nth instance in a subevent (collision filters 2 instances)

    sytem pick instance 0: do something

    system pick instance 1: do something

    and probably also by variable or uid, ..

    yes, this is a good idea to check the collision...

    but for now, the collisionchecking doesn't make any lag in my game, just the Sine behavior make a lag (just for 4 object) when I try on cooconJS with webGL on...

Ribis's avatar

Ribis

Member since 22 Oct, 2012

None one is following Ribis yet!

Trophy Case

  • 12-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

16/44
How to earn trophies