Jump to content
  • Advertisement

Ecks Type - Side Scroller Challenge

Eck

1347 views


I heard about the GameDev challenge quite a while ago but I wasn't sure if I'd have enough time to complete an entry. This weekend I decided to give it a go. I was planning on just working on it in secret and submitting it if I succeeded... But apparently some gamedev people read my twitter feed so the cat's out of the bag now. It's due on June 1st so I didn't give myself much time to complete it. Here's hoping I can complete it in time since @Rutin found out my secret on twitter. >.<

I made decent progress on Sunday and Monday. It's definitely not a game yet but the basics are starting to come together. 

EcksTypeGraphics.thumb.jpg.3207e73a64a3e3b7c5ca57dfb9f4a442.jpg

I have a simple menu, Move Patterns, Shoot Patterns, Enemies, and Collision working. I still need to do Enemy Waves, Levels, SoundEffects, Music, Powerups, and polish. Sounds like a lot but I think I have the tough problems solved, and I'm using a bunch of assets from a Humble Bundle so it should come together pretty quickly.

Scriptable Objects

I try to data drive my programs and I was planning on doing it with XML again. However, Unity made some improvements to ScriptableObjects over the last few versions so I thought I'd give Unity's them a try for this simple project. I really hate the name ScriptableObject... The name gave me a mental block which made it harder to learn the system. I wish they would have called it DataObject or something similar. It's just a data file, but the name ScriptableObject threw me for a loop. Learn more about them here: https://learn.unity.com/tutorial/live-sessions-on-scripting#5c7f8528edbc2a002053b629 

I have a simple MovePattern class which is one segment of a MoveSequence. It has a duration, a direction, and a speed. A sequence is made up of a list of MovePatterns and lets you specify whether its play once or a loop. Here is what it looks like:

MoveData.thumb.JPG.c711f762cc0488c6998af1a9348b8ad5.JPG

I have similar data structures for Shooting, and enemy spawning. An Enemy is made up of a sprite, a move pattern, and a shoot pattern. We just reference these ScriptableObjects(data files) the same way we'd point to a prefab on disk. When I release the game, I'll put my code in a zip or git repo where anyone can download and mess with it.

I like how easy it is to use the ScriptableObjects to throw something together. You can use the editor to create new data files and configure them in the inspector. However the end user won't be able to edit these things without jumping through a few hoops. If it was just an xml or json file in the StreamingAssets folder the end user could easily just edit those files and mod your game. For real applications I'll probably stick to actual data files instead of ScriptableObjects but for some quick and dirty stuff like a game jam, this was pretty slick.



7 Comments


Recommended Comments

I really want to make a computerized Car Wars port. That itch has gotten even worse after playing https://store.steampowered.com/app/370870/ recently. I don't have enough free time to seriously pursue it yet but it's something I plan to do one of these days.

 

Share this comment


Link to comment

car wars....man that takes me back....

and then watching the video for dark future caused some Auto Assault flashbacks

Share this comment


Link to comment

Aw man Auto Assault was good stuff. :) This journal post is turning into a post-apocalyptic car duel extravaganza.

Share this comment


Link to comment

Holy cow Racing Destruction Set. You must be as old as me. I played that on the Atari 800 XL and the Commodore 64. I didn't get a chance to play Autoduel or Roadwar but they both look amazing.

Share this comment


Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
  • Advertisement
  • Blog Entries

  • Similar Content

    • By AceBlkwell
      Looking for some feedback on a game I recently completed.  I wrote it in C++ with Allegro 4 graphics library.  It's based on the Mattel Electronic Dungeons and Dragons board game.  I primarily wrote it just to see if I could.  That and I loved this game in the early 80s.   It's not super complex in design or game play but it was fun to learn on.  It's a static link so no addition libraries or files should be needed.  it's had limited testing but works on Windows 10 and Windows 7 machines.  Or at least the ones I've tried. 🙂
      Thanks
      Jerry
      Dragons.zip

    • By exzizt
      Hey everyone! I just wanted to announce that after eight months of hard work, we're approaching the launch of our second BETA! Everyone who signs up gets to be the first to play.
      Signup here: https://www.playbirdie.com/

    • By ThomasG_art
      A complete scene and prefabs created in unity. allow you to get you started rapidly.
      Mountains, ruins and cave areas are all included:

      http://u3d.as/1ypw 

      The cliffs/rocks and ruins feature a trilanar shader, you can customize the colors/textures and overlays. The water and vegetation shader are also customisable. 
      The trees/vegetation prefabs are using unity's terrain system and are already set-up for you. The ruins prefabs are modular and fit on a grid. 
      The cloths prefabs are using unity cloth's system and can be adjusted. 
      Particle effects, air particles, clouds, mist , butterflies, etc...

      Trailer:
       




    • By horror_man
      Hello, I'm currently searching for additional talented and passionate members for our team that's creating a small horror game.
      About the game: The game would be a small sci-fi/post-apocalyptic survival horror 3D game with FPS (First person shooter) mechanics and an original setting and story based in a book (which I'm writing) scene, where a group of prisoners are left behind in an abandoned underground facility. It would play similar to Dead Space combined with Penumbra and SCP: Secret Laboratory, with the option of playing solo or multiplayer.
      Engine that'd be used to create the game: Unity
      About me: I'm a music composer with more than 4 years of experience and I'm currently leading the team that's creating this beautiful and horrifying game. I decided that making the book which I'm writing into a game would be really cool, and I got more motivated about doing so some time ago when I got a bunch of expensive Unity assets for a very low price. However, I researched about how to do things right in game development so I reduced the scope of it as much as I could, so that's why this game is really based in a scene of the book and not the entire thing. Also I'm currently learning how to use Unity and learning how to program.
      Our team right now consists of: Me (Game Designer, Creator, Music Composer, Writer), 3 3D Artists, 4 Game Programmers, 1 Sound Effect Designer, 2 Concept Artists, 1 3D Animator.
      Who am I looking for: We are looking for a passionated and talented 3D Environment Artist that's experienced in hard surface models and the creating of closed/underground scenes with a realistic feeling to them. Familiarity with the sci-fi/horror genre is a plus.
      Right now the game is in mid-early development and you can see more information about it and follow our progress in our game jolt page here: https://gamejolt.com/games/devilspunishment/391190 . We expect to finish some sort of prototype in 2 months from now.
      This is a contract rev-share position
      If you are interested in joining, contributing or have questions about the project then let's talk. You can message me in Discord: world_creator#9524
  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!