philx's Forum Posts

  • set the different characters as animation frames of only 1 sprite. create the events for the character sprite and choose the appropriate animation frame for the chosen character.

  • very easy to include and very effective!

    thanks for the example. i could use it very well.

  • yeah i totally understand your issue and i am facing exactly the same "problem".

    i tried to solve it with families and instance variables now but couldnt get either to work. so maybie ill just make an event for each of the four players -.-

    Sargas you completely misunderstood our problem here.

  • Well , each gamepad has a different id , eh ?

    I never played around with the gamepad object , so this is just ontop of my head

    Give each player an id variable that corresponds to the id of the gamepad you use to control the player with

    And the

    On gamepad key pressed

    If player.id = gamepad.id

    Do action

    are we talking about the pre-set UID or the manually settable instance variables?

    i'm working on something to get this correct atm but i dont really come to a working result.

    EDIT: Whiteclaws i'm sorry, stupid question. it's not instance variables. but how can you set the same ID for the gamepad1 and the player1?

  • i'm sorry to dump old threads. but if anyone comes to this thread like i did now .. i'd like to refer to this thread

    scirra.com/forum/topic65502.html

    where i provide a file for a possible solution for multiple touch inputs.

  • Again an awesome looking game from you! by the way .. are you developing them by your very own?

    how did you deal with the different levels? have you made a seperate Layout for every Level? i was searching the forum but i didn't find a informative thread. where did you read up about levels? can you recommend me something? because i want to have different maps in my game too and it's kind of the same.

    great work. cheers!

  • philx

    Thank you! Because I'm only supporting the 3.5 Retina and 4 Retina screen, it's only 2 different sizes I habe to do work.

    So there are 2 different image sizes:-)

    Kraudi

    how do you manage this? do you detect the Screen Size in C2 and then use the appropriate layout size?

  • have you found a acceptable solution yet?

  • Very nice controller! i love 360 degree version. but there is the same problem as i got when i created my own controller. it always spawns a certain distance away from where the touch input came from.

    i went crazy while trying to fix this. have you got any idea?

  • Since these questions appear alot and i need them answered anyways, I guess I will create a big thread/tutorial after gathering all the information i could find about creating mobile games with C2.

    I'll start with this as soon as i'm back from holliday next week and i'll inform you about it when it's done.

  • i really like the minimalistic style, not too much of design. the right colors were picked. it just looks great. i gotta play it at some time.

    how did you manage to support the different screen sizes between the iPhone5 and the older generations?

  • scirra.com/tutorials/43/making-an-ios-web-app-with-construct-2

    here's a nice tutorial on this from ashley.

    check out the conversation between tom and harrio in the comment section for information about the icon change

  • I for myself am making a game for iPads. I'm sizing the layout like the dimensions of the best possible resolution of the ipad3 (or whatever the newest is) and if someone plays the game on an older generation iPad it will scale down the resolution but still fill the whole screen because the devices got the same aspect ratio.

    it's the same situation for iPhones older than 5.

    so i guess you got to decide wheather you'll make your game for iPhone5 or for older gens. and create a second game for android and so on.

    Other tip: I have made the best experiences with CocoonJS as a wrapper. i guess for now it's clearly the best amongst all the wrappers.

    If you need multiple touch inputs at the same time i have a nice example for you how to deal with touchID's. (mostly needed in multiplayer games)

    cheers! phil

  • allright this is understandable. So I'll just send you mine.

    It was my second attempt, so im sure there are loads of improvements but maybie it will help you in some point.

    docs.google.com/file/d/0B7m-eoWIKsSMa0dvQTdOOW9ldzA/edit

    I'll try what Whiteclaws said as soon as i'm back from hollidays and if i get to a acceptable solution, i'll share it in this thread.

    Edit: PS: if somebody is interested in the Joystick PNG's, send me a message

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • that's exactly what i was wondering too :D

    I haven't found a good solution yet but if you want we could exchance our .capx to see how eachother dealt with the controllers. I'd be interesting to see i guess.