@pietepiet Game dev stream raids or riot ヽ༼ຈل͜ຈ༽ノ FrankerZ Kappa (Today)

RT @psychicteeth: I've just released Cottage of Doom, and it's 75% off for the Halloween weekend! GET IT OR ARE YOU SCARED t.co/o6Pw… (Today)

@rustym Yeah it's like "You got +150XP for doing something in the game, now your gun has +10% accuracy!" (Today)

@siegarettes I think Valve just focuses on making a really solid experience so playing the game itself is addicting. (Today)

@TheKazvon I'm sure that's coming some time after the game comes out x_x (Today)

@Anlysia Not familiar with Payday, but it's really similar to the modern Battlefield system. t.co/WMp1VbCehD (Today)

@siegarettes Yeah you level up your abilities based on XP you get from playing. t.co/WMp1VbCehD (Today)

I'm so mad about this because Evolve looked like a super fun asymmetrical multiplayer game, and it's fucked by a stupid progression hook. (Today)

@KurpUnderscore Cosmetic stuff, sure, whatever, but shit that effects the core game balance by how long you've played? Fucking bullshit. (Today)

Was pretty excited about Evolve until I saw the player progression screen. Fuck this stupid time sink for better shit bullshit fuck. >:I (Today)

@isabelboyd @VancouverAqua aahhhhhhhh <3 (Yesterday)

@adventureface the eternal spirit of macho man randy savage watches over you (Yesterday)

@infinite_ammo @MattThorson nooo it okay don't be anxiety t.co/9StKYrUHWu (2 days ago)

@amora_b @Chris_Rock @konjak AND THIS! t.co/MNY5O1dEsg (2 days ago)

@phubans consider yourself training in 100x gravity (2 days ago)

Coin Crypt is out on Steam now and you should def check out that hotness t.co/c9I5QnxS5Q (2 days ago)

@infinite_ammo @TommyRefenes @BeeMickSee and then eventually mr plinkett will review a movie that we're all in #endgame (2 days ago)

@BeeMickSee @TommyRefenes @infinite_ammo YES INFINITY WARS IS HAPPENING 2 MOVIES FUUUUUUCK (2 days ago)

@infinite_ammo Hahah this is like the opposite of how I feel about all of these movies. * o * (2 days ago)

@aeiowu being greg wohlwend (3 days ago)

follow
search

2013 - 2 - 25 / 2:13 pm / games

Dev Log: Platforming Camera

Dev Log: Platforming Camera

Chipping away at things in my remake of my Global Game Jam game. Now that I have more than 48 hours to make the game, I've been taking some time to figure out some things that I've been neglecting for the past couple years of making short form game jam games.

In Offspring Fling, there is very little scrolling. I think only one level actually scrolls both horizontally, and vertically. On top of that there are still only a few levels that scroll at all. This means that I didn't really have to worry about a complex camera, I just have the camera follow the player with a little bit of a drag and it works out mostly fine.

For this new game I'm working on, there's a bit more platforming, and almost every level will have scrolling in it, and there will be some big and open rooms... so I want to have a better camera system in general to handle platforming.

What do I mean by this? Take a look at this breakdown of the camera system from Mario World.



This kind of camera system is pretty crazy. There's a lot going on behind the scenes to make sure that the camera is showing the player exactly what they need to see. This is definitely one of those things where if you do it right, nobody will notice you're doing anything at all, but it is incredibly difficult to get this kind of stuff right.

I spent most of yesterday experimenting with a camera system like this. The last time I actually did any sort of complex camera system was Jottobots, and honestly the system in that game is very simple compared to something like Mario World. The main thing in Jottobots is the camera blocking techniques, and not following the player too much when they're jumping.

For now, this is what I'm currently working with:

Image
I still have some work to do on the horizontal movement stuff because I'm not quite happy with it yet, but it seems to be working pretty well in the vertical side of things. The camera only tracks to the player vertically when they've been standing on a platform for a little while, and if they fall off a platform without jumping then the camera will follow them directly. I'm pretty pumped that this only took a few hours to put together! Back in my Multimedia Fusion days something like this would take me a week to figure out how to do.

One last thing! I made that gif of the game running with LICEcap and Photoshop to compress the gif a little bit. Turned out pretty good I think! ALSO check out this follow up video to that Mario camera system break down that shows some behind the scenes stuff on a rad camera system. Shout outs to Shaun Inman!

5 Comments
Avatar

2013 - 2 - 26 12:32 PM

Toth

hey kyle, great post, i had never realised how the camera in Mario worked, its more complex than i thought.

I have a question for you, in this game you are making now, are you using AIR?

Avatar

2013 - 2 - 26 7:56 PM

Kyle

Howdy! I am indeed using AIR!

Avatar

2013 - 2 - 27 4:50 PM

Toth

Thats nice!

I dont know if this is the right place to talk with you about this, but i would like to know your opinion about the flash future? ( i'm still using it too^^)

Avatar

2013 - 2 - 28 11:18 PM

Kyle

I don't think Flash is going anywhere any time soon to be honest. HTML5 feels mega hyped to me and I'm curious to what things will be like maybe a year from now, but I think flash will still be solid. Even if Flash becomes obsolete, alternatives like HAXE will still be good stepping stones for Flash developers.

I'm planning on transitioning away from Flash in the near future just because of performance issues. If Flashpunk 2 comes out and it's as good as Flashpunk 1, and the performance from Stage 3d is good enough then I'll go back and check it out... but I'm going to see how MonoGame and C# treat me later this year. I'm finishing out one more project in AS3, and then I'm going to switch for awhile.

Avatar

2013 - 3 - 1 3:15 AM

Toth

Thanks for the answer.

Yeah, after Adobe said that they wouldn't make the as4 and the new avm I'm feeling that it's really time to change.
I like flash a lot, but performance its really something...
I dont like HTML5 xD and i want some more powerfull for PC gamming, and for now theres no way to go for C++.

I have a friend who tested flashpunk 2 and said that it was awesome
I started to learn c# to go with Monogame, for me it seen like the best option for now.
Just like you, finishing my as3 projects and moving on.

And by the way, if you want to check there's one trailler avaiable for now of that project
http://www.youtube.com/watch?v=pSwXwz5oHg0

Avatar

Post your comment!

POST COMMENT

about

About

Hi there, my name is Kyle, and I'm a 27 year old kid with adult powers. I'm making video games and living the indie game developer life in Tempe, Arizona. Here you will find my thoughts, games, websites, doodles, and other stuff like that. I worked on Snapshot, Offspring Fling, and a whole bunch of other games. I also created and maintain Otter, a 2d game making framework. If you want to get a hold of me use the form on the bottom of the page, leave a comment, or just tweet at me. I try to post three times a week. Thanks for stoppin' by! You're the coolest.

facebook

videos

Do you want to make a Let's Play of one of my games, or a just a video featuring footage of my games? You have my full permission to do so! Even if you are monetizing your videos, you still have my full permission to use any footage from any of my games. Go for it!

contact

Your message has been sent! Thanks :)
SEND MESSAGE