Aureus's Recent Forum Activity

  • Thank you!

  • There is a way to fill a combobox with the content of an array?

  • Interesting. Thanks!

  • http://www.squidi.net/three/index.php

    This site is very inspiring!

  • Thank, it is very interesting!

  • >

    > >

    > >

    > > Hope that helps

    > >

    > Yes. Thank you!

    >

    > One more question:

    >

    > If in case B, there are not two Sprite different, but two instances of same Sprite, how to flash ONLY the one at +100X form the other?

    >

    > <img src="http://i39.tinypic.com/9krzit.png">

    >

    I cold think of a few ways, but here's one using the family picking trick:

    http://dl.dropbox.com/u/529356/TempPics/greenflash.cap

    v0.99.84

    The green sprites are in the Green family, which is then used to distinguish between instances of the same object. Any questions feel free to ask.

    Thank you, it is perfect!

  • Hope that helps

    Yes. Thank you!

    One more question:

    If in case B, there are not two Sprite different, but two instances of same Sprite, how to flash ONLY the one at +100X form the other?

    <img src="http://i39.tinypic.com/9krzit.png">

  • Hi,

    I came from game maker, so I have some questions in order to traslate my skills in Construct.

    How you traslate this?

    a) when a obj_a is create, it create a obj_b in obj_a.x and obj_a.y

    obj_a:
    	Create Event:
    		instance_create(x,y,obj_b)
    [/code:chdj1vjy]
    b) look if there are a obj_c at 40 X pixel from me, if yes, change variable in obj_c
    [code:chdj1vjy]
    obj=instance_position(x+40,y,obj_c)
    if obj != noone
     {
    with(obj) 
        {
         name = "Olaf"
         }
     }
    [/code:chdj1vjy]
    c) obj_a pick obj_b and compare private variable
    [code:chdj1vjy]
    obj_a
         create event:
                    color = choose("red","blue","green")
    	step event:
    		P_08 = instance_position(x,y-altezza,b_obj)
             if P_08 != noone
              {
    		if (P_08.color = color)
    			{
      			...
    			}	
              }
    [/code:chdj1vjy]
  • Not sure I followed that exactly, but here is a nice tutorial about putting multiple graphics into one object

    Subscribe to Construct videos now

    Interesting!

    I'm trying to build a level with same idea but automatically through a ini file.

  • Are you trying to load different images to the same sprite frame?

    If you want multiple instances with different images you have to add multiple frames to the specific sprite, then change to a different frame when loading.

    Just setting a private variable wont help unless you do something like compare private variable-> set frame

    BTW sprite has a function for this already "Load animation frame from file".

    Good idea!

    I try it and I have found a Construct BUG!

    <img src="http://i43.tinypic.com/16axzy8.jpg">

    If you go to debug mode, press enter and after space, Construct crash!

    the critical code is:

    AppPath+"\Livello_1\oggetti\"+oggetto_generico.Value('nome')+"_SP.png"

    cap file:

    http://hotfile.com/dl/32002914/aa27e1b/BUG.rar.html

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • If I remember correctly, ImageManipulator doesn't behave nicely with Start on Layout.

    Try Trigger Once instead of start Layout; that way the layout will load first, creating sprites, then the ImageManipulator will load images into sprite objects.

    Let me know if it works!

    Don't work.

    I try even with key_press event in ordert to avoid interference between Layout and ImageManipulator, but don't work.

    It look so http://i48.tinypic.com/152dlkn.jpg whit "start Layout" or "Trigger Once" or "key_press".

Aureus's avatar

Aureus

Member since 8 Mar, 2010

None one is following Aureus yet!

Trophy Case

  • 14-Year Club
  • Email Verified

Progress

15/44
How to earn trophies