Mipey's Recent Forum Activity

  • Chill pill, Genesys?

    Anyway, Ashley: It is not a matter of efficiency; there are times when I wished I could simply draw a geometric shape (or polygon) instead of having to use a pre-rendered texture. Having the feature I described would be quite a boon for game developers.

    Here are the advantages I can think of:

    • you can update the shape in real time, while a static texture remains the same. Imagine real time graphs! And that is not the only thing you could do in the game.
    • collision checking is easy between geometric primitives, because you can simply solve rather than check for each pixel, where even slightly transparent pixel can throw the alarm bells off.
    • I mentioned transparent pixels... well, static textures, when zoomed in, have these all over the place. There would be no such "dirt" with polygons.
    • low memory footprint. A huge circle (to preserve crispiness) can easily take a good chunk off memory, while a primitive circle would take substantially less (if we draw directly to the visible screen, skipping offscreen). Static texture still retains the same space, even if it is not drawn offscreen.

    Efficiency is not a concern, when it comes to numerous possibilities we can create with these objects.

  • I was wondering if it would be possible to introduce primitives - simple geometric objects such as circle, triangle, square etc. through DX9?

    Basically a feature that would draw the shape as per the supplied instructions (equation, vectors), which would also be compared in the game for collision purposes. So instead of checking for pixels, you check the actual equation that is used to draw the geometric structure. These primitives would also be scaleable - since you're drawing per vector instructions, it would always remain sharp.

    I have little to no clue about programming, DX9 and stuff, so I am wondering if this would be possible. See, all graphics currently are redrawn each frame by reading the supplied texture pixel-by-pixel. What if instead it would draw directly, following supplied instructions? Isn't that what shader effects currently do - alter the texture per instructions?

    Be nice to be able to draw simple geometric shapes and benefit from perfect collision checking!

  • If I understand you right, you want to color pixels within tank sprite differently and use those colors for purposes of collision detection? For that have to check each pixel of the tank sprite, which uses more CPU than multiple sprites.

    Maybe someone can advise you better, though.

  • I'm not from US/UK either, but my English is not that bad. It pays off to practice it

    Anyway, instead of using colour masks, why not use private variables to identify tank parts?

    Like private variable named 'type', on collision check if it is "fuel", "armor", "ammo" etc.

    It might make things easier.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Sadist.

  • Oh, that certainly sets the Christmas mood!

    A few comments...

    • don't forget to thank the person who helped you with game mechanics
    • at the start, I got chain reactions. Maybe make sure there are no chains of 3 at the start? I believe it was covered in the tutorial, but there are other ways, too (like silently removing chains until there are no more)
    • when 3 blocks of the same color spawn at the top row, they are destroyed without the animation.
    • I noticed that sometimes a block suddenly turns into another color

    Keep it up

  • Not related to the topic, but...

    Arima's signature excites me.

  • Projects, exported from Construct to an .exe, can be played on other computers (WinXP and newer), as long as they have August 2008 DX9 (this one doesn't come with default package, so your friends may have to download that package specifically).

  • A GUI plugin could be a cool idea. Mind giving some suggestions on how it could work?

    • buttons
    • checkboxes (also radio)
    • basic frames (window, dialog etc.)
    • dropdown list
    • input field (one line, multi line)

    Those are the basics, I believe, that are lacking in Construct (since the default windows control is wonky in DX9 runtime).

  • Pizza-flavored lobster?

    Awesome.

  • Time pizza is done?

  • Yeah, I suppose only checking "moved" or "freshly spawned" blocks would work, though it doesn't really matter on a 8x8 or even 12x12 board.

Mipey's avatar

Mipey

Member since 16 Jan, 2009

None one is following Mipey yet!

Trophy Case

  • 15-Year Club
  • Email Verified

Progress

16/44
How to earn trophies