vtrix's Forum Posts

  • you should do > set text to str(Variable1)

    your var is a number and set text expects a string

    also if you use a var, you shouldn't but quotes around it ""

    edit: ow i guess you don't even need the str()

  • when i was on vista i used foobar2000 converter, but then you also need some extra encoders > lame3, neroaacodec, oggenc, can be found online

    then is just imported the converted soundfiles, and everything worked fine,

    ps: should you want them i can but a link up

  • my advice would be, test it in a new project,

    just simple events, on start layout submit score (any number)

    on score submitted .. request.. set text

  • best(easy) way is play by name

    and then

    choose("audio-name","audio-name","...","...")

    so you can leave names as is, and choose will pick random one

  • Maybe the event nr2 doesn't execute at all..

    does the applause01 sound plays?

    is the final_boss "vida" actually 0?

  • BluePhaze i think what you speaking of is called a framebuffer, but when we talk about vram in construct its the uncompressed size of an image, it was that i was pointing to, as it doesn't matter if you stretch an image for vram size, i dont know how much impact this framebuffer has on performance, i guess there's where overdraw comes in.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • BluePhaze

    just was reading this and i think your point about vram usage is not quite right (if i understood you right)

    i quote ashley here (from optimize blog responses about vram)

    "only the source image is kept in memory (what you see in the image editor"

    so this means that a stretched out pixel uses less vram then lets say a 32*x32 black image or transparent image, so stretching it over the screen will not add to vram, but is not advised because your likely to have more overdraw (stacking images) wich i read is slow on mobile and also that transparency overdraw and transparency in general is slower for the gpu than opaque

    also using the same image(sprite) multiple times doesn't increase vram, it is however slower using lots of objects

  • hi, i created a little example, using a boolean variable

    hope it helps

    set weapon active

    example

  • i see, then you have to create a random number and depending on the number , do a create action

    randomnr = 1 > create

    randomnr = 2 > create

    ...

  • it seems that bucket.health <= 0 at the top of your eventsheet destroys the bucket, (the one where you share your app)

    this will make the events stop working at the bottom of your eventsheet

    depending were the eventsheet is when the event fires

    so sometimes it will run, sometimes not

    edit: you can probably fix this just by moving that topevent to the bottom, so it only destroys when all events are finished

  • you can just put the objects in a family and every 5 seconds create a familyobject .. wich would create a random object of that family

  • just a guess, but in the data string u are using variables pass and user

    right now you are just sending "pass" and "user" as a string

    shouldnt it be ".....&username="&username&"&password="&pass

  • can you share the capx where you are, it helps to debug

  • thats the variable i made on the playerobject to save the uid(unique number of that object) of lineofsight object

    "nr" its just a short for "number" but you could name it anyway you like

  • you can just position the ship at the the top, where you want it to stop,

    check the y position, and then make an event, ship.y < 50 set ship.y to 50

    as the ship y position gets lower then 50 (at the top) it will hold on 50