Jump to content

  • Log In with Google      Sign In   
  • Create Account

YodamanJer's Journal



Developing a small game with built-in level editor!

Posted by , in 2D 16 December 2014 - - - - - - · 1,120 views
BASIC2D
It has been a long time since I've posted anything in this journal, in fact I sort of forgot about its existence! Won't do that again. :)

I'm not sure how many people are familiar with it, but I'm using App Game Kit from The Game Creators, the same company behind DarkBASIC, to create the base engine for a really simplistic game. I won't get into too much detail about the game now, but suffice to say it should be a fun one to program!

One of the features of the game is going to be a built-in level editor which will allow the player to create their own unique levels. It will be fairly easy to implement, as the editor is basically going to be its own program in a separate included file, which will store map data in an array that the main engine will be able to use. I love building level editors, but there are a few things I realized player's would want in one.
  • A GUI System (while I'm comfortable using keys and text, players will want buttons)
  • Undo/Redo Funcionality
Both of those things I plan to work on and get operational before I start work on anything else. I'm actually working on the Undo/Redo API first as I thought that would be the most difficult. Turns out it is actually really easy!

First, I'm creating a custom type to store metadata in, then declaring two global arrays based on the type. Whenever an action is performed, I call a function which will record the action into the undo stack. Whenever someone undoes the last action, it will copy the information from the current element of the undo stack into a new element of the redo stack (say all of this ten times fast, I dare you! :P ).

In order to keep memory usage down, there will be a limit of 50 undo/redoes available. But the really good thing about this system will be just how customizable it is, if the user wants to record other types of data, all they have to do is add the necessary information to the custom metadata type.

I know there are much better ways to handle something of this nature, but this was the best solution I could come up with and I'm sticking to it! Anybody here use AGK that might be interested in it? :)


OId Ideas spawn New Ideas

Posted by , in Unnamed Project, RPG, 2D, Action/Adventure 21 June 2013 - - - - - - · 812 views
RPG, 2D, Action/Adventure and 1 more...
It's funny sometimes how one project you're working on can inspire new and completely different ideas, especially when the project you're working on is completely different and has unrelated game mechanics.

What originally started out as a 2D platformer is slowly evolving into a different game inside of my head, and the ideas I have for it are many and diverse. Sure, the genre has been done before, but I have several ideas to make it unique.

The game will no longer be about cubes, or even be a basic platformer. Instead, I'm going for a different idea all together, and I'm excited because I know I can do it: a 2D, sidescrolling platformer/action-adventure RPG.

You control a bumbling, inept, and ridiculously klutzy, very young Wizard, whose backstory shall remain in the depths of my head for now as I don't wish to give a lot away. He is the descendant of someone important, but again that shall all be revealed later. Perhaps I've already said too much!

The basics of the game are ones you would expect to find in any RPG game:
  • Class system
  • Magic/Hit Point/Stamina system
  • Attack/combat system
  • Level-up system
  • Item drops
  • Various other RPG-type things that we all love
So that's my new idea​, and I'll post some more on it later on. I just wanted to share some of my new plans, and possibly gain some encouragement. This will be quite the task, getting this made, but I've decided it's the game I truly want to make. Right now, I'm just starting the pre-production phase. I don't even have sketches drawn or anything like that yet, but I have a lot of notes and the basic story outlined, so we'll see how much further I get along!


Keeping Cuboidz 2D

Posted by , 15 June 2013 - - - - - - · 634 views

Well, after some considerable thought, I realized that keeping Cuboidz 2D would probably be the best route to go. Finishing the game in GameMaker should be easy enough, after I test out a few more features!

I also spent some time today re-designing the ground tiles for most levels. I will simply re-color them for other levels, as well as design a few more variations for more unique layouts, but this is the basics of what I have so far:

Posted Image

You can see that there's a lot more detail added in, while still keeping the theme of squares and rectangles. I discovered that blending two colors with GIMP's smudge tool, using a noise filter and then using the Posterize effect as the last step really helps to make graphics look retro, and it's easy enough to pull off! These really look somewhere between 16 and 32-bit graphics, eh? Posted Image

The shadow underneath the grass sections really helps to make them "pop" out more, and the squares in the dirt actually serve two purposes.

1) - To reference Sonic the Hedgehog (one of my favorite games of all time!), and
2) - To hide some sections that I couldn't quite make seamless. The squares draw your eyes away from the inaccuracies, and literally cover some of them up! If you look REALLY closely you can still some stuff, but otherwise you wouldn't know they were there!

Now I just have to re-design some of the other sprites, and I'll be good to go!


Would Cuboidz be better as a 2.5D sidescrolling platformer?

Posted by , 06 June 2013 - - - - - - · 711 views
Ideas, Unity3D, Cuboidz
Well, I've been stuck on my Cuboidz project for quite some time. I haven't been working on it that much, because I've realized that 2D, while fun, is rather limiting to several ideas I want to implement in any of my games.

Secondly, as great as GameMaker: Studio is, it has severe limitations when compared to Unity3D. For example, in Unity, you can set up variables in your scripts that you can then access from the inspector, and essentially fine-tune certain things within the editor without having to recode a tone of values. You can even do it while the game is running!

GameMaker has no such option. In fact, its scripting is really rather limited. Do I think it was a waste of $50? Certainly not, but I do wish I had thought about it a bit longer before buying it. It's great for games, just not the one I want to make right now.

Anyway, that's not the point of this post. I'm wondering, would people find Cuboidz to be better in a 2.5D style, similar to Rochard? Or should I stick with the 2D entirely, which can also be done in Unity?

Another reason I'm considering Unity is because it allows for publishing to a wider range of Linux distros, whereas GameMaker officially only supports Ubuntu. There really are a lot more things one can do with Unity!

Anyway, what does everyone think?


Making good progress on new game

Posted by , 26 May 2013 - - - - - - · 488 views
Cuboidz, 2D, GameMaker
Well, I've learned quite a lot about how GameMaker works since I've last posted in this journal, and I've even started developing a game!

It's sort of a "test" game. I chose to make this one before "A Little Epic", because it will be a simpler platformer, and have a much simpler mechanics.

Here's a little video, showcasing (now defunct) graphics, and the basic mechanics. I've done all of this in about 2 1/2 days.




Planned platforms for release include (once I obtain the license) Ouya, Windows 7 and Windows 8, and possibly Mac OS X.

Here's a screenshot, showcasing the updated visuals!

Posted Image


It's been a long, long time...

Posted by , in Uncategorized, A*Little*Epic 28 April 2013 - - - - - - · 610 views

Well, it's been a really long time since I've posted here on GD.net, or used this journal. A lot has happened over the last year.

Aside from continuing pre-production on my game project (previously known as "A Little Epic"), I've been really busy with figuring out what I need to do with my life, and trying to get things in order. I've decided to pursue game design and will begin online classes this summer.

Anyway, I probably won't update this journal very much. I'l be posting in my more public blog. However, I will post occasional updates here as well, for those who don't feel bothered to go to yet another blog (I don't blame you :P ).

Along with everything else, I've decided to use GameMaker: Studio for my game project. GML is a decent scripting language, and the features of GM:Studio are just too nice to pass up. Basically, I had a basic sidescroller working in about an hour, after following all of the tutorials I could find on the subject, and it's really easy to use. It could even do 3D games, though with Unity available, it may be difficult to compete. :P

Anyway, I'm back now, and hopefully I can start working on making this game soon!

-YodamanJer


Life Update

Posted by , in A*Little*Epic 05 June 2012 - - - - - - · 838 views

Well life has certainly gotten in the way of my developing desires.

I work almost full-time at my job now, earning $7.50 an hour, paying bills with said check and occasionally taking my girlfriend out to dinner. It's also pretty much summer now, so I spend less and less time on my computer, enjoying the nice weather outdoors.

I'm also about to head a Youth Group project at my church, so time on the computer will be less and less. Does this mean I'll not be able to develop my game, A*Little*Epic? No!

Part of the reason I haven't been working on it as of late is that I've been looking for a suitable language to code it in. GLBasic was great, but I just can't afford the price of it and honestly, the fact that the code had to be written in all capital letters drove me insane. I then looked into Panda3D, and while that is a GREAT engine for small games, it slows down massively when you add sprites and super-detailed models. It's also ridiculously hard to configure Panda programs to your requirements. It may be an open-source engine but they sure try to make you stick to their specifications.

So I've gone another direction; OpenGL and Java. Thus, I discovered the Lightweight Java Game Library (LWJGL for short).

Interestingly, it's what Minecraft is programmed in, so you know it's quite the capable engine. Paired with a networking library (LWJGL does not support networking off the bat) and some assets, LWJGL will give me the power that I need, in a language I'm finding easier and more powerful than I dreamed possible. Yep, I actually love Java. Time to do some work with it!


It's been a while...

Posted by , 11 April 2012 - - - - - - · 891 views

As the title says, it's been a long time since I've posted here. This is mainly due to the fact that I got a ton of hours at my job and haven't really had much time to sit at home and do much of any game development, let alone programming of any kind. I also discovered how addictive Minecraft can be.

Anyhoo, I've abandoned GLBasic in favor of Panda3D, because Python is slightly easier for me to manage then another BASIC dirivetive. It also runs on all Operating Systems natively, so it's much easier to use for game development.

So in the next couple of months, you'll start seeing some images from a game I'll be developing with it. It's a port of my old game called "Coins Galore", which you can view here on my website. That's also where my main development blog is located.


Multi-Platform Development!

Posted by , 09 October 2011 - - - - - - · 513 views

So I haven't ordered it yet and won't be able to until next Month sometime, but very, very soon I'm getting myself a shiny new iMac. It will serve two key purposes; one is to start developing for Mac OS X with GLBasic, the other is for video editing, which is my other major hobby.

One of the things I hope to do with the iMac is to start changing how many games are available for Mac. Sure, there's a few commercial games available for OS X and multiple games for iOS, but there's just not as many as there could be. It's a shame, because the Mac is capable of great gaming.

My first game for Mac will be for Mac, Windows and of course Linux. It will be the one discussed earlier in my journal, and I'm going to start coding it now on my laptop. Then, when I get my iMac, I'll hopefully have a small demo to produce for it and test it. Then we'll see how it all goes from there. :)


Some problems with GLBasic...

Posted by , 05 October 2011 - - - - - - · 847 views

Fantastic. Just when I thought this tool would be great, I discover a lot of problems with it on my current computer. It could just be my hardware (I am on a laptop, after all), but it's really annoying to have gotten so excited over it and then find some problems.

First, for some reason or another, every now-and-then GLB doesn't want to load ANY font file and goes back to its default barely-readable default font. Terribly annoying, especially when one is relying on it to ALWAYS load the correct font file and use it. My game requires a very specific font to be used. I've made sure that my font file is located in the correct folder...so I have no idea why it's doing this to me. :P

Second, there's problems within setting up the transparency for Sprites, but this at least can be worked with. Originally, I was creating a tileset for my game sprites, and loading a single image and splitting it in a For Next loop.

Fairly simple, eh? Not so much; even after making sure that the originally loaded sprite was transparent, using GRABSPRITE seemingly REPLACED the masked-out pixels with black again, and even using "SETTRANSPARENCY" before "GRABSPRITE" did not work. Someone showed me a way to get around it using polyvectors and it looked simple, but I decided to just save my sprites as standalone tiles. Annoying, yes, but it works.

I'm scared to try 3D stuff because some of the demos show a lot of screwed up faces, particularly the shadow demo. Others look fantastic, though, so I'm guessing it just depends on what shader you're using and what version of OGL you have. I think my graphics chip just really sucks. :P

In the meantime, I'm going to study Blitz3D again, because I found a huge series of tutorials on YouTube in making a 2D platformer with it, and it's easily modifiable to run in GLBasic or even DarkBASIC, and one could also go a step further to making it with C#, which is eventually what I want to learn anyway and have been studying in my spare time with this site, which is a FANTASTIC crash course through the fundamentals of C# but not necessarily on programming itself.

I still want to use GLB someday because the platform support is phenomenally good, but until I figure out why it's not working very well on my computer, I'm sticking with B3D and XNA.

[Edited out the code snippet because it got messed up]






My Gallery Albums

August 2016 »

S M T W T F S
 123456
78910111213
14151617181920
21222324252627
2829 30 31   

Latest Visitors



PARTNERS