lwgames's Recent Forum Activity

  • Well i finally published my first android app, still needs a few updates, but its a good start <img src="{SMILIES_PATH}/icon_razz.gif" alt=":P" title="Razz">

    https://play.google.com/store/apps/deta ... lappynator

    Features:

    • Similar to flappy mechanic, but with better progression and improved gameplay (subjective)
    • ingame custom achievements and custom online leaderboard. Too much work, i ll use google services next time, but its good to have for other platforms which will port to.
    • free to play with ads (mopub+admob)
  • I encounter a few problems with Cocoon js, but at least the performance its ok. Did anyone had any trouble with crashing the app on phone standby?

    I did lots of tests, most of the time if i am in the game and press the button for the phone standby, on reopening/resuming the phone, i get black screen and eventually crash. Sometimes its resumes, but rarely. I will have to do a lot of backtracking, but during this time, anybody has any hints?

    Browser suspended:

    Project Settings:

    Also i use mopub+admob ads in and crittercism analytics from cocoon ext.

    Thanks!

  • the default text input box doesnt work with cocoon js(at least on android), but they have a special function, name cocoon prompt text input you can use.

  • lwgames: Your php code is requiring to md5 hash 3 concatenated elements.

    (The "." is the equivalent of "&" in Construct2 as far as string manipulation goes.)

    In your URL ends that would be "" & MD5(var1 & var2 & key)

    Where "var1", "var2" and "key" are Construct2 variables.

    If this doesn't work, try "" & MD5B(var1 & var2 & key) which is about the same but the output is BASE64 so a "secured"/encrypted URL.

    Here your issue is not with the algorithm but with the PHP I'd say.

    Thanks mate, this helps

  • Hi Kyatric, how can i md5 a ajax Request?

    Example: In C2 i submit some values with Ajax Request "http://game.com/score.php?name="& var1 &"&score="& var2 &"&key="&hash

    in the php file i compare the key and the md5 hash:

    $output_hash = md5($var1 . $var2 . $key); if output_has == $ hash { do something };

    I tried a few examples and tutorials, but i dont get it yet. I am not very savy with this algoritms to encode stuff.

    "" & CBHash.MD5("url") ?

    Thanks

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • nice, thanks!

  • I re installed and updated the laptop, things work much better, still fortunately now i know i need some "code" improvements and you guys helped me a lot. Thank you.

    I am happy that it was me, and not the engine, even if the engine still needs lot of work, with tests i guess i can do whatever i need.

    Now to be clear, there should be a major topic or manual article, where proper usage of events is explained and update(since some structure can destroy your real fps, even if it shows 60), because this engine is advertised like an easy tool, but in reality if you dont have background in scripting(which i have, tho it didnt help this time, i wasnt carefull), you are pretty much screwed on performance.

    For example in examples you see every tick > do something, pretty much everywhere, so a new user will use that without thinking and have surprises later.

    Anyway this helped a lot, and i reached a few other topics that helped too.

    Thanks for your time.

  • From what i read Ashley said layers dont affect performance, of course unless u make a lot of them(unproven). VRAM is at 8mega at the moment.

    Ill do some tests when the laptop is ready since i have on board intel on it but also Geforge 410m so i can switch. On my main i cant test, since its a i7, 3ghz, GTX 260 and 8 giga ram(not high end, but over most of the standard pcs.. so it doesnt help)

  • Aphrodite lots of good feedback, thanks for taking time to help me, learned a few things. I usually use If/Else on php and other scripting languages, but on Construct 2 the events structure tricked me, now i see clearer with ur examples. Thanks, this helps.

    Guizmos, you are right, now i saw that i check for collision all the time with no reason, ill fix, that thanks. Ill check infinite runner, and analyze the tick events.

    Good feedback so far, thanks guys, still doesn't explain why 56 events game, with maybe 10 objects on screen and %5 cpu usage is sluggish on mediocre PCs. But i will investigate more and rewrite it based on feedback and more research.

    I will re install a fresh copy of windows on my laptop, and do more tests, based on your feedback, and improve the version considerably.

    Thanks, and also if others have more insight, let me know.

    I really hope that i am doing something wrong(which i will find out in the next days testing heavily part of the code, on my laptop) and is not the engine...

  • Do the dirt spikes that come at you have a sluggish movement?

    Thanks

  • my bad, i removed the plugins, thanks!

  • Thanks, the thing is that sometimes it shows me 50-60 fps, but those moving spikes that come at you, their movement is so sluggish...

    Also imagine that most of the people have on board cards, those horrible intel gfx. So if the game doesnt perform good on those, these HTML 5 hispter sh*t is useless, since you loose 70% of the players.

lwgames's avatar

lwgames

Member since 26 Nov, 2012

None one is following lwgames yet!

Connect with lwgames

Trophy Case

  • 11-Year Club
  • RTFM Read the fabulous manual
  • Email Verified

Progress

13/44
How to earn trophies