Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: g2mp cross platform pascal engine

  1. #1

    g2mp cross platform pascal engine

    Hi everyone, this is not a public release announcement (the engine is still in development), but more of a work in progress tracker.

    here is a small demonstration of the engine. creating a simple 2d platformer (3 parts):
    https://www.youtube.com/watch?v=_qbL...=DanSoftStudio
    https://www.youtube.com/watch?v=qSd0...=DanSoftStudio
    https://www.youtube.com/watch?v=Gahp...=DanSoftStudio

    if anyone wants to take a look at the engine: https://github.com/MrDan2345/g2mp
    Last edited by Dan; 16-12-2015 at 02:54 AM.

  2. #2
    wow , looks really awesome . seems powerful engine
    i will definitely looking forward to this .

    good work

  3. #3
    Interesting indeed. While I'm not much interested in platformer games I must admit this still looks quite interesting. Maybe some day I might even give it a try.

  4. #4
    PGD Staff / News Reporter phibermon's Avatar
    Join Date
    Sep 2009
    Location
    England
    Posts
    524
    Not just for platformers - a monumental achievement! brilliant WYSIWYG editor, intergrated physics - the works - I love it! I note the use of a GUID for each object so... perhaps you're planning on synchronizing across a network / offering multi-player functions?

    Fantastic! although I'm biased as this is more or less what I've been working on but in 2D and more production ready

    Since we face many of the same design challenges perhaps we can exchange ideas one of the days? might make both our systems better for it?

    Keep up the excellent work! there's a lot of great engines but having a workflow tool like this to create content and debug game-play makes your engine the best choice by default - even if another had more features it wouldn't matter as your system clearly shaves off a bomb load of development time
    When the moon hits your eye like a big pizza pie - that's an extinction level impact event.

  5. #5
    thanks for the comments guys! the engine is indeed capable of much more than just platformers. you can very easily prototype almost any type of 2d game. like this for example: https://www.youtube.com/watch?v=xlSd...=DanSoftStudio

    the toolkit currently only has desiging tools for 2d games, but the engine itself can be used to make 3d graphics as well. I am planning to create similar tools for making 3d games in the future.

    phibermon, I have seen your very impressive work and would love to share some ideas. but as far as I remember you decided not to release the source yet, is that correct?
    as for GUIDs, from my experience in the gamedev industry it is impossible to overestimate the importance of being able to uniquely identify objects in the game, whether it is for serialization, multiplayer syncing, gameplay recording or a number of other applications. I am not entirely convinced that the GUIDs are the best approach though, mainly because they are not inexpensive to generate (might need to do some testing and profiling). I would love to know your opinion on this.
    Last edited by Dan; 17-12-2015 at 06:42 AM.

  6. #6
    Hi Dan,

    Congrat for this work ! Amazing ! Game WorkFlow is definetly a real challenge, outside the item creation, in a game creation process (Or other type of program !)
    --> I will take a look quicly.

    Hey, Your soccer game is nice : you should spread it on mobile shops

    Regards,

  7. #7
    after testing the toolkit , well i think it's a brilliant idea from Dan , to have an editor that manage visual objects properties , and in the same time you can code your game using g2mp engine and free pascal compiler , and thats much better (performance) than using scripting language .

    i only have a note about source editor , the text is a bit blury .

    great project

  8. #8
    phibermon, sorry I could not answer sooner, I noticed you deleted your message so I will try to answer to it as best as I can from memory. pregenerating a large number of GUIDs and storing them in a file is an interesting idea, but it will create several other complications. first of all, no matter how many GUIDs you pregenerate there will still be finite number of them, and you can, in some cases, run out of GUIDs very quickly (imagine a shooter game, where multiple characters are shooting bullets with each bullet receiving a GUID). assuming that you would load the entire file into memory (since reading the file every time you want to pull a GUID would make the process even slower), you will have to allocate a large chunk of it, which is not optimal and on some platforms even not acceptable (with 32 bytes per GUID, thousands of them will leave a noticeable footprint on memory). finally it is not multi-thread friendly since you would either have to sync multiple threads trying to pull GUIDs or create some sort of mechanic to pull GUIDs from different parts of the array.

    regarding scripting I actually did integrate pascal script into the toolkit only to realize that there is no advantage to do that. fpc can compile sources in seconds, it has more language features than most scripting languages and the performance is on a completely different level. so if I decide to add some sort of plugin system then I will simply use fpc.

    Vinzvega, I am actually working on the easy android build system (to build and install apks with a single click) when that is done I will port that soccer game to android.

    AirPas, the source editor is still missing many features, I am planning to work on it some time in the future (will look into making the text more sharp). for now, however, there is a "Create LPR" button that creates a lazarus project with all the necessary dependencies. so you can just open that project with lazarus and build from there.
    Last edited by Dan; 21-12-2015 at 06:29 PM.

  9. #9

  10. #10
    PGD Staff / News Reporter phibermon's Avatar
    Join Date
    Sep 2009
    Location
    England
    Posts
    524
    Top stuff Dan! your compiler intergration and many aspects of your interface are well in advance of what I've created - editable curves for opacity and the such is a great way to go! I've gone with a time-line that spans a particle life and mutators/effects are dropped onto / stretched across portions of the timeline to apply different things such as opacity fades - however because they apply relative changes and not absolute changes I lack the fine grain control of your curves - basically the same in principal but your system appears to be better to work with - I think I prefer your idea

    EDIT : gah I knew I should of stuck with 2D - I just can't develop as fast - you've got so much wrapped up and working like a charm meanwhile I'm neck deep in 3D stuff - absolutely fantastic work Dan - I'm really impressed - this is what we've all needed for a long time!

    Can you have multiple layers for your scene? for parallax scrolling of backgrounds? they could be coded by hand by the player but I think layers in a hierarchy with a scalar factor and an assigned 'tracking node' which is used to move the layer (applying scale and position relative to parent) would be a great thing to wrap up in your GUI - especially if you can apply visual effects to entire layers - for example washing out colour for 'far away' layers - I think it would be an apt feature to what you've created - if you've not already done it
    Last edited by phibermon; 22-12-2015 at 12:44 PM.
    When the moon hits your eye like a big pizza pie - that's an extinction level impact event.

Page 1 of 2 12 LastLast

Tags for this Thread

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
  •  
Comodo SSL