jobel's Recent Forum Activity

  • add a boolean instance variable to your object.

    Then on Touch/Click you can toggle the boolean to true or false

    Then simply add another condition to event you want to turn on/off.

    i.e.

    Event Condition

    AND

    Object boolean = true

    THEN do Actions...

  • VictoryX yes as Magistross says, you need some sort of condition so that is not "always happening", that's what I meant by using a variable...i.e. assuming the condition is not always true... otherwise if you use constants you are running that forloop 60 times per second indefinitely...

  • looks like you are using constants in your for loop... not variables.. at least one of them should be a variable.

    for that kind of code you probably want to use Repeat.

  • ahh I see the problem... is Construct a verb or a noun?

    to build something is to: conSTRUCT

    a building is a: CONstruct

    Since C2 is software, it's a noun. Like for example when using Microsoft Word I never say: I'll be Wording all day. Instead I'd say: I'll be using Word all day.

    it's settled then, everyone who puts the accent on the 'struct' is wrong.

  • you need to make instance variables that contain the UID and pick the healthbar based on which enemy is hit.

    Create Enemy

    Enemy Spawn Healthbar

    Healthbar.EnemyUID = Enemy.UID (make an instance variable in Healthbar called EnemyUID)

    PlayerFire on collision with Enemy (when the player shoots the enemy

    pick Healthbar where Healthbar.EnemyUID == Enemy.UID

    set Healthbar width to self.width - PlayerFire.damage (or whatever)

    then add

    if Enemy.health < 0 then destroy

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 'make the gar nice and long'

    I just did a game jam and people there were saying construct.. accent on the struct.. I was like.. huh?

  • just curious..

    how do you pronounce it?

    CONstruct 2 or conSTRUCT 2?

    accent on the 'con' or the 'struct'?

    I personally use the first one, I have no idea why. The 2nd one just sounds wrong to me.

  • A0Nasser ah, I see. Well my background includes music/sfx, so I say there can't be enough of that if it helps immerse the player. Of course it has to serve the game first, but I think it's really important to have in any game (even a game jam game). They always say at the beginnings of jams: don't forget sound! which is easy to do when you are knee deep in coding and just getting it to work. But good sound design I think helps make things more "believable" and can also be considered "ear candy".

  • A0Nasser

    20 sfx or so, and since they are in both ogg/m4a that would make it 40 in total. And 2-3 music files.

    why? was there a problem with performance?

  • hey all,

    I worked on this game with 2 artists at a Game Jam this past weekend. I was the only programmer so I used C2.

    The theme was "powers combined"... so we tried to make a 2Player shooter that you'd combine bullets to make a Power Blast to take out Boss targets. Its decent for 2 days of work...

    I made a 1-player-mode but the other Guardian doesn't move, he/she just shoots..(ran out of time!)

    http://jonbellinigmailcom.itch.io/sky-guardians

  • that shadertoy is a cool site, anyone know of a resource of where to start with shaders? I don't know much about them or where to start. I know how to code, but I don't totally have a grasp on what shaders actually do. I've loaded custom shaders in Minecraft and seen some here, but that's about it.

    thanks..

  • that's not a capx. Do Save As single file.

jobel's avatar

jobel

Member since 27 Jul, 2013

Twitter
jobel has 8 followers

Connect with jobel

Trophy Case

  • 11-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • x4
    Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

18/44
How to earn trophies