qwiktags's Recent Forum Activity

  • joe

    The plugin sounds quite handy...I'll play around with it and see what I come up with

    Kyatric

    Thanx for the AJAX suggestion

    Ugotsta

    Thanx for the script and input

  • Kyatric

    I suppose AJAX is what I am looking for...since u can effect C2 content from external files and scripts using AJAX would it be possible to call an external script that, for the sake of this hypothetical question, checks the orientation of a mobile device and returns the information back to C2?

  • I really don't have any real specific ideas, but i have had the thought for sometime...is it possible for C2 to make external calls from within the game to a JQuery or JavaScript and have it effect the game?

    Just curious....

  • Thanx...I'll give it a shot

    I also tried moving the random(3)+1 line to block 3 and the result was the same (nothing registers)

    I'll post the capx anyway later today

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Sorry guys. I do apologize for my oversite (it was a wee bit early/late when I made the post)

    Here is the quick and dirty version of what is going on

    (this works just fine)

    global variable = 0

    global variable2 = 0

    System -> every random(5)+2 seconds --> spawner1...spawn sprite

                                                                           set sprite.Y to random (300)+20

                                                                           set global variable2 = 1

                                                                           do more stuff..

    (this part gets glitchy)**

    System -> every random(15)+5 sec --> spawner2 spawn sprite2

                 -> global variable2=1                 system set global variable to random(3)+1 **(this part does not register)

                                                                    set sprite2.Y to random (300)+20 (works fine)

                                                                    ( the remaining code in this block works fine)...

                                                                    system set global variable2 =0

    system -> global variable = 1 --> spwaner3 spawn sprite3

                                                           do stuff

    (nothing happens in this block because there is no value generated for global variable which could be 1,2 or 3)

    I hope this helps, if not I'll post the capx later on today

  • the random(x) event has been a bit quirky...not sure if this a bug or just a random anomaly

    random(x) works in 1 part of my code but doesn't work in another

    when i open a new doc and enter the same code it works fine...is this a problem with the current project or is it just a very "random" glitch

    ???

    i'd rather not create an entirely new project just to clear up 2 lines (albeit vital) of code

  • Thanx. I'll try them both out later today

  • how do i get a sprite to follow the mouse with some sort of lag

    i know this works, but it is very rigid:

    system -> every tick --> set sprite Y to Mouse.Y

    any suggestions on how to get the sprite to lag behind the mouse a bit and when the movement stops the sprite "settles" into position

    ???

  • Kewlbeanz thanx Ize

  • So..."stack" sprites, but where does the sprite stacking occur? In the animation editor or on the game layout?

  • Not sure about desktop, but for mobile devices you can implement a version of the google bookmark bubble to pops up and prompts users to add the page to the homescreen of your mobile device

  • Just curious, is it possible to have a single sprite with multiple collision zones?

qwiktags's avatar

qwiktags

Member since 26 Sep, 2011

None one is following qwiktags yet!

Trophy Case

  • 13-Year Club
  • Email Verified

Progress

14/44
How to earn trophies