joelmayer's Forum Posts

  • Hi Guys...

    Well, the Game would be on Track i finished pretty much all the Graphics but i had a Problem with the Mosquito Spawning. Anyways for some Reason, my whole Switch On/Off System is broken now. I disabled all the Code except for the Switch and it still won't work anymore. It worked perfectly all this time, i have no idea whats going on.

    Could someone of you have a look at it? Maybe i'm overlooking something. It basically should turn the lights off when you press on the Green Placeholder Square in the bottom right corner...

    https://drive.google.com/file/d/0Bwu0b_ ... sp=sharing

    THANKS!!!!

  • Don't you hate it too.. You're trying to sleep after an exhausting Day's work and then you hear that sound... first only slightly so you're not sure if you're imagining but you pray that it isn't what you think it is... then it gets louder... Bzzzzzzzzzzzz....

    You have two Options: either get up and hunt the little beast or keep on pretending to sleep with the knowledge that sooner or later the sound will stop and you'll feel a sting...

    This is pretty much what inspired my first little Game in Construct 2

    The game runs, i still need to implement a raising difficulty level and currently i'm working on the Animation of the Guy in the Bed. Backgrounds and the Mosquito are pretty much finished though.

    Light's on, he's fleeing!

    He's getting closer....

    Thanks a lot to the great Scirra Community and especially LittleStain who anwered my Noob Questions in the Forum I'll keep you updated...

  • Thanks a ton! It seems i have the right ideas but kinda get the orders wrong quite often... i'll pay attention to that a bit more Thanks again!

  • Okaaay i'm back again. The basic functionality works although i'm having a new Problem with the Spawning of the Mosquito.

    I included a Wait Random Conditionq that should only happen when the Light is off, which works. If i switch the Light on and off multiple times though before the Object has been spawned, i get a whole Army of Mosquitos flying.... I only want this to happen ONCE and never have more than one Mosquito going on...

    I updated the Capx File too... I think i'm at the End of my Knowledge here, maybe there's a better way to do this :S

    Any help is greatly appreciated!!!

    https://drive.google.com/file/d/0Bwu0b_ ... sp=sharing

  • I just found the Error and i'm officially an Idiot haha.

    I set the On Nose Variable as an Instance on the Mosquito... Which is of course pointless if i'm destroying it duh... Now i set the Variable as a Global again and it works

    THANKS!!!!!

  • I think i'm too stupid... I tried every possible Combination including the one you told me but it still won't work...

    Sometimes its kinda confusing for me to know when to use Subevents and when to use normal Events. Another little Bug i encountered is, that my Mosquito Trigger Spawnsnew Sprites everytime i turn on the Light. When i set another Condition for either a Variable or that the Mosquito must be OffScreen it doesn't work either...

    It's pretty hard to explain so i also attached my capx File if anyone cares to take a look at it. Sorry for the crappy Graphics, i'm only prototyping

    https://drive.google.com/file/d/0Bwu0b_8ZTavBdlNYcFcxQXNPMmM/view?usp=sharing

    And here's my complete Event Sheet...

    As well as how this whole thing looks... The red Stripe on the right is the Trigger that makes the Mosquito sit on the Nose. The Timer only started working after i put it under the "On Collision" Event with this Trigger which maybe makes sense though...

  • Hm, weird. I think i did everything correctly and the Light On works great now but after the three Seconds expire nothing happens... I tried around with taking out the "Trigger Once" Condition but it doesnt seem to make a difference...

    Any Ideas?

  • Thank you! I wasn't familiar with Timers yet. I'll go over the books again but i'm sure it'll work out

  • Hi Everyone!

    So i'm working on a little Game and here's the situation:

    I'm having a Variable that if turned on initiates a Wait Action of three Seconds. If the three Seconds are up, another Action should happen but if the Player reacts DURING the three Seconds, again, another Action will happen.

    I kinda got it working with Subevents, but the Problem is, when i take the Action, the Game will still wait until the three Seconds are up to change my Animation Frame etc.

    Maybe to make things clearer: the Game is about a Guy trying to sleep but being tormented by a Mosquito. You only hear it in the Dark and if it sits on your Nose and you don't react quickly enough, you get stung. So the player has to turn on the Light in Time Everything works great so far, except the Timing bit, where you have to turn on the Light during the short Timeframe that the Insect is on Contact with you.

    So the Event basically sais: if the Mosquito Variable is onNose, the System is to Wait for three Seconds. If the Player switches the Light "On", the winning Animation is played and the Layout restarts. If the Player doesn't react, the losing Frame is set and the Night Layer is disabled and the Lightswitch is turned on. You then see the Losing frame for three Seconds and the Layout restarts... Hope that makes kinda Sense :S

    Thanks for your help

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thanks for your response Aurel, couldn't agree more.

  • Okay let me rephrase: compared to 2D it adds a lot of complexity, agreed?

  • 3D is by its very nature just confusing in General and building a Realtime Engine that will satisfy People is a whole different story as well so don't just think it's that easily done. I think a new Editor with a better SDK may lead to better Exporters being developed but i'm technically not clever enough to really say this... But one things for sure: a dedicated 3D Engine like Unity with something like Playmaker might be the better Solution. I went to school for 3D Animation and i can tell you that the workload is quite a different story especially for one-man shows so i think Construct should stick to what its best at which is 2D.

    If someone really is unhappy with how things develop though maybe they should look at other Options out there?

  • I'm kind of sorry to read so many bad experiences but also of the kind of aggressive tone that is struck when it comes to addressing the Scirra People themselves.

    Me, i haven't even finished a proper Game yet, so i'm still learning and exporting to Mobile doesn't interest me too much (PC foreva!!) so of course, it's easy for me to say.

    Nevertheless, i kinda had a thought, which probably is too much to tackle for the Guys and i rather have them doing what they do best: making Construct a better Tool but here it is:

    How about doing a Crowdfunding campaign to pay a Coder to do C2 optimized Wrappers for all the major Platforms and then make those Open Source so it will be maintained by the Community? This way, no Time is getting taken away from developing C2 and no overhead is created of maintaining it...

    Just a thought, i really love C2 and what it does for me and if it just stays a Hobby, so be it. It was still worth every Cent I know it is probably frustrating for someone longer around than me to never being able to publish his stuff properly on the Platform of Choice but i would never not recommend C2 to anyone because even if you won't make your Blockbuster Game in it it is still a great Way to learn about Game Making and i'm pretty certain as HTML 5 matures more, so will C2.

  • Errr.... Well... That was so easy it's kind of embarassing actually :S Well, i tried the Else before but not in this configuration...

    Sorry for taking away Forum Space and thank you very much for your help ))

    Interesting though that i have to keep the Else Statement BETWEEN the two Overlapping Events and not beneath all of them even i'm referring to the second Block in the Else Actions as well... Something i'll have to keep in mind i guess

  • Hi Guys

    It's probably a dead simple solution but i'm not quite sure how to tackle this yet...

    Here's what i'm trying to achieve: i have a Character Sprite set up and i'm trying to prototype a situation, where the HUD has a set Text Box, where Information, Dialogue etc. is displayed. Now, the Player is controlled via Keyboard in a Platform fashion. What i'm trying to do is, that on Overlap with an Object in the Layout, the Object changes its Animation Frame and displays a descriptive Text in the Textbox. When the Player leaves the Overlap again, the Text disappears as well and the Text of the next overlapping Object is shown instead.

    I kinda know why its not working at the Moment. The thing is, i invert my Action on overlap which of course makes construct think, that i never want to show any Text in the Textbox because the Character is always NOT overlapping with at least one of the two objects, so the Text gets set to nothing (or made Invisible) at all times...

    Do you have some tips for a good solution on this? Should i try it with some kind of Instance Variables that sets the Text to Visible/Invisible?

    I'm very grateful for the great help a (still) untalented N00b like me gets here so thank you very much in Advance!!!

    Maybe to make things a bit more clearer, here some Screenshots:

    The In-Game Screenshot shows how it kinda should work (although the second blue Hotspot had his Animation Frame also set to 1 which you can see by the white outline, which shouldn't happen until the Girl overlaps). Here i took out all the inverted Stuff, so of course it works but the Textbox doesn't empty itself anymore. I hope it was kind of understandable