Jul 28 2009

Add Icon To Your Exe in C/C++

Mikea

Ever wondered how to add an icon to your final executable? I’ll explain here how you can easily do it!

You will have to create your icon first. It should not be so hard, just google “icon creator” and you’ll find plenty of stuff to freely create your icons. Sizes must be 16×16, 32×32, 48×48, etc.. and file extension ico.

Once that is done, you just have to go to your C/C++ project, I honestly don’t know for other languages, but I’m sure it won’t be that different, and add a resource file.

Create new File with *.rc extension

File Tree

What can we add to the rc file?
You can add files that will be added to the resulting exe file after compilation. You can merge icons, bitmaps, cursors etc… The first icon in your file will represent the exe icon so in your file write.

The code you will enter has 3 parts, the first is an ID, every resource must have an ID, second is the type, third is the name.
This simple code will had the icon named filename.ico to the program executable.

1 ICON "filename.ico"

and on compilation time, your exe will have the icon :D
end result
That is all. :)
Enjoy.


Jul 28 2009

Pong Clone is Done.

Mikea

Two player mode is done. I guess to make it complete fun, I’d make a AI for it so you can play alone. I don’t know yet. We’ll see. Right now I’m getting prepared for Gamejolt August Competition which will be very important :)


Jul 28 2009

Pong Clone

Mikea

I’m updating my Clone of Pong. :) You’ll be able to download it next week-end :) I had it on the unfinished pile-o-junk in my docs, so now I’ve taken it under development again, so I can finish it. Very very lightweight game, just pong as you know it, without any fancy new stuff.


Jul 26 2009

Blockies Highscore

Mikea

I’ve played Blockies, just released to test for bugs and made a HighScore of 118508, level 11, 123 lines in 1278 seconds :) Try to beat it :)


Jul 26 2009

Blockies

Mikea

BlockiesScreen1

Blockies is a C++ Tetris Clone. I made this game in one 3 weeks or so, using the SFML library. Its very easy to play, easy to the eye, and quite enjoyable I think. I just hope you give it a try and like it. But be sure to give me some feedback, so I can improve :)

Instructions

Fill in lines to make them go away, making points. The More lines you get rid of, the more levels you will go up. And the faster the block will fall. Make highscores and share with everyone!

Game Design, Code & Gfx: Michael Adaixo
Music: Tetris Russian Theme (Zvook Remixalin) is freely available at http://8bitcollective.com/music/Guest/717/ under the Attribution-Noncommercial-Share Alike 3.0 Unported license.

Sound Effects created with the DrPetter’s sfxr.
Blockies uses: SFML.

Download

Filesize: 20.33 MB
Version: 0.1.5
Category: Games
Download Link(s): Blockies ( 184 )

Blockies Source Code (167)

Jul 20 2009

Blockies Gameplay Test

Mikea

This is the first video of blockies in action. I have the blocks falling, and I have yet to make the collision detection, scores, deleting rows, maybe some effects to it, etc… :) So far so good :D


Jul 14 2009

Attacking GamePlay and Minor Tweaks

Mikea

I am now working on the gameplay, I’ve done some images, added cool font types, and tweaked the menu. I now have to make the blocks, spawn them, make ‘em fall, collision detection, sounds, find music, polish, polish, polish.. :D

And then release :)

PS: I’ll also write a tutorial on how to make a menu with SFML, I know its not easy because I searched the net and didn’t find anything worth looking at.


Jul 14 2009

Experimental Gameplay Project is Back Online

Mikea

Yes, that’s right, the experimental gameplay project is back online with a new layout and new ways, you can’t create a dev account as you did on previous versions but you can still submit your games on the monthly game theme.

There are already dozens of games, and 6 made this month under the theme ‘Unexperimental Shooter’.

These are the games of July.

Proto Shooter, Allan Blomquist
Egg Worm Generator, Kyle Gabler
Frobot, Kyle Gray
Post IT Shooter Experimental Gameplay Project || Kloonigames, Petri Purho
Bunny Blaster, Shalin Shodhan

I don’t think I can participate this month, because I’m busy with Blockies, but maybe I’ll try next month’s theme :D

Have Fun.


Jul 10 2009

Blockies

Mikea

I’ve been developing Blockies for 2 weeks now, basically I started and made the engine the first day, but then came with a bug in the SFML library, so, it took me a 10 days to get support and a work arround. So, basically I’ve fixed the error now and I’m back to coding. That means this should count as the third dev day ? xD hehe, I was going to make it under 48h.

Good news is that next time, I’ll be aware :D

Cheers.