• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 10:58
CEST 16:58
KST 23:58
  • Home
  • Forum
  • Calendar
  • Streams
  • Liquipedia
  • Features
  • Store
  • EPT
  • TL+
  • StarCraft 2
  • Brood War
  • Smash
  • Heroes
  • Counter-Strike
  • Overwatch
  • Liquibet
  • Fantasy StarCraft
  • TLPD
  • StarCraft 2
  • Brood War
  • Blogs
Forum Sidebar
Events/Features
News
Featured News
BGE Stara Zagora 2025: Info & Preview27Code S RO12 Preview: GuMiho, Bunny, SHIN, ByuN3The Memories We Share - Facing the Final(?) GSL47Code S RO12 Preview: Cure, Zoun, Solar, Creator4[ASL19] Finals Preview: Daunting Task30
Community News
Weekly Cups (June 2-8): herO doubles down1[BSL20] ProLeague: Bracket Stage & Dates9GSL Ro4 and Finals moved to Sunday June 15th13Weekly Cups (May 27-June 1): ByuN goes back-to-back0EWC 2025 Regional Qualifier Results26
StarCraft 2
General
Code S RO8 Preview: Rogue, GuMiho, Solar, Maru Jim claims he and Firefly were involved in match-fixing The SCII GOAT: A statistical Evaluation StarCraft 1 & 2 Added to Xbox Game Pass CN community: Firefly accused of suspicious activities
Tourneys
Sea Duckling Open (Global, Bronze-Diamond) Bellum Gens Elite: Stara Zagora 2025 $3,500 WardiTV European League 2025 Sparkling Tuna Cup - Weekly Open Tournament SOOPer7s Showmatches 2025
Strategy
[G] Darkgrid Layout Simple Questions Simple Answers [G] PvT Cheese: 13 Gate Proxy Robo
Custom Maps
[UMS] Zillion Zerglings
External Content
Mutation # 477 Slow and Steady Mutation # 476 Charnel House Mutation # 475 Hard Target Mutation # 474 Futile Resistance
Brood War
General
BGH auto balance -> http://bghmmr.eu/ FlaSh Witnesses SCV Pull Off the Impossible vs Shu BW General Discussion StarCraft & BroodWar Campaign Speedrun Quest Will foreigners ever be able to challenge Koreans?
Tourneys
[ASL19] Grand Finals NA Team League 6/8/2025 [Megathread] Daily Proleagues [BSL20] ProLeague Bracket Stage - Day 2
Strategy
I am doing this better than progamers do. [G] How to get started on ladder as a new Z player
Other Games
General Games
Stormgate/Frost Giant Megathread What do you want from future RTS games? Armies of Exigo - YesYes? Nintendo Switch Thread Path of Exile
Dota 2
Official 'what is Dota anymore' discussion
League of Legends
LiquidLegends to reintegrate into TL.net
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread Vanilla Mini Mafia
Community
General
US Politics Mega-thread Things Aren’t Peaceful in Palestine Russo-Ukrainian War Thread Vape Nation Thread European Politico-economics QA Mega-thread
Fan Clubs
Maru Fan Club Serral Fan Club
Media & Entertainment
Korean Music Discussion [Manga] One Piece
Sports
2024 - 2025 Football Thread Formula 1 Discussion NHL Playoffs 2024
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List
Blogs
A Better Routine For Progame…
TrAiDoS
StarCraft improvement
iopq
Heero Yuy & the Tax…
KrillinFromwales
I was completely wrong ab…
jameswatts
Need Your Help/Advice
Glider
Trip to the Zoo
micronesia
Customize Sidebar...

Website Feedback

Closed Threads



Active: 36628 users

Student Game Dev Part Ten - Progress, and Videos

Blogs > Soan
Post a Reply
Soan
Profile Blog Joined August 2010
New Zealand194 Posts
January 31 2014 01:27 GMT
#1
+ Show Spoiler [Previous parts] +
Part One - It begins
Part Two - Technical Foundation
Part Three - Game Design
Part Four - Input and Physics
Part Five - More Physics Things
Part Six - Even More Physics
Part Seven - User Interface
Part Eight - UI and the Editor
Part Nine - Editor Progress


This Week
Hello again TeamLiquid! Welcome back to my blog about the development of The Adventures of Sam the Pirate, the 2D platformer I'm creating as the final game project for my Bachelor of Software Engineering degree. Last week I covered the progress I'd made on the level editor, getting scrolling working, and performance issues I've run in to. This week I'll be talking about something, and showing off a couple videos I made during the week.

Progress
I managed to get the physics running at a frame rate of 60 fps, completely independent from the rendering frame rate. This has the benefit of 100% ensuring that everything is going to move around and react completely the same, no matter what machine you are running the game on. This also could open up the possibility of saving level replays, which is something I will definitely be thinking about in the future. Replays is not something I will be adding before the end of May, when I graduate, but it is something that I could add afterwards. If you want to know how I did it, this article is where I started. I did get stuck for a while on the last step, where you interpolate between the previous and current positions based on the ratio of accumulator time left vs your target delta time. Initially I was taking the result of this interpolation and saving it back into the current position, which was then used to render the object. As the article mentions, I ended up with a terrible stuttering effect. I don't think I quite understood the first time I read the article, that the result of the interpolation is the position you use to render.

Played around with movement a bit this week as well. Sped it up a bit, and now moving around feels a bit better. Some aspects of falling down, such as when you run off a platform, don't quite feel right. Almost seems like it takes a brief moment for gravity to actually take effect, so I'll be continuing to fiddle around with movement.

Performance
I tested the game at home over the weekend, on my laptop, and it was unfortunately completely unplayable. Debug mode simply sat at 0 fps, which was kind of depressing as it meant I couldn't really do any work at home. Release could be played, but the fps was massively unstable and swung up and down all the time, anywhere from 15, to 100. Somehow I've managed to get a bit of a performance increase this week, as I've noticed an fps increase, and I'm not even sure what I did. Maybe properly fixing the physics has helped, as previously there would be a small amount of time leftover at the end of the physics processing, which rolled over to the next frame. So eventually the physics system would process all the physics objects an extra time in order to keep up with the rendering. Now that this extra time is consumed, and there is no rollover between frames, perhaps everything is more stable and so I get an increase in performance? I'm not really sure but I don't know what else would have improved it so that is my best guess. The massive changes in fps in the release build on my laptop is something that points me towards this conclusion, so I'll find out next time I run it on my laptop.

I am still slightly concerned though, as like I said last week, I've still got enemies, moving platforms, etc to add in. So it is possible that performance will still drop to the point of being terrible and needing serious improvements. When I attempt a commercial release, I think I will definitely have to convert the rendering to OpenGL first, as I think it will be required to ensure better performance across a wider variety of machines. Using SDLs built in 2D rendering, which is what I am doing now, may probably be fine for the rest of the project, as long as it runs smoothly on these machines at school, I will be able to submit it for marking, demo it to the tutors, etc, no problem.

I will be testing it on my laptop at home again this weekend, and seeing if I really have improved performance enough to run it in debug mode at home. Otherwise I'll be seeing how performance goes over the next few months, before deciding whether I need to switch to OpenGL before finishing the project and graduating in May.

Videos
First up, I've got a gameplay video for you. You can see in this video that movement was pretty slow and floaty. As I mentioned earlier, I've been working on this and it is a bit better now, but I'll still be working on it.


Next up is a video of the level editor that I'm working on, and that I used to make the level shown in the gameplay video above. There is still quite a bit of work to be done here, both on UI stuff to create all the menus I need etc, and to allow me to add enemies, moving platforms, etc. I do quite like how I got the tiles to change depending on what other tiles are around them though, pretty pleased with that.


What's next?
Over the next week I will be continuing to fiddle with the movement, fix a couple bugs in the physics code relating to collision reactions and some jittering. I'll also be finally adding in new debug commands before my final alpha milestone is due next week.

Keep up to date!
Be sure to follow me on Twitter, and like the Facebook page to stay up to date on future content and blog posts when they happen. If you have any questions don't hesitate to ask, either through Twitter or Facebook!

TylerThaCreator
Profile Blog Joined May 2011
United States906 Posts
Last Edited: 2014-01-31 03:10:01
January 31 2014 03:06 GMT
#2
There's something charming about the debug look, perhaps you could come up with a game later that just remains in that state. Maybe a section of a future game where you enter the code world or something, akin to like Stanley Parable where you explore sections of the map not intended for people to reach yet, filled with dev textures and what not.

Moving appears to be a bit floaty for a platformer like you've mentioned, but everything is just in its alpha stages so it's fine, just tinker on . I've just read basically all of your blogs and am looking forward to your progress.
aka SethN
Doominator10
Profile Joined August 2012
United States515 Posts
January 31 2014 18:27 GMT
#3
As a freshman entering compsci for game design, I think I might keep an eye on these Looks like a lot of work done and to be done.
Your DOOM has arrived,,,, and is handing out cookies
Please log in or register to reply.
Live Events Refresh
WardiTV Invitational
11:00
WardiTV June Groups A & 1/2C
Harstem vs PercivalLIVE!
Krystianer vs MaxPax
YoungYakov vs Spirit
Krystianer vs YoungYakov
WardiTV1165
IndyStarCraft 195
Rex173
LiquipediaDiscussion
Replay Cast
10:00
StarCraft Evolution League #13
CranKy Ducklings108
LiquipediaDiscussion
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
Harstem 322
IndyStarCraft 195
Rex 173
ProTech83
StarCraft: Brood War
Britney 26692
Sea 5063
EffOrt 1325
Stork 604
Light 420
Larva 416
Mini 390
Snow 349
actioN 290
ggaemo 249
[ Show more ]
ZerO 227
BeSt 193
Nal_rA 149
Pusan 87
Mong 66
Sea.KH 63
Hyun 60
Sharp 58
sas.Sziky 58
sSak 51
GoRush 48
Movie 39
Sacsri 37
Aegong 26
Backho 19
Trikslyr17
Terrorterran 12
yabsab 9
Shine 9
Dota 2
Gorgc9622
XcaliburYe623
syndereN437
Counter-Strike
olofmeister1303
fl0m1175
Stewie2K688
Foxcn519
byalli292
edward88
rGuardiaN9
Heroes of the Storm
Khaldor87
Other Games
singsing2012
B2W.Neo1460
DeMusliM399
Lowko290
crisheroes243
XaKoH 182
ArmadaUGS165
Mew2King116
KnowMe66
QueenE59
ZerO(Twitch)16
Organizations
StarCraft: Brood War
UltimateBattle 1768
Other Games
BasetradeTV30
StarCraft: Brood War
Kim Chul Min (afreeca) 9
lovetv 9
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 15 non-featured ]
StarCraft 2
• poizon28 14
• intothetv
• AfreecaTV YouTube
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• C_a_k_e 3622
League of Legends
• Nemesis10323
• Jankos1740
• TFBlade1118
Upcoming Events
PiGosaur Monday
9h 2m
GSL Code S
18h 32m
Rogue vs GuMiho
Maru vs Solar
Online Event
1d 9h
Replay Cast
1d 11h
GSL Code S
1d 18h
herO vs Zoun
Classic vs Bunny
The PondCast
1d 19h
Replay Cast
2 days
WardiTV Invitational
2 days
OSC
2 days
Korean StarCraft League
3 days
[ Show More ]
CranKy Ducklings
3 days
WardiTV Invitational
3 days
Cheesadelphia
4 days
CSO Cup
4 days
GSL Code S
4 days
Sparkling Tuna Cup
4 days
Replay Cast
5 days
Wardi Open
5 days
Replay Cast
6 days
Replay Cast
6 days
RSL Revival
6 days
Cure vs Percival
ByuN vs Spirit
Liquipedia Results

Completed

CSL Season 17: Qualifier 2
BGE Stara Zagora 2025
Heroes 10 EU

Ongoing

JPL Season 2
BSL 2v2 Season 3
BSL Season 20
KCM Race Survival 2025 Season 2
NPSL S3
Rose Open S1
CSL 17: 2025 SUMMER
2025 GSL S2
BLAST.tv Austin Major 2025
ESL Impact League Season 7
IEM Dallas 2025
PGL Astana 2025
Asian Champions League '25
BLAST Rivals Spring 2025
MESA Nomadic Masters
CCT Season 2 Global Finals
IEM Melbourne 2025
YaLLa Compass Qatar 2025
PGL Bucharest 2025
BLAST Open Spring 2025

Upcoming

Copa Latinoamericana 4
CSLPRO Last Chance 2025
CSLPRO Chat StarLAN 3
K-Championship
SEL Season 2 Championship
Esports World Cup 2025
HSC XXVII
Championship of Russia 2025
Murky Cup #2
Esports World Cup 2025
BLAST Bounty Fall 2025
BLAST Bounty Fall Qual
IEM Cologne 2025
FISSURE Playground #1
TLPD

1. ByuN
2. TY
3. Dark
4. Solar
5. Stats
6. Nerchio
7. sOs
8. soO
9. INnoVation
10. Elazer
1. Rain
2. Flash
3. EffOrt
4. Last
5. Bisu
6. Soulkey
7. Mini
8. Sharp
Sidebar Settings...

Advertising | Privacy Policy | Terms Of Use | Contact Us

Original banner artwork: Jim Warren
The contents of this webpage are copyright © 2025 TLnet. All Rights Reserved.