Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length

Advanced search

1369313 Posts in 64331 Topics- by 56336 Members - Latest Member: Mr_Germica

November 16, 2019, 02:00:34 PM

Need hosting? Check out Digital Ocean
(more details in this thread)
TIGSource ForumsCommunityDevLogsRocket Shipment: A space crate delivery game
Pages: 1 2 [3]
Author Topic: Rocket Shipment: A space crate delivery game  (Read 5785 times)
Chocolate Pinecone
Level 0

View Profile WWW
« Reply #40 on: August 14, 2019, 05:44:26 AM »

It's a hell of a job, but I think I finally got the resolution settings working.
The majority of the work was not really the changing of the screen resolution itself, but the updating of all the things in screen.
When resolution changes I have to update the background size, update GUI positions and scales and also make sure things keep their aspect ratio.

Next to all this I've implemented a working settings configuration file in which the set resolution is saved. All in all a lot of new stuff which is difficult to show you.

At least I can show you a gif of successfully changing between resolutions.

Next I'll keep working on the game settings. Fullscreen/windowed mode is up next.
Chocolate Pinecone
Level 0

View Profile WWW
« Reply #41 on: August 30, 2019, 06:30:03 AM »

I've been working with a very talented composer whilst coding away, and I'm proud to finally have some music integrated in the game!
Here you can see the music volume setting being adjusted while the music plays.
Even though it might seem very simple, I'm coding everything from scratch which takes some extra effort.

I'm proud to present this snippet of music made by Kaidaw. You can find some other tracks he made for the game here: https://soundcloud.com/kaidaw/sets/rocket-shipment-ost
Chocolate Pinecone
Level 0

View Profile WWW
« Reply #42 on: September 04, 2019, 06:19:00 AM »

‚ÄčIt was quite the journey! A boring one to watch, I'm sure...

After a lot of research and redesigning, I've finished the basic options screen. Most of the work was in the unbuilt systems I was creating settings for.  I did not have systems in place for music, sound, brightness, and window settings. So in parallel to the options screen, I was also creating these systems from scratch.

I've learned more about shaders (as you can see in the gif) and solved a lot of resolution problems, which taught me much.
I even implemented a "reset to default" button to restore the music, sound and brightness settings.

Now that this is finally out of the way, I can focus more on actual game content. I want to start creating the game rules and more mechanics. Also some new object and entities are in scope,

In short, some more exiting stuff is coming up! Keep posted!
Chocolate Pinecone
Level 0

View Profile WWW
« Reply #43 on: September 24, 2019, 12:14:21 AM »

I'm pretty sporadic with the small updates, so I've decided to bundle them into a single monthly update. It saves me precious time because I don't have to post to all the channels that often, and you guys get a nicer, more fleshed out blog post.
Still, if there's enough to tell you guys, I'll post sooner anyway.

Here's what I've been doing this month:

Level designer
Yes, you'll be able to design your own levels in Rocket Shipment. I figured it's a nice thing to add since I built it for my own convenience anyway.
Here's a small peek in how it looks now:

I still need to add in all kinds of features such as:
- Moving the camera by dragging with the right mouse button
- Saving and loading from a specific player workspace directory
- Playing a level that you are currently making

Upscaled GUI for more pixelage
The GUI was too neat and i wanted to see it more pixelly. I upscaled the textures and the look just stuck.
Here you can see the before and after:

In-game menu
This menu will make it possible to go back to the main menu or change some basic settings (Music volume, sound volume, brightness).
I'm not completely sure about the design at the moment, but it's functional. And I first want to have something playable before I start worrying about cosmetic stuff.
Here's how it currently looks:

Game scaling
Before this change, the game did not scale. The GUI did, but the actual game scale remained the same. If your screen or resolution is bigger, you just see more of the surroundings.
This was not a wanted behavior. You should see roughly the same surroundings regardless of your window size. After some research into Views and Windows of SFML, I've implemented scaling based on the window height.
This means the game will adjust its scale depending on your window height. When increasing only width, you should still be able to see more surroundings, which is a nice compromise in my opinion.
It better than those ugly black boxes on the sides or stretching the content.

Version number
It was about time I implemented a version number. I'm showing it in the start menu at the bottom right for later debugging purposes.

Game log
I have implemented a basic game log that is updated constantly. In case something goes wrong, I can debug user problems more easily... I hope...
Of course I'm logging errors in here, but I'm also logging normal events such as loading the start menu and construction of a level.
Here's how it currently looks:

I'm glad to finally show you guys all this progress!
When the editor is set up It's time for some actual level design!
Chocolate Pinecone
Level 0

View Profile WWW
« Reply #44 on: October 11, 2019, 01:31:44 AM »

As you can see I implemented a playtesting feature into the level designer! While designing you can now play your level to check if it's exactly how you planned it to be.
Right now you can only store levels on disk, but perhaps I can later use the steam workshop to make it easier to share levels. I'm not promising anything...

I'm glad I'm really progressing with the level designer! I've drawn and added lots of new tiles.
The total tileset now looks like this:

Editing a level now works clean and fast, cause I don't create and recalculate tile colliders during editing.
Here's a quick look at me screwing around in the editor:

The platform tiles were a bit of a challenge. Technically the soil part under the platform can have 11 different orientations. There are 4 different platform tile orientations for 5 different color types. I could either draw every possible orientation (11x4x5 = 220 sprites in total), or I could draw the platforms on top of already drawn soil tiles.
I chose to do the latter. This would have some complexities such as always creating and removing the sprites together and storing both the soil and platform orientations in the level file.
In the end I got it working nicely! It did require some more effort than originally foreseen, but it was all worth it.

I also integrated a pause functionality into the engine. I'm currently only using it during level designing so the crates don't fall all over the place when designing.

Furthermore I made some changes in my workflow. I was using trello for my to do list, and looked into some of its features.
I discovered a neat way to organize my points into Feature/Bugfix/Marketing catagories and I now also first clearly state the game section in brackets for each point.
After finishing a point, I drag it to "Done" and attach a bitbucket commit for later reference. When writing these devlogs I mention all interesting points in the "Done" list and archive the contents after posting.
Now working on the game feels much more organized and clear, and I have a nice list of progress points to share with you guys.
Just for funsies, here's a look at my trello board:

As you might already see on the board, I still have quite some changes to do to make the level designer better.It's all coming along nicely, and I can't wait to start work on gameplay!
Chocolate Pinecone
Level 0

View Profile WWW
« Reply #45 on: October 25, 2019, 04:16:23 AM »

My work for the last 2 weeks might not be very rivoting. I've done a lot of less visible work for the level designer like:
- Disabling camera movement when a GUI screen is visible
- Disabling other GUI parts when pause screen is active
- Fixing GUI interaction issues during camera movement
- Making GUI in the level designer more clear
- Implementing unicode text input

I've now added a delete button to the load level screen.
In case you want to delete a level you made before, this is how:

Furthermore I've dabbled with implementing zooming in and out in the level designer, but it proved very tricky and basically needed a lot of complex changes to keep the UI graphics stable.
If I need zooming for enything else I might implement it anyway, but for now the effort does not seem worth the gain, so I'm dropping it.

That's it for this small update.
Next on the list is implementing pop up screens for showing errors or other stuff, and then finally some gameplay programming!
Chocolate Pinecone
Level 0

View Profile WWW
« Reply #46 on: November 08, 2019, 12:20:49 AM »

I'm so happy to finally start work on gameplay.
I rounded up work on the level designer with creating some error screens when the user enters an invalid level name for example.
Here's how it looks:

I have a lot planned to work on regarding gameplay now.
I started adding flags to the platforms. The flags make the platform colors a lot clearer, plus it's a nice little heads-up that you found a platform when exploring.
At the top of this post you can see a small preview on how it looks currently while designing a level.

It may not look like much, but I've combined this change with a lot of preparing work for the crate/ship detection on platforms.
Behind the scenes the game now recognizes and manages platforms, which by themselves know exactly which tiles are part of it.

Next on the list after crate detection is a crate delivery counter UI that tells the player how many crates still need to be delivered.
A crate limit per platform is also on the list. This is a bit harder to implement cause I also want the player to be able to set this limit when designing a level theirselves.

I'm currently thinking about how to clearly let the player know the crate they just dropped is successfully delivered. Perhaps changing the color of the crate or something...
Pages: 1 2 [3]
Jump to:  

Theme orange-lt created by panic