Narayana's Recent Forum Activity

  • I want to make a lens that show "hidden" sprites, but that still show the background when the lens isnt on top of a ghost sprite.

    I tried playing around with Destination in and Destination out on the sprites and the lens, but it changes colors strangely, and in some cases the lens doesnt show the background at all (but shows the ghost very clearly)

    It feels easy in my head, but i must be missing something. Any hints?

  • Thats what i have done, just to keep things simple i always use a lot of groups so i can shut off basicly all code i dont work with at any time.

    But when having to work in several groups simultaneously, finding vital nested events while scrolling can sometimes be a bit time consuming ^^; Or am i just missing something that keeps things more clear in the view? Having to open the groups and subgroups to get to the event im after can be just as time-consuming if the event is deeply hidden.

    Having a nested nested group being able to color red / green / blue or whatever would save a ton of time for me, but i realize it might not be of very major interest to the game creator community as a whole so other more vital updates should take priority ^^

    I just figured if it was easy to implement, i would love it dearly.

  • Its not really a gamebreaking function, and maybe im the only one around that sort of sucks at keeping check on where some certain events are when im looking around in nested groups when making complex games and programs ^__^;

    But it would be immensely helpful if i could assign colors to an event-tree/entire group/single comments, so while scrolling in the list of events i would react and stop at a red event-tree, knowing that its the events containing combat, while if i continue scrolling i get to the green events which contains movement.

    Or something like that. It would help a lot just to keep things ordered and to see what events are related to what part of the program.

  • Basicly i have trouble testing my game on some touchscreen phones, because sometimes only using "on clicked" it doesnt react at all.

    Made a small program to simulate the problem.

    Button 1 works the best overall, Button 2 and 3 has the animation react while previewed in browser on the computer but doesnt activate the actions.

    On my android phones browser, button 1 reacts but not the others. Also all buttons animations gets locked in the pushed frame, and doesnt "un-push" until i press another button. Even tho they react, no actions activate.

    dl.dropbox.com/u/15195355/touchtest.capx

    Its not really a problem, if it wasnt for the fact that sometimes on various phones and such (I think all iPhones / iPads for example are covered) not even button 1 reacts. Im not really sure if there is something im missing, but i feel a bit stupid being stumped by this.

    Any help given will be appreciated with hugs!~

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Im basicly a numbnut, because i was able to solve it myself with the nickname plugin (http://www.scirra.com/forum/topic57943_page1.html) and actually having pre-defined nicknames to each sprite. I was thinking backwards with assigning new nicknames to things in families and then always summon that assigned nickname. Why i was locked in that thought i dont know.

    When i actually thought about the fact that i can just have all the objects or characters already nicknamed, and just summon the name of the global variable that happens to save the last clicked object, i wanted to kick myself in the nuts for thinking about this for more or less 2 days. Mostly in my head tho as i have been extremely busy.

    dl.dropbox.com/u/15195355/chosenone.capx

    The solution was so easy... if there is a solution to this without using nickname im eager to learn what i missed. Its probably equally easy.

  • Maybe im trying to use the families in a wrong way, but sometimes it works as i want to and sometimes it doesnt when using families.

    "For each 'family1'" for example, does it only test the objects of the family that is out in the playing field? Maybe i have been thinking about it the wrong way, because i just assumed it tested all family objects, including ones not in the layout.

  • Well that is fine for the sprite part, and for this particular example i think i can make great use of it to thanks ^__^

    However, i sort of wanted to use it in in a more broad perspective later on, like really extracting the info from the pre-chosen character in several ways except from just the sprite ^^;

    If i do it that way, it wont inherit the correct values from the chosen object :/ I tried using a "For each Family.characters" and then added the condition if Chosen == true then spawn. But for some reason nothing came out in to the playfield.

  • If it was that easy it would be nice, but the list of characters extends quite a bit, so if what i mentioned isnt possible, then i'll just have to do some extreme if-else-ing ^^;;

  • I read around a while on the forums but could not find what i was looking for, if its already out there im sorry.

    Basicly i have a family of character-sprites that i can click on to choose to get various information from that gets stored in global variables. Then i have a confirm button that locks the variables and goes to the next layout.

    But then i want to be able to spawn that already chosen characters sprite again without having to make an event saying

    "

    If ChosenCharacter == 1 then spawn spriteA.png

    If ChosenCharacter == 2 then spawn spriteB.png

    If ChosenCharacter == 3 then spawn spriteC.png

    If ChosenCharacter == 4 then spawn spriteD.png

    ...

    "

    So what im wondering is if there's a way to make something in terms of

    "

    Spawn the family-object that has family-variable 'chosen == true'

    "

    Since i can for example easily make that change to the last object i clicked on earlier, but i cant really think of a way to extract the information in a spawn-object event that targets a family.

    No matter how i try to go around it, it spawns a random object from the family. Any hints are appreciated.

Narayana's avatar

Narayana

Member since 26 Oct, 2012

None one is following Narayana yet!

Trophy Case

  • 12-Year Club
  • Email Verified

Progress

13/44
How to earn trophies