Darklinki's Forum Posts

  • Come on. Sry but could you descripe you problem a bit more ?

    • Where do you place this 6 items on which Layout ? -> Are they global or in high resolution ?
    • Which Layout is slower ? -> Bigger Layout Size ?
    • Which difference is between the Layouts ? -> WebGl Effects, Many Loops, Every Tick Events and so on ?
    • Which Device do you use for your tests ? -> Android(Model) or Iphone(Model), Tablet or Smartphone ?

    We cant help you without more informations, there are so many possibilities.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You could do this manually with LoadImageFromUrl.

    With Webgl this should(In the reallity, never :D) work without problems.

    For me it worked fine to make a custom Loading screen that loads the images by steps.

    Something like:

    LoadImageFromUrl

    * 10

    On Load finished 10th:

    LoadImageFromUrl

    * 10

    ....

    This is much work but it works. With some luck anyone else here got a better idea.

    Hint: With Ejacta and LoadImageFromUrl you can also load images that are already on the phone/tablet.

  • I?m not working with such servers. We got our own image server that manage all pictures and request. We need this cause a small server cant handle 200 request from 500 players at the same time.

    I dont want to say that dropbox and so on has small servers but they are limited and we dont want that Users need more than 5 seconds to load the game.

    And for the ones that say now 5 seconds are nothing, 45 percent of all Players are closing a game after 5-10 seconds loading time. Common Websites

    This is just for normal Websites, it much extremer at Browsergames.

  • I have made this with an array and choose.

    Array: 0:"0", 1:"1", 2:"2"

    than choose on the indexes and delete the picked one.

  • Is it possible to make something like a sprite strip feature ?

    This means, something like adding some sprite(Frames) to 1 image ? Actually construct does this sometimes automaticly, but not often enough.

    In our actual Project we got, because of that 216 requests. And this is for sure to much. Our Image Server already bans me sometimes... If something like this would be possible, I could come down to 30-50% of the actuall requests. The games would also dont load so long for the users. For us this would save 0,5 seconds for every user.

  • For me as a hobby indie developer(I just work 2-3 hours daily after my normal job) I could say, yes they should get more money. Actually I take just 3-5$ per hour :D Extremly low but I can buy coffee from it :D

  • Couldn?t you make a sprite for that ? Would be more comfortable cause you can easily fill it and play with effects and so on.

    Or do I missunderstand something ?

  • The first condition is every time TRUE.

    -> Event | Condition | TRUE

    --> Sub-event | Condition | TRUE

    --> ELSE | FALSE

    -> Else | FALSE

    -> Event | Condition TRUE

    --> Sub-event | Condition

    -> Else FALSE

    "However, to my thinking, the Sub-event is still part of the main Event, so it shouldn't matter, yes/no?"

    It doesn?t matter, here is a example:

    -> Event | Condition | TRUE

    --> Sub-event | Condition | TRUE

    -> Else | FALSE

    So lets say the firstEvent|condition|true makes a true, the sub event get triggered with an false. So the sub event wont work but also the Else will not trigger.

    You need to understand it like:

    -> This Shirt is yellow!

    --> Yes it is yellow and it is also blue !

    ---> ....

    -> No it isn?t yellow

    So the subevent will totaly ignore the else, if it would work it is like:

    -> This Shirt is yellow!

    --> Yes it is yellow and it is also blue !

    ---> ....

    -> No it isn?t yellow but it is yellow and blue

    You see the problem ? :D

  • As sound as you scale yur image also the collisions polygon get scaled. Why should you need something else ?

    But for sure an invis object arround the sprite would be a good idea. You could also make a Plugin for that.

  • Got this one time cause I had a endless loop. Chrome did not get any problems with it but firefox was directly shutting down.

    Press control+shift+esc and watch what your memory and your cpu is doing at the moment you open the game

  • German :D

  • On Collide is an "Event" means as soon as this happens do it once.

    Is Overlaping is just a if(question) means Every tick if "is overlapping" do it.

    The difference is just the first one is a Call and the other one is just a Question :D

    In your situation:

    ->On key Press Z

    ->Is overlapping

    means:

    On key Press Z and if Sprite is overlaping trigger the event

  • Rrr please don?t laugh about my try to explain it you :D I?m really no native speaker.

    If you make something like:

    On collide

    -AND-

    On key press

    They cant exactly trigger at the same time, this is the problem.

    "On" are "real" Events, they really trigger only once as soon as you tell it them.

    "None Real" Events are something like:

    ->System compare 1 = 1

    This get handled like: Every Tick "if value 1 = 1". in c2 it was just made easier.

    Every tick is also a "real" Event the only difference between "on" is that this event get called every Tick not at the moment you tell it him.

    If you know how Javascript(This is the language on that C2 is based) works it would be easy to explain it to you.

    You only really need to know that On is a call and not a condition.

    Hope it helps you a bit, if not just wait till any native speaker got time to explain it to you :D

  • Yeah Guys, do you know a way to get the device dpi ? Need it for some calculations.

    Tank you, found nothing in the manual ;)

  • Hard too descripe for me cause I?m no native english speaker. So I just tell you how to fix it:

    + Keyboard: On Z Pressed

    ++ subevent Sprite is overlapping Sprite

    --> Do something

    It is cause this are 2 "On" Events.