vtrix's Recent Forum Activity

  • my initial problem is fixed, the height of the text was somehow hiding my text, and made me think it was behind the object,

  • anyway, this is related to objects that are only available on top level event, well, objects can still be repicked by uid by running it thru a function, at the same event of creation, so i want my setup of my objects to be done all in my creation function

    the function creates an object and a text object, but somehow my text thats created after (eventorder) my object gets behind my object

    so now im looking for a way thru uid picking to set this textobject behind my object, i have both uid's of the objects

    so best way would be pick thisobject.uid , add thistext.uid to the list and set text on top of object

  • De4uman

    problem with that is you have to specify wich objecttype your targetting, so most likely will not work

    does that normally work?, using "&" say you want to pick sprite by uid, can you multiselect instances with the "&" ? , i never used that..

  • if you do a pick by uid the one object, and then pick the other, only one is picked, is this correct?

    i would like to have just two objects picked by uid combined in the selected object list

    the objects are different objecttypes, like one is sprite other is spritefont

    i cant use a filtermethod with variables, because the objects are just created

    anyone can help?

  • Vaann, just an idea, it could be that you need to clear the cache of chrome, the initial serversettings may yet be active,

    about facebook, not sure, maybe its something to do with the https, secure url settings, maybe theres some dev docs about it?

  • not sure what you're trying to do, if you just want the sprite to follow the mouse

    on left mouse down,

    set sprite position to x = mouse.x and y = mouse.y

    using arrays would only be needed if you want to record the mouse movement

  • crossdomain security issue? it would probably work if you take the image from source on your own domain. if you upload your project, you could add a folder with images you want to load, these should work.

    Vaann , is the url of the images thesame a where your project is uploaded?

    edit: there's more on the subject from ajax plugin

    https://www.scirra.com/manual/107/ajax

  • i find this a clear way to reduce per tick checks, system compare tickcount%2 = 0 (check every 2 ticks, will reduce collisionchecks by half !)

    you can go higher, but you need to make sure your object collision still get registered (depends on speed and size of your objects)

    i actually would advise everyone to do this, as a per tick collision check is way to much

  • these functions doesn't exist for indexedDB, you probably can check them tho in javascript console under rescources, , other than that maybe do a feature request

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • the problem is when you stop moving, the angle always return to 0, because there is no difference between box and touch coordinates

    you will need some check to only set angle when you are actualy dragging the box

  • ok it not saved in webstorage,

    you can read more about the options you have, here

    https://www.scirra.com/tutorials/526/how-to-make-savegames

vtrix's avatar

vtrix

Member since 24 Jul, 2011

None one is following vtrix yet!

Connect with vtrix

Trophy Case

  • 13-Year Club
  • Entrepreneur Sold something in the asset store
  • Email Verified

Progress

15/44
How to earn trophies

Blogs