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.
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
That is all.
Enjoy.
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
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.
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.
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
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..
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.
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’.
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.