Archive for the 'Personal' Category

WebOS, blogging and GMod

Luaduck let me know about the WebOS SDK on Steam friends today. For those who don’t know what WebOS is, here’s a small summary:

WebOS_Launcher[1]Palm webOS is a mobile operating system running on the Linux kernel with proprietary components developed by Palm.

webOS’s graphical user interface is designed for use on devices with touchscreens. It includes a suite of applications for personal information management and makes use of a number of web technologies such as HTML 5, JavaScript, and CSS.[4][5]Palm claims that the design around these existing technologies was intended to spare developers from learning a new programming language.

So, basically, you write applications in HTML or Java. Setting up the development environment took some time, but writing the Hello World application was worth it. You can just drag images, stylesheets and other files to your project, press the play button and your application runs in the Palm Emulator.

2uz2p15[1]

Neat.

New avatar

237537ed1e5ce13b50268c5a292a2872a5e3e835_full[1]That brings me to my next subject. I made a new avatar, again with our beloved male_07. This time he wears a rebel suit and has a cheesy smile. Took about 20 minutes to get the smile and pose right and about 10 minutes to find the tutorial for the rising sun background.

Windows Live Writer

Actually, you might be surprised now that I’ve posted a new blog post within a week of posting the last one. That’s because I’ve discovered a shiny new tool to make updating my blog a lot easier: Windows Live Writer. I’m not going to discuss all of it, as Garry already covered it, but it’s like writing a blog post with Word. You can position items wherever you want, insert images from any source automatically and all you have to do to configure it is inserting your blog url and username and password. Really cool.

Fretta gamemode contest

23hk84x[1]I’m pretty sure most of you have already heard of it, but Facepunch Studios is hosting a gamemode contest with prices ranging from $1000 to $5000, read more about it here. Anyway, I’ve started working on my own entry: Flood Control. It’s pretty much a remake of Puzzle, only it’s third-person, there’s two teams and there’s rising water. Here’s a full description.

Evolve menu and scoreboard

I can’t tell a lot about this yet, but the menu of Evolve will be integrated into a custom scoreboard. This has several advantages:

  • You don’t have to bind a key to some obscure command.
  • It integrates better into GMod which is one of the goals of my admin mod.
  • I can make the menu look more interesting.

More information about this soon enough.

I’d like to end this time with a video of RayWilliamJohnson, featuring a cat which actually says OM NOM NOM while eating. Worth checking out!

I’ve slept in an airplane

Doesn’t sound so special, for example when you’re flying to the states from Europe, but this was a little different.

This hotel had an old military airplane for people to sleep in! It consisted of two suites, one for the front part and one at the tail, but cheeky as we were, we booked both. I forgot my camera, so I can’t show you, but it was pretty damn cool.

The cockpit was mostly in tact and it had 3 small HD televisions. Unlike the picture on the left it was on a 10 meter high pole, so you kinda had the feeling you were actually in the air. I haven’t really spent time outside the airplane during our stay, because it was quite hot outside. I’m sure, you guys know what I’m talking about.

Now, for CakePhysics I just came up with an awesome idea for the GUI. Here it is:

What do you think of it?

Physics, sockets, anti-aliasing and a hell of a lot more!

Holyshit, it’s been a while! Last week I wanted to write a blog, but the final week of school kept me occupied. To make it up to you guys, I’m going to make this blog as interesting as possible. Anyway, let’s start with small stuff and end with the climax, shall we?

To start off, I installed a new theme for XP today and picked a new wallpaper.

Not bad, amiright? I can tell you it’s not easy to find such a wallpaper for a widescreen monitor. After trying Google Images, I almost gave up, but finally found this one on DeviantArt. Why New York? Well, cityscapes like these simply fascinate me. It makes your wallpaper come to life in my opinion.

iPhone OS 3.0

A week ago I bought iPhone OS 3.0 for my iPod Touch. Basically it adds copy/paste, peer-to-peer gaming, Safari improvements and a lot more stuff. I can tell you it is worth the 8 euros. The copy paste feature is really one of those features you can live without until you got it. I immediately jailbroke it again and reinstalled my theme. For those interested, I’m happily using the Monochrome theme. Here’s a screenshot of it:

Motion Kit

Last weekend I decided to start working on Motion Tracker again, the ingame movement recorder. Since I thought the name WebKit sounded awesome, I decided to rename it to Motion Kit. I worked my ass off to write the new recording and replaying code and to make it all work smooth. It’s still far from done, but here’s a video of the progress:

If you want to try it out and personally know me, ask me on Steam Friends to boot up a server and demonstrate it. I just don’t think it’s ready to be tested by the actual public yet.

CakePhysics

CakePhysics is what you could call “my life work”. I’m writing it for three main reasons:

  • Getting to learn C++ and DirectX better
  • Having a demonstration of my (C++) programming skills
  • Creating a nice game to show off

Actually, in the last four days I’ve made a lot of progress. It isn’t limited to boxes anymore, it doesn’t use sprites anymore, it has a console now, it doesn’t crash randomly anymore and the first interactivity has been added. Here’s a nice little screenshot of its current state:

Oh and guess how easy it is to add anti-aliasing in DirectX?

d3dpp.MultiSampleType = D3DMULTISAMPLE_8_SAMPLES;

That easy! :3 Want to try it out? Download it here and have some fun with it! Let me know if anything goes wrong or of course if you just want to tell me what you think of it!

Tons of creativity

A lot of stuff has happened between this post and the last one. To start off, I got really tired of the spammers when I started to get 12 e-mails per hour saying I had a new message in the guestbook. I decided to use my PHP GD Library skills once again to write a captcha, and I think it looks pretty damn cool.

Anyway, as of this article, I’ll finally be able to post new blogs on the site itself. This is how I used to post articles:

Lol. Then there’s the thing I need to do for a subject at school. I need to design something for people who only have one arm. My partner came up with the idea of a tool to get hot oven dishes out of the oven easily. He also gave me an idea of the design, I finetuned it and finally modelled it in SketchUp.

Who said school can’t be fun? Then Manadar commented it was too damn heavy to lift and I replied stating that people with one arm less need less energy and therefore less food, heh.

Also, yesterday I wrote one hell of an article about Fretta for garrysmod.com. It was kind of a comeback for me, since I thought the site lacked interesting content. I’d like to do more things like a column about GMod culture, we’ll see.

Still no menu for Evolve unfortunately, but I must say I made quite some progress on it. Groups and immunity are now fully supported and I made a settings class for simple settings saving, which is demonstrated in the restriction.lua plugin. Basically you can do things like this:

Evolve:SetSetting( "OvervIsAwesome", true )
-- Server restart
if Evolve:GetSetting( "OvervIsAwesome" ) then
     -- This code is now ran :>
end

And then, there is CakePhysics. Since my last post I got a shitload further. I’ve learnt how to work with DirectX, picked up the Win32 API again and this is a screenshot of the result so far :D

It already looks pretty cool, but there really isn’t anything to play with yet. The drawing is completely dynamic, but the world creation so far is static. By that, I mean that the box positions and stuff are hardcoded. But still, very awesome to look at! Note that I limited the FPS to the physics updates, otherwise it would exceed 4000, but 4000 frames per second don’t help much when the image on screen only changes about 60 times per seconds :P .

That’s basically it for today. *Tries to come up with something witty to end the blog* Damn’t :3.

Awesome stuff and not so awesome stuff

Yesterday was my birthday and it was awesome. Everyone on Steam Friends was congratulating me, but there’s probably no way around that since I tend to be such an attention whore at moments like those :3. I got the game Empire: Total War and the rest of the budget for buying games coming soon like Bioshock 2. I also went to the cinema to see Angels and Demons, which was truly epic. I really like those kind of movies! :)

Evolve

There’s not a lot to tell about Evolve right now, but I can assure you it’s going as good as I want so far. I’m looking forward to working on the GUI, but for now it’s simple getting all NewAdmin commands back. In the future the Evolve framework will very likely consist of the following ‘classes’:

  • Plugin manager
  • Settings class – Will save settings like whether to show playernames

CakePhysics

I also rediscovered the free, open source physics engine Box2D. It’s really easy to use, especially when you write a quick little wrapper class for it. Basically, a wrapper class simplifies things :P . Now, this is all I need to simulate a box falling to the ground:

#include "stdafx.h"
#include "Box2D.h"
#include 
#include "physics.h"

int main( )
{
	phys->createWorld( 640.0f, 480.0f, -9.81f, true );
	phys->createGround( 640.0f, 480.0f );
	b2Body* box = phys->createBox( 320.0f, 4.0f, 1.0f, 1.0f, 1.0f, 0.3f );

	for ( int i = 0; i < 60; i++ )
	{
		phys->simulateWorld( 1.0f / 60.0f, 8, 1 );

		b2Vec2 position = box->GetPosition( );
		float angle = box->GetAngle( );
		bool isSleeping = box->IsSleeping( );

		printf("%4.2f %4.2f %4.2f %s\n", position.x, position.y, angle, isSleeping ? "True" : "False");
	}

	getchar();
	return 0;
}

Finally, I want to make this into a small physics sandbox like Phun! I’m mainly making this as a demonstration project of my skill and for tuning my C++ skills.

Now the less awesome stuff you’ve been waiting for :V. If you’re a regular visitor of Facepunch, you know that Hezzy is all about the moderator team. Well, one of my fellow GMod.com admins, mm3guy, has just been promoted to Super Moderator to replace DaveP. Of course I envy him, but in my eyes he did deserve it the best of all moderators on gmod.com.

What annoys me more, however, is that Hezzy completely ignores me. Mahalis, the Lua forum moderator, recommended me to Hezzy a while ago to join him in moderating the Lua forum, but I had to do with a ‘no’. I just want to know why he hates me so much…

So, that’s my rant for today.