This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
Jummit's profile picture

little rpg engine

Started by Jummit, 23 April 2017 - 07:23 AM
Jummit #1
Posted 23 April 2017 - 09:23 AM
I programmed a little api for rpg games:
I know its bad, but if no one is replying i will not improve it.


Features:
  • add paint-images as background
  • move a player on the screen
  • config file with key config
  • api and demo
  • portals where the player teleports to another place
  • interact with npcs
  • add dialogs to npcs
  • items: they have all spectial functions!
It is in realy realy early beta. I am open for your ideas and I will implement as many of them as possible in the api.

Todo:
  • npcs
  • quests
  • items
  • monsters
  • multiplayer!!! :wub:/>
GitHub:https://github.com/Jummit/rpg-engine

PS: This is my first post, it may be very bad written.
Edited on 14 September 2017 - 06:27 AM
nitrogenfingers #2
Posted 09 September 2017 - 02:37 AM
I had a go running it but there wasn't any content. It would be cool to have that added, so we can see what your API can do
Dave-ee Jones #3
Posted 11 September 2017 - 01:38 AM
Just tested the demo. Took me a few minutes to work out where all the files go (tip: make an installer for something with this many files, or make it a bit more intuitive as to how to install the game). Having a quick look through some of the code it looks interesting with the dialogue and item descriptions (though I didn't see any in the demo), but the maps definitely look interesting, though it's weird having a birds-eye view on the player but then a 2D side-on view of the map (trees etc.). Probably stick with one or the other. Side-on is harder because you have to work with the player jumping, gravity etc. Birds-eye is the classic, easy-to-make RPG.

You could also fix the screen flickering everytime the player moves as well. It is a bit hard to fix as you are drawing a map behind, but it would greatly affect the gameplay if you could fix it. The way I fixed it in my game was by drawing a 'blank' pixel at the old X and Y positions of the player, but in your case you have to figure out what colour the pixel is before you draw the pixel so it doesn't have blank pixels where the player was.

You might want to update your links as well, I can see the repo's name is rpg-engine, not rpg-game.
Jummit #4
Posted 14 September 2017 - 08:25 AM
Just tested the demo. Took me a few minutes to work out where all the files go (tip: make an installer for something with this many files, or make it a bit more intuitive as to how to install the game). Having a quick look through some of the code it looks interesting with the dialogue and item descriptions (though I didn't see any in the demo), but the maps definitely look interesting, though it's weird having a birds-eye view on the player but then a 2D side-on view of the map (trees etc.). Probably stick with one or the other. Side-on is harder because you have to work with the player jumping, gravity etc. Birds-eye is the classic, easy-to-make RPG.

You could also fix the screen flickering everytime the player moves as well. It is a bit hard to fix as you are drawing a map behind, but it would greatly affect the gameplay if you could fix it. The way I fixed it in my game was by drawing a 'blank' pixel at the old X and Y positions of the player, but in your case you have to figure out what colour the pixel is before you draw the pixel so it doesn't have blank pixels where the player was.

You might want to update your links as well, I can see the repo's name is rpg-engine, not rpg-game.
I know there are many things that should be worked on, but look; this was my second post, and i learned a lot since then. I will do what you said, though.
Edited on 14 September 2017 - 06:25 AM