Archive
Android terrain test
Hello :), a while ago I decided to learn OpenGL ES 2.0 in Android, so I decided to make a simple terrain, and now I want to share my thoughts about this experience :D.
Edit: after reading this post please take a look at Android Terrain Test 2 : Clouds where the code is better and bugs are fixed (clouds were added too 😛 ).
Hex Screen
Intro:
Hello, it’s been more than three months since my last post, it’s also been more than three months since I last opened Visual Studio :(. A few days ago I decided that I should write something with XNA, that’s when I decided to write Hex Screen :D.
Hex Screen?
Hex screen is a 3D screen made up from hexagons, the cool thing about this screen is that hexagons can be animated to give nice effects, hexagons can be rotated, moved and scaled.
Another screenshot 😀 :
FuchsGUI Update
Hello there, sorry for being inactive lately but I don’t feel like programming or learning something new :(.
Anyway, I fixed the issue in FuchsGUI where some text was blurry, the reason was that the text was being rendered with floating point values for position, something like (20.3f,29.4), this meant that spriteBatch should split physical pixels :(.
Anyway, thanks to a guy named Fab who told me how to fix this, the solution was something like this:
position.X = (int)Position.X; position.Y = (int)Position.Y; // Render here
So, here’s the fixed version (XNA4 only):
FuchsGUI v1.1 Source Bin XNA4 (Blurry Text Fixed)
I hope to see you later :)…
RobotWarz Alpha Release
Introduction (a boring one maybe 😉 ?)
Good morning\evening or whatever suites your timezone :).
I’ve been waiting for this :D!, I’ve finished programming the alpha release of the game.
The reason I’m publishing it right now is because It might take me some time to have a full game, so by publishing an alpha release I can get opinions & suggestions from people which will encourage me to complete the game.
This release isn’t meant for end-users but rather for fellow programmers.
Unfortunately my laptop doesn’t have a graphics card so Read more…
RobotWarz Demos
Hello there :D, Sorry for the delay but I’m having some really serious internet problems :(.
Here are three videos of my XNA game RobotWarz uploaded on YouTube.
1- RobotWarz Demo:
just me playing against AI robots, I destroy them, they destroy me, it’s full of action :D.
2-RobotWarz Features:
this video demonstrates most of the techniques I used in the game such as Read more…
Stay tuned :P
Three videos of my game RobotWarz are coming soon…
One week after that I will publish the game here on the blog 😛
Here are two screen shots 😉
Busy busy busy busy :@
It’s been more than a month since my last post, I didn’t run out of ideas yet! but I’m really busy with college & its projects :(.
One of the projects I’m working on is a game for a Graphics project. it’s a third person shooter game, you can watch this short video to get an idea about the game 😀
Stuff to share later when I get the time to:
1-XNA Glow effect (post processing) : how to make your models glow!

Glowing Effect : Look how the red parts of the object are glowing, the glow extends towards the out side of the mesh
2-Third Person Shooter aiming :aiming in third person shooter is Read more…
D.I.C XNA 3 Week Challenge
My Game Space Defender has just won the second place in the Dream In Code XNA 3 Week Challenge.
Well, I didn’t finish my game in three weeks but I participated anyway :), Actually my game was already done when the challenge was announced, What a coincidence haha :D.
Robin19 – The Saga: Honorable Mention
LanceJZ – Space Zomie: Bronze Winner
Gray Fox – Space Defender: Silver Winner (and yes my nickname was Gray Fox before moving permanently to Fuchs 😀 )
Vmpwje – Block Invaders: Gold Winner
XNA Fuchs InputHandler
Introduction:
Each XNA “Game” I program I have to take input, something like the following
KeyboardState prevKeyboardState; protected override void Update(GameTime gameTime) { KeyboardState keyboardState = Keyboard.GetState(); if (keyboardState.IsKeyDown(Keys.Left) && prevKeyboardState.IsKeyUp(Keys.Left)) { // Do stuff } prevKeyboardState = keyboardState; }
I have to create two KeyboardStates, one for this frame & the other is for the previous frame. Then in most cases I check that some button is pressed only in a frame not in its predecessor…( because even if you press a button and remove your finger quickly the, button will be considered pressed in more than one frame )
Same issue goes for the mouse.
So I thought I should create my own input handler, Read more…
File To Image Converter
When I run out of programming ideas I program some weird & sometimes useless stuff just for fun :D.
This program converts a file into a bitmap and then saves it as a Png\Bmp image, the file then can be retrieved (along with its name) from the image.
The idea is that each pixel in the bit map contains 3 components ( Red, Green, Blue), each one of them Read more…