Aphex's Recent Forum Activity

  • http://www.4shared.com/file/140633321/83ef60c7/physics.html

    hey, made this with physics and particle attachement,

    when i made it it gave me alot of ideas so i thought i would share it

    controls are with mouse

    scroll up

    scroll down

    =control power of force , if you scroll down a couple of times it pushes away the particles

    space = create new physic object

    hold leftmouse = add force with extra force when coming close to pointer

    hold rightmouse = add force

  • http://www.4shared.com/file/140630374/9c47cfe3/formation.html

    hey guys, so i wanted to create some kind of squadrons, based on an image with imagepoints

    on creation of the squadron image , 5 ships are send to each of the imagepoints,

    that works, but i have trouble to get the next ships to go to the new squadron

    the picking seems right, but i cant get the imagepoints from the next squadron

    press "a" for creation of squadron

    its now setup (to work) for 2 squadrons

  • ahh it works now

    formation.ImagePointX("pos" & loopindex)

    i was referring to a wrong name of the imagepoint

  • thanx for clearing that up

    and what about this:

    set variable targetx to

    formation.ImagePointX("pos" & loopindex & "x")

    in the text object i seems to say pos5x so thats ok but it doesnt give the value to the targetx var

  • formation.Value('pos1x')

    i need the 1 to change with the loopindex,

    how do i write this?

  • check your game in the debug mode, and check to see if there is not some number goiing crazy in value, global and private , you should always have a reset counter event.

    but i also had crashes with has to do with collision per pixel i think, so i try not to use it, until hopefully a better version arrives

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • no the offset works

    i just tested it by adding a global var 'counter'

    and always add 1 to the counter en put that var in x offset

  • but can you move the background while the player stays in position with this function?

    edit: ow i misunderstood the question i think

  • you could set the playarea to 10 by 10

  • http://www.4shared.com/file/138306311/b ... round.html

    you could do it like this, it uses two background/sprites set next to each other moving at the same x speed - at the end of the screen the first one sets it back to the beginning,

    done it quickly, you could much improve it using vars, you could even use the same sprite i guess, with some picking event

    but just shows the idea

  • home tab - press project button

    you can manage it in the projecttree

    to get a global var, go to system icon - there's the get global var

  • well if its of by only a couple pixels, its likely to be the hotspot of your sprite is not exactly at the centre, so it points a bit more to one side

Aphex's avatar

Aphex

Member since 22 Sep, 2009

None one is following Aphex yet!

Trophy Case

  • 15-Year Club

Progress

15/44
How to earn trophies