Skip to main content
Topic: Game Editor (Read 1316 times) previous topic - next topic

Game Editor

I got bored once I got all the image generation stuff working on the website, so I decided to code some games.
I created two space invaders type games and was working on a new game called Robot Wars when I decided it might
be easier to create the games if I created a level/game editor and game engine to play the games.
I have been slowly adding new features to allow for a more diverse set of games.

Eventually I plan on having other sections on the website where users can come and create games and then upload them
for others to play.

Some of the cool features of the Game Editor are:

- Each level in the game has it's own settings allowing you to customize your game completely level by level. 
   You can have your first level be space invaders and then create a completely different level like a totally different
   game like Pacman for the second level or Defender for the third level, etc.  Grid size (Play area) and game type can
   be completely customized for each level.
- Fixed screen, Scrolling, Auto scrolling, or Top Down gameplay.
- All game data is stored in .JSON format making it easy to edit. Images and sound files stored in base64 inside JSON file.
- Import multiple image formats to create objects from existing JPG, GIF, SVG, CTX images into custom sizes.
- Built in options for Scoring, Inventory, health, and timers.
- Built in enemy movement patterns (For example, Grid option for space invaders type games, Chase option for Gauntlet type games).
- Built in functions for adding player running, jumping, shooting. Shot delay, player speed, bullet speed
- Built in sound (Save .ogg sound files with specific names for specific actions). 
   Right now the following sounds are played if they exist: shoot.ogg, explosion.ogg, powerUp.ogg,
   I will eventually create a better list of sound names to allow for more sound variety that are built into the game engine.
   The sound files need to be imported under the game settings so they are included in the game data. Must match above filenames.

Latest Game editor can be accessed from here: https://aiimagecentral.com/level-editor7b.html

I added a short video to the Videos section (Called Game Editor Info) explaining how to use the editor a bit.


See screenshot of latest editor below.

Re: Game Editor

Reply #1
If anyone is into Java/PHP and wants to help with the design of the Game Editor and Game Engine then let me know in a post or chat and I will look at putting it up on GitHub maybe or just email the source.

Re: Game Editor

Reply #2
Here is a list of the different objects so far that you can use in the game.

Objects breakdown (Object number determines type of object)

Objects number 1-29 = Wall objects (Objects 1-10 solid wall (Indestructible), Objects 11-20 destroyable wall, Object 21-29 Hidden item in wall)
Objects number 30 = Increase Player life by 1
Objects number 31 = Increase Player score by 50
Objects number 32 = Increase Player score by 100
Objects number 33 = Increase Player energy to 100%
Objects number 34-90 = Pickup item objects (Like Keys, Powerups)
Objects number 91-98 = Enemy objects (Objects trying to kill you)
Objects number 99 = Player object (You)
Objects number 100 = Special Enemy bullet object (Graphics to use for enemy bullet)
Objects number 101 = Special Player bullet object (Graphics to use for player bullet)

 

Re: Game Editor

Reply #3
Here are some sample game_data.json files you can load into the Game editor:

Note: You must be logged into the forum to see images and attachments.

 
AI Image Central - Welcome to our forum!