j0schi's Recent Forum Activity

  • Mostly i have internet, so thats no problem, i read somewhere that you need to connect every 7 days or so which is fine... thing is how i use constrcut it is quite pricy for me... Most likely i will never make any real moneys from my games, so i do it mostly for fun, and 1 or 2 month a jear (when i have time for it besides of my main job). I would happily subscribe if i could switch the subscription on / off on a monthly basis (as i can with every other subscription i have) problem is nowdays, everything is subscription based, so you really have to keep an eye on it... Jea construct alone is not much and it might be fairly priced, but so are the 6 other services i use and bam, you pay 300$ a month worth of subscriptions... (Sorry for offtopic)

    I will take another look at the free version of 3 and just programm a little bit in it to see if i can get used to the interface... i might switch, or give up making games hahaha :D

    Thanks again for pointing me in the right direction

  • Hey dop2000

    In Construct 3 you can create objects by name.

    Finally a valid reason for me to switch to construct 3 :D I might have to do so soon... Basically i just wait for the offline version to be more polished, not a big fan of the new version yet...

    So, for example you put Leg.AsJSON into the array. Then when needed you create Leg sprite and do "Leg Set from JSON".

    i have already experimentred with this, it makes a lot more sense then savong all the variables seperatly...

    Also, take a look at Spriter addon

    i have to take a closer look at this, never knew you could use those directly... but i think it wont help me with this particular project...

    For now i will rethink the whole process, maybe i find another viable solution :)

    Thanks again dop2000, i appreciate it!

  • Thats a hard to answer question, without seeing your code.

    normaly if you you da something like

    Sprite1 on collision with Sprite2 {Sprite2 destroy}

    it should only destroy the Sprites involved in the process as they are picked by construct with the on collision condition

  • Hey folks :)

    So i have designed an enemy, which consists of a lot of different parts working in a particular way together. The only way to do this economcly was in the layout editor. Everything is fine so far, so now i want to save this whole anemy to an array to recreate it later on without using another layout or resetting ths layout.

    what i want to do now, is to set a 4th value, of which object type to spawn actually spawn. in other words pick the right sprite for the job. Is there some kind of system expreassion to save the actual object type, or do i have to write an "tranlator" ala

    if id = 1 pick sprite1, if id = 2 pick sprite2 [...]

    as there are many parts it seems kind of unflexible. also because of the nature of this i cant just work with one sprite (and then just set the animation frame) as i have to build the whole enemy in the normal layout editor by hand. Is there any good way to do this? Do i miss something or is it not possible to save an object type to an array?

    Kind regards

    Joschi

  • dop2000 you are the best! I am working for such a long time now with construct 2 and still learning! :D Problem is, i mostly have 1 month a year to make games (its just an hobby, i whish it would be more) this works like a charm, i am pretty sure i can modify this for my game :)

    Thank you very much!

  • newt, sorry, that doesnt make much sense to me... could you elaborate?

    I tryed everything putting the same object in 2 familys, but it just wont work the way i inted it to do... objects are pinned all to one or not at all even if i comapare ID`s

    in general its really simple what i want to do, basically

    IF endgegnerpart1 IS OVERLPPING endgegnerpart2 AND endgegnerpart1.id = endgegnerpart2.id2 -1

    sounds simple right? I dont get it why this just wont work...

  • SQL would be the correct beginning. With PHP as an "translator"

    Another way to archive this is to integrate multiplayer. You could programm a "server" in cronstruct. if you only use text you can use a low update frequenzy so you can support a load of players :) I did this once, all you need is a server with an gui and a browser to run the server side... works pretty well and stable, also saving / backups are not a problem. I personally enjoy this method more, as i can do everything in construct!

  • Hmmm i cant wrap my head arround this >< maybe i should take a break.

    Here is a screenhot, basically the second part archives what i want but i want to do it somewhat automatically, so i dont have to do it for each part manually (there are a lot of parts...)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hey blackhornet, thanks, i tryed that before but somehow did not manage to get it to work correctly, maybe i did something wrong, i will try again and post the result here!

  • Hey Folks :)

    I have a big "enemy" consisting of different parts which are all members of the same family. I place those parts in the visual editor of construct. There is also an family variable called "id", which is represented by 1 2 3 and so on in the image.

    Part 1 can move arround, so every other part should move with part 1 (pin position and angle) but part 4 can rotate and if done so part 5 should rotate with part 4.

    So my question is, how do i pin those objects to each other? My original thought was pinning those objects by overlapping but it seems i cant pick 2 different parts of the same family and pin the higher to the lower ID...

    Any suggestions on how to archive this? do i have to do this manually for each part? is it even possible? should i maybe move all the parts on its own in the same way, so i can rotate them seperatly? In this case, it would be easy to rotate part 4 but it would make for some complicated equasions to rotate part 5 in the same manner...

    kind regards

    Joschi

  • Update: Dont use Load, use Set ->

  • Apparently when i manually download and paste the tilemap it works.

    The downloaded string looks a lot different from the asjson output. is this a bug or is this intended?

    Downloaded: {"c2tilemap":true,"width":40,"height":40,"data":"466x-1,0,1,2,37x-1,9,10,11,37x-1,18,19,20

    AsJson: {"c2":true,"ex":{},"ivs":{"5849307574877662":0.8},"w":{"x":-128,"y":0,"w":5152,"h":5152,"l":425702197544442,"zi":0,"hX":0,"hY":0},"behs":{"8028382427356587":{"

    What am i doing wrong here?

j0schi's avatar

j0schi

Member since 8 Oct, 2014

Twitter
j0schi has 23 followers

Trophy Case

  • 10-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Popular Game One of your games has over 1,000 players
  • Famous Game One of your games has over 10,000 players
  • Viral Game One of your games has over 100,000 players
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

17/44
How to earn trophies