Announcement

Collapse
No announcement yet.

Using AMS 8 as your 2d game engine - project example

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Using AMS 8 as your 2d game engine - project example

    I have been keeping an eye out on these forums for a good time now, And found it interesting that there have not been many projects or releases of games using AMS and lua. Even the main AMS homepage images show and describe how it can be used to create games.



    Anyways long story short xD

    I decided to use my years of exp in lua coding and AMS to create a very nice start project for those users interested in creating 2d games where you move and control a character.


    In this project game example you will find the following.

    - Fully commented code and functions " Meaning I comment each section of code in this games example explaining in detail what each part does and what it is for".

    - A fully controllable 2d character with a wall/door/npc/+ detection system "You can move your character with w,s,a,d and cant walk through walls or off the applications page".

    - A working example of a character inventory system " Your character can pick up loot and equip items from the inventory.

    - NPC brain and detection system " You character can be detected by other npc by sight and movement"

    - RPG npc interaction " You can talk with and fight other npc and even build a friendly relationship or enemies example shows how to progress into further dialogs with a npc by what you already have talked about before hand"



    Thats the majot jeest of it I would say, Of course the images I used to create this example project can be changed and I would incurage those to create and add there own images to the game.


    Remember this project was created for those that wish to build a 2d game with AutoPlay but dont want to go through thinking of some of the complex code it might require.

    GameExample.apz

  • #2
    Sorry forgot to say I also included in example a stats/xp system for your character and show on one page how to increase one of your stats.

    Comment


    • #3
      I will have to have a look at this one as this is the first system since my own in AMS others had told me about theres but never showed there work, lets give this a look.

      have a look around for any demos I might of posted to fix that walking problem you have.
      Plugins or Sources MokoX
      BunnyHop Here

      Comment


      • #4
        You can read here about the RPG like system little like yours but the walking system I would say is much more complex then yours,



        Also game controller demo



        Read throw them all also each demo might be a good idea to down load as code changed over time and newer code might not be as good or bad depending on the task, happy researching.
        Plugins or Sources MokoX
        BunnyHop Here

        Comment


        • #5
          Walking Problem ?

          Originally posted by kingzooly View Post
          I will have to have a look at this one as this is the first system since my own in AMS others had told me about theres but never showed there work, lets give this a look.

          have a look around for any demos I might of posted to fix that walking problem you have.
          No walking problem in my coded system I am aware of. Your character can infact walk anywhere and everywhere EXPECT off the applications page window, And any hotspot you put. You see just by placing a hotspot and adding a small section of code we can stop our character from walking into or through this invisible hotspot.


          Interesting demos you have made though as well, I can tell you must of had to think of some complex variables and functions im sure. I tried to make this system as easy as possible but yet still have all the fundamentals still in place for a stranded 2d rpg.


          I do like your controller gamepad demo but I dont like that it has to access the applications virtual memory ram and inject memory payloads into it to work, I would rather just use external software like anti macro or xpadder for such a thing.

          Anyways thanks for giving your opinions and checking it out and giving feedback, I myself may not find the demos you provide of much help but that doesnt mean others here wont. I plan on releasing another game demo much like this one but will have luasockets enabled for a 2d mmo game demo. Where you can build and create a 2d rpg game that is online multiplayer enabled.


          But yea I coded this walking system on here from scratch and am proud of its simplistically to work, So no I will not change a working system that I worked hard on to yours xD.

          Comment


          • #6
            My walking system used to work just like yours with no real movement mine now mimics walking step by step and your little game is good but at them same time really over thought it places like opening doors and things like this your app brakes a lot, I tested it a lot.

            I have to thank you tho the bugs in yours is what made me open mine again and try fix my long standing bugs and add the save actions what is now fully working mine has changed from a buggy example to a working alpha in need, I have got about 6 years of research in my RPG demos in AMS, this system also as full dialog and option selection build in also don't see my game as a demo of the game its a demo of the engine when its working as I want it to it will be a plugin system for AMS not a game, I not building a game I am building a RPG Gaming Engine Plugin.

            I don't inject any memory payloads this loads the memory yes but this does it like all over external software does, it works like its meant to how windows intendered you to use there controllers, but that controller demo was just that a demo what AMS might be able to do, I love trying to push AMS to do what it was never able to do.

            Also your wont be able to do a multi player game in AMS not well anyway, you could have a single play game with multi player trading and things like that but AMS is single threaded and is unable to handle all the commands to run at the same time to be a useful mmo, we can't even get it to be a useful chat system let along a online gaming system.

            You need to change this system to make it usable for everyone else, I am sorry to be blunt here but its not easy or usable for anyone else it's a confusing mess, I was trying to be nice with that point to try and get you to rethink your concept I don't want you to make it like mine as I already have plans to release my work as a plugin, I have let others try your demo and the drop menu actions are fiddly and confusing, no real sprite movement and when yo talk to a NPC your thrown back down the map, none of this is usable or playable I feel you could be better if you just cleaned to demo up and fixed them bugs just there, you have a good option what I will be adding to and that is the items, I not added that yet and that is one I over looked it as my system is trigger based the real item is never needed as later on when its needed the game checks for that trigger, but I think I will add a real invrotry system just to look at the items you have collected.

            Good luck with your app and demo but I would say go back and try again, not to redo it but to clean it up alot, I not worked on mine for about 4 months and your little app made me reopen it and now I am on the rebuild of it for new functions and fixs.

            Here is the last version what now feels more like a game and less like a user just moving around a map

            http://www.*********.com/download/h3...e_Core2_x6.zip

            Like I said I DON'T want you to clone my ideas I want you to clean up your ideas, they don't work very well or confuse the player, drop down boxs are not created to be 2Dworld little more thought needs to be there to fix that.

            This new version also have so many triggers you really have to try it all out like in different maps and day/night locations the player as different on click evernts, there is item collecting in this one to get past sections and also diff disalog is you talk to the mayor and not collect the times, its much more in there and this is just like yours a 2d game

            I not having a go at you or anything I want you to see that you really need to try harder, I think mine is **** but like you proud of what I have done, but I still took the time and tried pointing out what could be better in yours or atlest take your time to fix it.

            I know what it feels like to program all this yourself I done that here with this, sadly IR is a dead forum so alot of fixs I had to do by trail and error.

            Good luck and I really hope to see more updates on this, I even be happy to help you with ideas and code via Facebook if you like, just PM me your facebook address.

            Peace out.
            Plugins or Sources MokoX
            BunnyHop Here

            Comment


            • #7
              Originally posted by kingzooly View Post
              My walking system used to work just like yours with no real movement mine now mimics walking step by step and your little game is good but at them same time really over thought it places like opening doors and things like this your app brakes a lot, I tested it a lot.
              Well funny you say this because my project example does mimic character movement step by step. Also doors work fine by default by guess is your character was not within its range aka standing close enough to the door to have the open/picklock dialog show.

              Originally posted by kingzooly View Post
              I have to thank you tho the bugs in yours is what made me open mine again and try fix my long standing bugs and add the save actions what is now fully working mine has changed from a buggy example to a working alpha in need, I have got about 6 years of research in my RPG demos in AMS, this system also as full dialog and option selection build in also don't see my game as a demo of the game its a demo of the engine when its working as I want it to it will be a plugin system for AMS not a game, I not building a game I am building a RPG Gaming Engine Plugin.
              No bugs in this project at all just a few missing elements at best but no real bugs. I too have been coding in ams and lua for some time now sense about 2008 or so was AMS 6 i believe. And lua itself along with OS administration. I also code and work with 3d based games you can see a example here of my current 3d game project.

              new character and AI testing of my game I am working onLooking for users interested in helping tooGame core is based on unity 4.5


              Originally posted by kingzooly View Post
              I don't inject any memory payloads this loads the memory yes but this does it like all over external software does, it works like its meant to how windows intendered you to use there controllers, but that controller demo was just that a demo what AMS might be able to do, I love trying to push AMS to do what it was never able to do.
              If this is the case you should look into C++/C# coding so you can create your own lua plugins via compiling your c#/c++ into a dll you can have a simple global function in ams to use the dll you compiled as a legit plugin. I have done this many times in the past when wanting to detect colors on users screen in certain areas and ect+ helps when making a AI type software.

              Originally posted by kingzooly View Post
              Also your wont be able to do a multi player game in AMS not well anyway, you could have a single play game with multi player trading and things like that but AMS is single threaded and is unable to handle all the commands to run at the same time to be a useful mmo, we can't even get it to be a useful chat system let along a online gaming system.
              Why would you even say this.... Of course you can easily create a multiplayer game with AMS. You do this using a simple socket plugin or code a dll winsock plugin to handle it. There is a perfect eample RIGHT HERE of how you could turn this online multiplayer chatroom pure lua into a multiplayer game. Its just simple tcp socket data and threads within the socket connects.

              I have infact tested that projects luasocket plugin myself and had no issues at all have a multiplayer beta example running.



              [QUOTE=kingzooly;194227]You need to change this system to make it usable for everyone else, I am sorry to be blunt here but its not easy or usable for anyone else it's a confusing mess, I was trying to be nice with that point to try and get you to rethink your concept I don't want you to make it like mine as I already have plans to release my work as a plugin, I have let others try your demo and the drop menu actions are fiddly and confusing, no real sprite movement and when yo talk to a NPC your thrown back down the map, none of this is usable or playable I feel you could be better if you just cleaned to demo up and fixed them bugs just there, you have a good option what I will be adding to and that is the items, I not added that yet and that is one I over looked it as my system is trigger based the real item is never needed as later on when its needed the game checks for that trigger, but I think I will add a real invrotry system just to look at the items you have collected.[QUOTE]

              Again I say I created this as a test system to allow users to easily be able to create there own RPG game, I agree its not really a engine so much as showing how a AMS project could be used as one. I commented each and every part of the code everywhere throughout the project so users know what does what even. Also this was just a basic core release, I intended for users to create and add there own data into the game this project was to just show how some of the more complex code could be done. Also no walking issue thats just your personal feeling about it. Ohh whats that you want to steal my inventory system code yea figures.

              Originally posted by kingzooly View Post
              Good luck with your app and demo but I would say go back and try again, not to redo it but to clean it up alot, I not worked on mine for about 4 months and your little app made me reopen it and now I am on the rebuild of it for new functions and fixs.

              Here is the last version what now feels more like a game and less like a user just moving around a map

              http://www.*********.com/download/h3...e_Core2_x6.zip
              No thanks I have no intentions on using your code or systems but if others wish to thats there option as you have already stated in previous post it was there for them, Thanks for spaming your projects on my thread.

              Originally posted by kingzooly View Post
              Like I said I DON'T want you to clone my ideas I want you to clean up your ideas, they don't work very well or confuse the player, drop down boxs are not created to be 2Dworld little more thought needs to be there to fix that.
              Again your personal opinion others my not feel the same way about it, I commented each and every part of the code everywhere throughout the project so users know what does what even.

              Originally posted by kingzooly View Post
              This new version also have so many triggers you really have to try it all out like in different maps and day/night locations the player as different on click evernts, there is item collecting in this one to get past sections and also diff disalog is you talk to the mayor and not collect the times, its much more in there and this is just like yours a 2d game

              I not having a go at you or anything I want you to see that you really need to try harder, I think mine is **** but like you proud of what I have done, but I still took the time and tried pointing out what could be better in yours or atlest take your time to fix it.
              lol you act like adding a day/night trigger is something hard to do honestly I didnt add such a thing because I felt even that would of been too easy with the commented code I provided within the project example. As you say you want me to revamp and fix this, In my opinion I dont need this project is not a game engine its a game showing how ams itself can be used as a engine.. I was just giving a project with some code that I thought would be helpful to some users and as it seems it was even helpful to you yourself.

              Originally posted by kingzooly View Post
              I know what it feels like to program all this yourself I done that here with this, sadly IR is a dead forum so alot of fixs I had to do by trail and error.

              Good luck and I really hope to see more updates on this, I even be happy to help you with ideas and code via Facebook if you like, just PM me your facebook address.

              Peace out.
              This project took me 4 days but ok w/e, No need for your ideas thanks

              Comment


              • #8
                Originally posted by icuruok View Post
                Well funny you say this because my project example does mimic character movement step by step. Also doors work fine by default by guess is your character was not within its range aka standing close enough to the door to have the open/picklock dialog show.
                If you want to be a like that then fine you have no walking human system in the demo you posted at all, your sprite does not change on movement it only changed left right up and down not how its moving that way only when you first press the direction. also when using the doors at time I was right next to it and it wouldn't trigger it at all, you are not a magic programmer or not even a known user here, I am passing feedback and bugs to you this is NO its not doing that this is a FACT its bugger, I am not having a go I WANT YOU to make this I want to see AMS to be sued for games so stop taking bugs and ideas as bad thing, use feedback and fix it, I been using AMS since version 4/5 and I have to say this is the most stubben reply I seen.

                Originally posted by icuruok View Post
                No bugs in this project at all just a few missing elements at best but no real bugs. I too have been coding in ams and lua for some time now sense about 2008 or so was AMS 6 i believe. And lua itself along with OS administration. I also code and work with 3d based games you can see a example here of my current 3d game project.

                new character and AI testing of my game I am working onLooking for users interested in helping tooGame core is based on unity 4.5

                Well if you been around that long maybe you should use a username we all know or say who you used to be, also looks like a nice game but that is unity based what is threaded for one and for two uses a system to render games draw/gl/dx based things you can't use that at all part of AMS.

                Originally posted by icuruok View Post
                If this is the case you should look into C++/C# coding so you can create your own lua plugins via compiling your c#/c++ into a dll you can have a simple global function in ams to use the dll you compiled as a legit plugin. I have done this many times in the past when wanting to detect colors on users screen in certain areas and ect+ helps when making a AI type software.
                Because I don't right code in C++/c# the demo works fine the way it should so I don't see why I would have to make a plugin, it was to show what you can do in AMS nothing more nothing less.
                Originally posted by icuruok View Post
                Why would you even say this.... Of course you can easily create a multiplayer game with AMS. You do this using a simple socket plugin or code a dll winsock plugin to handle it. There is a perfect eample RIGHT HERE of how you could turn this online multiplayer chatroom pure lua into a multiplayer game. Its just simple tcp socket data and threads within the socket connects.

                I have infact tested that projects luasocket plugin myself and had no issues at all have a multiplayer beta example running.
                That demo is not a good explain even the maker of it says it was not really a working demo, it's a proof of concept, that so call chat demo DOES not work right and never has, AMS can't handle multiy player but hey please make a demo to show me I am wrong, so many over the years have said its possible and never made anything as its becomes two complex.

                I really mean that prove me wrong, as there are a few ideas I have what would love to come to life it was possible in this platform.



                Originally posted by icuruok View Post
                Again I say I created this as a test system to allow users to easily be able to create there own RPG game, I agree its not really a engine so much as showing how a AMS project could be used as one. I commented each and every part of the code everywhere throughout the project so users know what does what even. Also this was just a basic core release, I intended for users to create and add there own data into the game this project was to just show how some of the more complex code could be done. Also no walking issue thats just your personal feeling about it. Ohh whats that you want to steal my inventory system code yea figures.
                Wrong I don't want to use your code at all, I been coding in AMS longer then you have and have also added back to AMS and IR 1000's a times I have been pushing AMS for many years to do things people should make it more rebust coding, sadly I don't learn new code very easy so I stuck with Lua and AMS and many times PHP but I learnt how to use this system alot, I giving you feed back and your been a fool about it, I am not the only one that as tested your demo and its buggy and I told you, HEY I don't care if you do or don't fix it or update it, you gave me the drive to fix my own and mine now is much better then ever before, you have not showed anything and the sprite movement I already made a plugin for that like two years ago.


                Originally posted by icuruok View Post
                No thanks I have no intentions on using your code or systems but if others wish to thats there option as you have already stated in previous post it was there for them, Thanks for spaming your projects on my thread.
                If you think this was spamming then your a fool, someone is trying to provide you with feedback and your acting like your the best at this, NO your not, I am not ever but my system as had many years of research and this is not the first jump in this very same kind of game system I have tried to make, I want you to keep on going and I want to see you two make a really good app here but your not going to if you don't listen, it looks like a 3 year olds drawing, its clumzy and racts badly, you coding is not formated so does not matter if its commented as its confusing to read, but hey, I not sure if you use custom fonts but when you open it's all messed up

                So you never took that in to account, your demo is basic yes but its not without problems, accesss the problems or don't up to you.

                Originally posted by icuruok View Post
                Again your personal opinion others my not feel the same way about it, I commented each and every part of the code everywhere throughout the project so users know what does what even.
                No its was not a personal opinion it was someone that likes your idea and wanted you to make more of it, as you can see IR is no longer really as user followers, reason I do this now is just because I can. sorry for taking a interest in your work.

                Originally posted by icuruok View Post
                lol you act like adding a day/night trigger is something hard to do honestly I didnt add such a thing because I felt even that would of been too easy with the commented code I provided within the project example. As you say you want me to revamp and fix this, In my opinion I dont need this project is not a game engine its a game showing how ams itself can be used as a engine.. I was just giving a project with some code that I thought would be helpful to some users and as it seems it was even helpful to you yourself.
                How would a light system be easy in a system that does not support draw or other options by default my demo was created to show AMS can make RPG game with coding only without the need of adding plugins, I have used a plugin for gif's but this was not apart of the engine that would be a dev's choise as there are a few ways to do that.

                The light system works across the hole game maps so yes it was little hard to make it work right the basic concept was easy to make it fully integrated it via the world maps and indoor maps made it little ****ed up and also created error that I over looked, and its still not perfect, but you know what I KNOW MY SYSTEM is buggy but you can't admit that your system is bugged to ****, for one why do you unzip a file on start up, you can create ALL your files on the fly.

                Reading and writing 3 files for your XP and health and all that when you can make it in a nice clean, there is no need to right to a registey file you can just check if a flie is there or not, anyone that as been using ams that long you know you shouldn't be messing with someones register file at all, but you blunty over look this, look at peoples feedback as a good thing to learn from, not as something bad.

                Originally posted by icuruok View Post
                This project took me 4 days but ok w/e, No need for your ideas thanks
                Don't use my ideas or even listen to me but I would say stop been a big head, someone took time to look at your demo and you can tell it took only a few days, I had the very same kind of set up when I first started, for one hotpots didn't offer serviceability needed for a good system, found there limitations very fast and my maths and movements was based very closers like yours at the start, this also becomes a problem when you want to make something that does not look like a child did it, and a few epic programmers helped me on the first version of the RPG engine back in 2010 sadly the new engine is not based on that code as i lost it but the ideas are the same, if I can respect the ideas and input from the programmers what made the forum great, the forum might of died down but I still respect them then I think you could take a little feedback but hey you keep it up well done, I wont reply to you anymore since you clearly think you know better then EVERYONE else here and the good timers, also I see no proof you even known AMS 8.5, just googling the ID belonging to the demo you posted also shows that that same key provides hacking and stolen versions of AMS, so you like to be on your hi horse, I wanted AMS to grow again but you just want to show off something stolen.
                Plugins or Sources MokoX
                BunnyHop Here

                Comment


                • #9
                  Yeah I'd probably leave the 2d game building for GameMakerStudio which has a **** load of awesome features to easily make these kinds of games.

                  check out the tutorials by Cosmonaut here:https://www.youtube.com/channel/UCKC...zqV9ltWZw0JFig

                  for more info.. as for 3D game building , would recommend the UE4 Engine as its FREE with 5% Royalties if you actually make anything which even makes a profit else Free. Yeah you may need to purchase assets unless you build your own

                  Don't try and use a Hammer for a job which requires a Chisel

                  Comment


                  • #10
                    UE4 maybe but read the EULA for GMS you find you never want to use them again, and I enjoined making my engine in the past.
                    Plugins or Sources MokoX
                    BunnyHop Here

                    Comment


                    • #11
                      ahh right , yes the eula.. do people even read that rubbish concocted by "The Legalese Con-Artists"?

                      if you actually look into the wording of these eula's I think that you'll find , that each statement can mean 10 different things. Which only the scriptors understand.
                      here's one for you, whats the difference between a "Wet Signature" and a "Button Click"?
                      The Forst one's under contract law and required , the second is BS.


                      Comment

                      Working...
                      X