supergodjesus's Recent Forum Activity

  • This looks pretty much perfect. Thank you very much for the demo :) I appreciate it!

  • Hello again,

    I think I am having trouble with the expressions because I can't seem to get this right. I want to make an enemy shoot a projectile, but I want it to explode or have some other effect after it travels, say, 1000 pixles. Further, I only want the enemy to fire these projectiles if they are within 800 or so pixles (or closer) of the player.

    Thanks for any suggestions!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Oh, huh, I didn't know you could use the webstorage local value as a thing like that for comparison. I will give that a shot. Thank you kindly.

  • I am trying to save the Highest Score for a player via Webstorage. The problem I am having though is that I don't want the player's score to overwrite the Highest Score unless the score is actually higher than the Highest Score value.

    So say the player is playing the game and on the first run through, they get 20 points. I want to save this to webstorage (I can do this no problem).

    Say the player plays again and gets 25 points. I want this to save to webstorage.

    If the player plays again but only gets 15 points, I do not want it saved to webstorage because it is less than the 25 previously earned - basically I want to keep track of the player's absolute highest score.

    I am having difficulty doing this. Any tips would be quite welcome! Thank you.

  • Hmm, I have not, though more out of ignorance perhaps. I am assuming that 'For Each' will individualize the condition so that each one detects if there is an overlap instead of all detecting for an overlap... or something?

  • Hello all again,

    So I have been fiddling with a simple weapon/ammo spawn system. What I ultimately want is for there to be about 8 spawn points on the map and every 20-30 seconds a weapon will spawn randomly at one of the spawn points, but if there currently is a weapon spawned on a point, the game wont spawn another until after that weapon is picked up.

    I can get the weapons to spawn randomly every 20-30 seconds on any of the 8 spawn points no problem. However, the problem is that no matter what, weapons can sometimes spawn when there already is a weapon there, resulting in two weapon pickups from one spawn.

    I made two families of objects: spawners (for weapons, toolkits, first aid, etc, all of which are invisible and uninteractive), and pickups (the weapons, toolkits, first aid kits themselves that the player picks up). The spawner family has an instance boolean "Activated", which starts as true.

    In events, I made it so that if an object from the Pickups family is overlapping an object from the Spawner family, then it switches the instance boolean "Activated" to false.

    There is another event that does just the opposite, when the pickup is no longer overlapping the spawner, the boolean is set to true.

    Now I think the problem is that there are other instances of the spawn points that are not overlapped by pickups, and thus the boolean is continusously set to true. I am not sure if this is right or not, so any suggestions would be very helpful. Thank you!

  • Hello all,

    I was wondering, are achievements possible with Construct? I mean, I know how one would trigger said achievements, like kill x of a monster would unlock a certain achievement, but is there a way to save these for players?

    Thanks for any feedback!

  • Oh, I see. I didn't understand how to invert things, but I suppose if I invert the "is on screen" command, that should do the trick I would suspect!

  • Oh, I have one more question, if you'd be so kind to indulge. How would I change the expression if I wanted it to pick the 6 closest that were off screen?

  • I tried it out and it works perfectly. Thank you for the example and help!

  • Howdy howdy,

    I've been making games for the past couple of years and have been loving it a whole bunch. I just recently started in with HTML5 and so far C2 definitely seems the way to go. It just works. I first started making games when I was a little kid and all I had was my father's very, very, very old DOS computer, so I used to make choose-your-own-adventure games in DOS. Good times.

  • Thanks for the response, I will try it out later when I am out of work. Thanks again!

supergodjesus's avatar

supergodjesus

Member since 17 May, 2012

None one is following supergodjesus yet!

Connect with supergodjesus

Trophy Case

  • 12-Year Club
  • Email Verified

Progress

13/44
How to earn trophies