Page 26 of 30 FirstFirst ... 162425262728 ... LastLast
Results 251 to 260 of 300

Thread: Writing a better 2D engine. (Phoenix 2D Game Engine)

  1. #251

    Writing a better 2D engine. (Phoenix 2D Game Engine)

    Yeah, it's progressing well, been coding like crazy on the tile engine and collision engine latly, there's some tricky parts that needs some trixxing to get working.

    And no, this is the most official thread about it, i still consider Phoenix in late beta stage, theres a few more functions i want to finish before going 1.0
    Amnoxx

    Oh, and this code appears to be an approximate replacement for return(random() & 0x01);

    Phoenix Wiki
    http://www.phoenixlib.net/

    Phoenix Forum
    http://www.pascalgamedevelopment.com/viewforum.php?f=71

  2. #252

    Writing a better 2D engine. (Phoenix 2D Game Engine)

    Sounds good.
    Is it possible to try out the tile engine at current state?
    Do you plan on adding many more features or are most of it ready?
    It's really great (and so easy) so I would love to see this finished

    btw. You have misnamed some classes (for instance: THPXImageSprite), but you probably already now
    Imagine I've written something clever here inspiring you to make something awesome. If that happens give me credits

  3. #253

    Writing a better 2D engine. (Phoenix 2D Game Engine)

    Quote Originally Posted by pstudio
    Sounds good.
    Is it possible to try out the tile engine at current state?
    Do you plan on adding many more features or are most of it ready?
    It's really great (and so easy) so I would love to see this finished

    btw. You have misnamed some classes (for instance: THPXImageSprite), but you probably already now
    There's a ]http://phoenixlib.net/files/TileDemo.zip[/url]

    Howerver, i havn't really added any more to that as all the time of latly has been spent on the collisions.

    And no, i actually missed that, really easy to miss, back side of copy-paste
    Amnoxx

    Oh, and this code appears to be an approximate replacement for return(random() & 0x01);

    Phoenix Wiki
    http://www.phoenixlib.net/

    Phoenix Forum
    http://www.pascalgamedevelopment.com/viewforum.php?f=71

  4. #254

    Writing a better 2D engine. (Phoenix 2D Game Engine)

    Is this engine capable of being used in a game as it is right now? I'm thinking of using it, as it seems to be a pretty good engine.

    Basically, what I need:

    Collisions : Pokemon (Gameboy.. Pokemon Red/Blue) style... When 2 people walk into each other, they will be in a battle.

    Movement: Pokemon (Gameboy.. Pokemon Red/Blue) style...

    Graphics: Pokemon (Gameboy.. Pokemon Red/Blue) style...

    Basically everything is going to be Pokemon style. I'm going to make an RPG game, both single-player and online multiplayer (online mp will be an MMORPG game) using all pokemon style stuff. But the game will be slightly more complex than that, as you will be able to build your own towns and etc in certain regions (even on the MMORPG part) and wars, kingdom building, economy will be a big part of the game. Fighting will be common place, and the leveling up will be mostly realistic, as in the more you use certain things, the more you level them up. In fighting, strategy, stealth, and technique will all be necessary to win... Weapon styles will be sword, bows, daggers, javelins, magic, etc. Almost everything available in single player will be available in multiplayer, and when your character dies, your control passes on to the next available family member. Age limits your capabilities (but no worries, while you are online, your character grows quickly, while offline slowly) and you will gain inheritances when you go to the next person. Families will be a big part of the game, aswell...


    Also, would like to say, on FreePascal 2.0.4, in file phxlogger.pas, on line 157, you had:
    {$ifdef fpc} inline; {/ifdef}

    This provides an error while attempting to compile the sprites demo.

    Also, I'm having difficulties compiling after removing the 'inline' call:
    Code:
    First compilation of c:\projects\pheonix\demo\sprites\main.pas
    phxScreen.pas&#40;454,47&#41; Error&#58; Incompatible type for arg no. 1&#58; Got "<address>", expected "<procedure>"
    phxScreen.pas&#40;455,46&#41; Error&#58; Incompatible type for arg no. 1&#58; Got "<address>", expected "<procedure>"
    phxScreen.pas&#40;521,42&#41; Error&#58; range check error while evaluating constants
    phxScreen.pas&#40;593&#41; Fatal&#58; There were 3 errors compiling module, stopping
    phxScreen.pas&#40;33,15&#41; Fatal&#58; Compilation aborted
    --MagicRPG--

  5. #255

    Writing a better 2D engine. (Phoenix 2D Game Engine)

    Quote Originally Posted by DarknessX
    Is this engine capable of being used in a game as it is right now? I'm thinking of using it, as it seems to be a pretty good engine.
    Well, parts of it are atleast, more or less everything exept the tile engine are done, the package had a overhaul since the last release aswell, but that isnt a feature thats needed at once.

    What's mostly holding back the progress of the tile engine is the trouble i'm having with the collision engine, detection is working well, however responces arent, alot of stuff that needs to be tested and i havn't been able to figure it out yet..

    I might do a quick workaround using subdivisions to get somewhat accurate results, atleast as a start, thus it could be changed later on without to much extra work...

    Quote Originally Posted by DarknessX
    Also, would like to say, on FreePascal 2.0.4, in file phxlogger.pas, on line 157, you had:
    {$ifdef fpc} inline; {/ifdef}

    This provides an error while attempting to compile the sprites demo.

    Also, I'm having difficulties compiling after removing the 'inline' call:
    Code:
    First compilation of c&#58;\projects\pheonix\demo\sprites\main.pas
    phxScreen.pas&#40;454,47&#41; Error&#58; Incompatible type for arg no. 1&#58; Got "<address>", expected "<procedure>"
    phxScreen.pas&#40;455,46&#41; Error&#58; Incompatible type for arg no. 1&#58; Got "<address>", expected "<procedure>"
    phxScreen.pas&#40;521,42&#41; Error&#58; range check error while evaluating constants
    phxScreen.pas&#40;593&#41; Fatal&#58; There were 3 errors compiling module, stopping
    phxScreen.pas&#40;33,15&#41; Fatal&#58; Compilation aborted
    Hmm, well fpc seems to **** up inine functions from now and then, maybe not the most stable feature in fpc.. Just remove it..
    Amnoxx

    Oh, and this code appears to be an approximate replacement for return(random() & 0x01);

    Phoenix Wiki
    http://www.phoenixlib.net/

    Phoenix Forum
    http://www.pascalgamedevelopment.com/viewforum.php?f=71

  6. #256

    Writing a better 2D engine. (Phoenix 2D Game Engine)

    Thats what I did. Well, thanks for the confirmation, cause once I'm done this little side project I'm working on with Jedi-SDL, I'm gonna make an rpg game with this... If I can make it compile properly.
    --MagicRPG--

  7. #257

    Writing a better 2D engine. (Phoenix 2D Game Engine)

    It should compile quite easy i think, I just hadn't the time to try the last release enough in fpc, but the version before that worked fine so it should be quite easy
    Amnoxx

    Oh, and this code appears to be an approximate replacement for return(random() & 0x01);

    Phoenix Wiki
    http://www.phoenixlib.net/

    Phoenix Forum
    http://www.pascalgamedevelopment.com/viewforum.php?f=71

  8. #258

    Compile errors into D7

    Hi all,

    when i compile the Phoenix Particle Demo i have this errors:

    Gravity:= Vector2f(0, 0); --> Incompatible types: ' Single and TVector2f'
    Undeclared identifier: 'Blend'
    Undeclared identifier: 'bmOne'.

    Why
    Thanks in advance
    Sesilla

  9. #259

    Writing a better 2D engine. (Phoenix 2D Game Engine)

    Yeah, i've changed a few things in the particle editor but not in the demo, saw that a few days ago, here's a fixxed demo;

    http://phoenixlib.net/files/Particles.zip
    Amnoxx

    Oh, and this code appears to be an approximate replacement for return(random() & 0x01);

    Phoenix Wiki
    http://www.phoenixlib.net/

    Phoenix Forum
    http://www.pascalgamedevelopment.com/viewforum.php?f=71

  10. #260

    Writing a better 2D engine. (Phoenix 2D Game Engine)

    Hi Andreaz,

    I've downloaded your latest version (dated april 2007) today and I came across a couple errors/problems while compiling the demos.

    The Canvas demo finalizes immediately after starting. The log file doesn't say a whole lot more than that either, I'm afraid.

    In several demo's (sprites for example) an error in file phxTexture.pas at line 1446 appears saying incompatible types: 'FIBitmap' and PFIBitmap.

    Anyway, it still seems like a very promising project, I hope you're continuing the work

Page 26 of 30 FirstFirst ... 162425262728 ... LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •