PixelRebirth's Recent Forum Activity

  • I hate to bring it up again, but your best bet for a fully featured inventory system would be to use the S(uperstructure) plugin. Might be a hassle to learn at first, but it surely pays off in the long run.

    Also this older answer to a similar thread has links to several different inventory examples:

    http://www.scirra.com/forum/viewtopic.php?f=3&t=8122&p=62428&hilit=inventory#p62404

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I think there are 3 methods commonly used: zoom, resize window and resize your graphics.

    The first method is the best in my opinion (described here), since you have to do nothing else than apply a few Start of layout events. Also it looks right on every machine, while resizing the window with the window object may cause blurriness due to filtering.

    That being said, I'm having a bit of trouble to understand the following:

    with the resolution set and also when zoomed in, no objects are "snapping to" the other pixels the way they should-- they just behave like they are objects that aren't only a couple pixels wide...

    Could you elaborate / show a screenshot of what you mean? I do take it you have your sampling setting set to point in the properties? Default linear setting makes pixelart blurry.

  • Also, starting conspiracies already is a little bit ignorant.

    I don't see anything ignorant about considering the possibility of the truth not being congruent with the official story.

  • Except this really won't help him all that much. If he wanted more of a boost from it, he would save it for the actual election year.

    Why wouldn't it help Obama's cause? It helps immensly, his approval rating will go up significantly. Obama kicked off his re-election campaign just in April(link), so the timing is very good in my opinion.

  • > guys osama was killed years ago, the only reason why they say it now is because they want to win another mandate for obama, afcourse cutting the trump show with "breaking news for the president"

    >

    > well its not going to work, if you americans elect obama again, then you KINDA deserve your crysis

    >

    >

    I'm KINDA glad you're not a US citizen because this post is ridiculous from beginning to end.

    That actually makes a lot of sense, which is why it's probably true. Also a lot of this is being covered on the internet right now, of course not by the mainstream media, which covers hardly anything of any real informative value.

    A lot about it is fishy. I mean they supposedly finally catch and kill the guy, but they just dump him into the sea and spread a fake photoshopped picture of his corpse...

    Also this piece of news from a few years ago comes to mind: http://www.chinadaily.com.cn/en/doc/2003-12/18/content_291414.htm

    Right.

    I think they had him or knew where he was all the time, since they're essentially working together. Whether he's really dead or not at this time isn't really important. They just chose to announce his death at this time to give Obama a good chance of re-election, despite him being a fraud.

    I don't see what's ridiculous about such assumptions. It would be ridiculous not to question what is being spoonfed to you by the officials.

  • I was rofl when i saw the picture of dead bin laden , he has an expession on his face like WTF!!

    Isn't it confirmed that the picture floating around the internet is a fake?!!

    Who cares? I would assume the families of 911 victims care, and most of the people who have family fighting in one of the 80 wars going on loosely related to 911.

    I bet they do. Although they shoudln't. They (allegedly) killed the 911-scapegoat and they had a nice timing in doing so. What else is new?

  • Outstanding. I need to take my time to mess around with this bad boy.

    Thx so much Arsonide for all your efforts!

  • To quote the wiki:

    [quote:uj3k7n3q]When Spawning one object in a Container, new instances of the other objects in the container are automatically spawned and paired up.

    In your EnemyMechanics event sheet you do create both though, the enemy solider itself AND the hitbox. This is resulting in the double amount of enemies and hitboxes you intend to have. And will eventually lead to some kind of mess.

    Just spawn only the enemy with the event and set the hitbox always to the enemy position. This should result in correct behavior.

    And welcome to the forums btw!

  • Very cool addition indeed lucid!

    I mostly made use of the 'Is angle clockwise/anticlockwise' condition and rotated the object accordingly using lerp(like in this thread), but this seems a lot handier.

  • You can test your Browsers canvas rendering speed here -

    http://labs.skookum.com/demos/canvastest/

    Very good link for testing browser speeds. Recently I made my own little test with a Construct 2 creation (link) and it seems like there's no competition for IE9 in the HTML5 department at the moment. I will check if I can confirm this conclusion with this performance test.

  • 2) Make a super which holds a number array (create it using template)

    The super is an array and the number array also. Let's say the super is called 'X' and the number array 'Y'. Then you could (0-based) access it as if it were a 2d array:

    {"X", 4, "Y", 3}

    This seems like a rather odd way to use S, to me at least. I'd propose a level hierarchy similar to the following:

    Levelpack (Super)
    |
    Level (Super)
    |	     |                    |                |
    |       Title (String)       Xsize (Number)   Ysize (Number)
    |
    Tiles (Super)
    |		         |		        |
    Xpos (Number)	Ypos (Number)	Frame (Number)[/code:1acwz8dw]
    
    Setting up templates for your supers. So you can just add a Super for each Tile/Enemy/whatever and it has all the subarrays needed. And yeah, this uses many arrays with only one value actually stored, so it's more like a single variable.
    
    {"Levelpack","Level",2,"Tiles",14,"Frame"} would be the frame of the 14th tile stored in level 2 for example, just to show a bit with an actual S address. To create your level you would of course use the loop conditions of S and spawn objects accordingly.
    
    I do know that S can save objects directly with a spatial info array, but I do prefer to do it with templates holding all the necessary info in any case.
    
    Seems to be like experiences and methods using S can end up being quite different, consider this only my 2 cents.
  • Is there any way I can do this without creating a unique enemy object for each enemy I want to place in my level?

    Of course this would work with instances of the same object. I guess you have a picking mistake in your event setup.

    Like this it would work for example for multiple instances:

    + Evil: Value 'Range' Greater or equal Distance(Evil.X,Evil.Y,Player.X,Player.Y)
    -> Shoot
    [/code:2doqwkrc]
    
    Evil being the Enemy sprite. Using the 'Compare a private variable' condition works great for picking here. It wouldn't work well if you used system compare for the same purpose.
    
    Obviously I don't know your events, but as I said you are probably doing something in a way that all instances actually get picked, although you don't intend to.
    
    Upload a cap or show your events if you're still having trouble with this.
PixelRebirth's avatar

PixelRebirth

Member since 26 Mar, 2008

Twitter
PixelRebirth has 1 followers

Trophy Case

  • 16-Year Club
  • Entrepreneur Sold something in the asset store
  • 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
  • Coach One of your tutorials has over 1,000 readers
  • RTFM Read the fabulous manual
  • Email Verified

Progress

23/44
How to earn trophies