Back to the main site.
User Info
Welcome, Guest. Please login or register.
Did you miss your activation email?
Sat 31 July, 2010, 23:54:58

Login with username, password and session length
Search:     Advanced search
News Box
SMF - Just Installed!

Key Stats
103 Posts in 73 Topics by 14 Members
Latest Member: Mikha
Home Help Search Login Register
Propellor and Ratchet Games  |  P&R Related  |  News  |  On Concentration « previous next »
Pages: [1] Go Down Reply Print
Author Topic: On Concentration  (Read 196 times)
Ratchet
Prevents it from going backwards.
Administrator

Not currently in-game.

Sr. Member
*****

Shmuptitude 1
Offline Offline

Posts: 64


View Profile WWW
« on: Sat 13 February, 2010, 14:09:49 »
Reply with quote

Remember how I posted the platformer video last week? We'd decided we were going to focus on Platformer, now, and try to get a game done. Propellor even suggests this. No more new games, just write down new ideas to go back to later (we already have about ten game ideas, most of which have been started and abandoned). We'll get the platformer going.

Then on Tuesday, "Hey let's do a shooting game that uses Twitter updates to make enemies."


Guess what we're working on now  Cry

EDIT: This is what I get for posting half-way through the day. Check after the jump for a video!

So, when Pete first discussed the idea with me, we could obviously think of a lot of cool ways to put Twitter-related things into the game. An idea I really like (but we might not use) is using the player's Twitter avatar to define how their ship looks.
First I defined some strong-shaped ships for pure red, green and blue, all based on the same number of points and having the points join up in the same way. That way they'd scale and look right with point settings halfway between.
After getting a headache trying to work out how to interpolate between the colours/shapes properly, and getting mixed up between RGB and XYZ, I managed to get a pretty good solution. Out of the R G and B values that the ship class is sent, it adds them up and then works out what fraction of the total is allocated to each colour. then it adds the same fraction of that colour to each point. Can you see why it gave me a headache?
Say it's given 0.5, 0.5 and 0.2 as the values; that adds up to 1.2.
0.5 is about 40% of 1.2; 0.2 is about 20%.
So, for each point on the new ship, it's made up of 40% of red's point, 40% of green's, and 20% of blue's. (also that's about this colour. Blech.)

In the video, anyway, you'll see red, green, blue; then white, random, and finally the ones for mine, Prop's and P&R's twitter avatars.

Mine's a pretty clear green, but Prop's has ended up quite muddy. I might yet work out a way to boost the colour a little on dull avatars.


Tune in next week for probably another game all together!
« Last Edit: Sun 30 May, 2010, 18:37:54 by Ratchet » Logged
Pages: [1] Go Up Reply Print 
« previous next »
Jump to:  

Powered by SMF 1.1.9 | SMF © 2006-2009, Simple Machines LLC
Theme based on Serene Forest, Created by SoulGamerz.net | Buttons by Andrea