jobel's Recent Forum Activity

  • thanks LittleStain I agree... at first I made an array of x/y coordinates and was trying to sort the array randomly then picking random array elements and using those to place the blue boxes.. that all seemed way too hard which is why I switched to the random function.

    cool, thanks for the help!

  • oh.. I see what you mean about 'picking all'.. so use that as a way to figure out what's been used already..okay makes sense.. thanks!

    do you think this is the best way to do this?

  • sorry, I should first say that I am looping through each blue box to begin with. I'm placing each of them onto a random black box. I'm just trying not to overlap them.

  • LittleStain well the condition changes as the picking occurs.

    so I have 20 black boxes (my grid) and I want to place 10 blue boxes randomly on top of them.

    when I place a blue box on a black box I set an instance variable on the black box: Occupied to TRUE. When I continue to pick black boxes I am trying to exclude black boxes that are occupied.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I would have expected you could select random instances based on a condition. but maybe it's not possible?

    I basically want to loop through all instances and Pick a Random Instance that wasn't picked before.

    Can anyone shed some light?

    I'm attaching a capx

  • thanks Yann your example helped me.

  • yes yes, justifun has it right. Make another animation frame in your sword sprite and take the tip off. Make sure to not loop your sprite "animation" and make the animation speed 0 (since it's not an actual animation). Then swap to the frame without the tip when the sword perforates the enemy.

  • sqiddster ahh I get it.. doh, you rolled out to Node Webkit! okay, that makes sense now. Still that's pretty bad. Does it just mean NW is using a version of Chrome that has problems? It makes me nervous how much time I've spent on my game and I to am looking to NW as my only deployment option.

  • do the characters overlap ever? or are they always a certain distance apart?

  • sqiddster I downloaded the demo from Steam and it ran windowed on my PC and I was getting super lag. Like it sort of made the game not playable. I received the messages at the bottom saying my FPS was too low. When I went into settings I put it to fastest but it didn't make a difference. My computer is a Windows 8.1 desktop that I just built about 6 months ago. Not super top of the line but moderate. 8GB RAM, RADEON R7 260X 2GB DDR5 graphics card.

    However, that dropbox link above has NO lag whatsoever. So put that version up on Steam if you can!

  • I am now a stay-at-home Dad

    congrats.. although when I was a stay-at-home-dad it was SO hard! but now my child is almost 5 so preschool helps me regain my sense of self again! but it's amazing for family bonding.. just make sure you get out at night or on the weekends. I ended up spending too much time with my son.. it burnt me out! Gotta find that balance...

  • sqiddster - hey demo'd your game in-person at BFIG 2014 and had a good talk with your composer. The game ran great on the laptop there...

    a lot of players were super impressed and had never seen anything like it.

    you totally should have won an award or at least an honorable mention, but this year the bfig was messed up with the voting..people had to go to a specific website and vote and unless exhibitors remembered to actually tell people then no one voted. last year they had Guidebook which was way better for voting and probably a more accurate poll.

    keep up the good work..

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