Jan 21 2010

GAME / MAP EDITOR (C#)

Tag: 4. PROGRAMS, GAME / MAP Editor (C#)Profas @ 5:30 pm

Hello,

This is my new project and I have been developing it now about 2-3 weeks.

ABOUT:
Idea: The main idea is to create a tool that will help to create 2D games. Basically you will be able to create a game map with different size images, save everything to one map file and easy use them with every programming language you want. There is planned a lot of cool stuff like: texture atlas, multi object usage, layers, scripting and more.
Map Types: 2D Tile Map, 2D Isometric Map, 2D Custom Images Size Map.
Game Types: Side Scroller, RPG, Puzzle, or whatever you want.
Platform: MAC OS X, Windows.
Using: C#+MonoDevelop on MAC OS X, OpenGL.
Screenshot:

.

.

.

.

PROGRESS:

DONE:
Windows.Forms window with OpenGL window inside.
Create object with selected size.
Create object with grid when dragging.
Window layouts.
Resize window.
GUI theme.
Basic actions (Clear all objects, undo, refresh, etc.).
Basic helping library.
Object events (detect hovered, detect selected).
Drag objects.
Two grids: (One helps to move objects step by step with selected size (to move precise) and other grid is visual help).
Other basic stuff.

TODO:
Texture import.
Texture editor.
Finish inspector.
Edit object.
Editor drag action.
Editor zoom action.
Change menu layout.

When I finish all “TODO” list I will write a new post to show them.

Cya!


Nov 03 2009

Types of FPSWalker (Unity3D)

Tag: 3. ARTICLES, Types of FPSWalker (Unity3D)Profas @ 1:06 am

Hello Unity3D users,

Currently I am working at my game Pro-Ball user controls. Firstly, I used given script called “FPSWalker”, but that script was not useful. So I have decided to write my own FPSWalker that have more possibilities and I named it FPSWalkerPro.

Shortly about FPSWalkerPro possibilities:
1) The main possibility is to move your object in the air while it is jumping. Also it can change speed in the air (only if speed increaser is disabled).
2) Possibility to move with speed that increases from your selected minimum and maximum speed. Speed will increase by your selected increase step size.
3) Possibility to Enable or Disable: Jump, X Axis, Z Axis, Move In Air, Speed Increaser.
4) Also there will be old parameters like: Jump Speed, Speed, Gravity.

About  FPS Walker Pro parameters:

Your new script should look like this:

FPSWalker

1) XAxis and ZAxis – those parameters will enable or disable your moving in X and Z axes. It is useful when creating a side scroller game, where you can move left or right only.
2) Jump Enabled – this will enable or disable your jump (moving to Y axis).
3) Air Speed – this will change your speed while moving in the air. Best when it is equal to Speed.
4) Speed Increaser Enabled – When using this function  the moving speed of your object will be increased by “Increase Step Size” every time the function FixedUpdate is called. It is good when creating car games or just when you don’t want the object to instantly move by constant speed.
5) Min Speed and Max Speed – this is your minimum and your maximum speed that you can get by moving object. (Works only when “Speed Increaser Enabled” is enabled.
6) Increase Step Size – that is how much you want to increase your speed when FixedUpdate is called.

Download Code File.
View Code.


Hope this information is useful!


Oct 29 2009

Pro-Ball (Unity3D test)

Tag: 2. TESTS, Pro-Ball (Unity3D)Profas @ 6:29 pm

Hello,

As I got Unity3D 1-2 weeks ago, I have created my first game. Now it is only a test version, however I decided to hear some advices and cricisism and then update to a normal game.

Future Updates:
1) More sound effects.
2) ~10 maps.
3) Ability to save your own best time results.
4) To play harder maps, you will need to win easer maps by playing with time limits.
5) Some painted GUI.
6) Better collision detection.
7) More improved controlls.
etc.

Preview:

Watch in Youtube..
Game Download.

C&C are Welcome! :-]


Oct 09 2009

Isometric (C++)

Tag: 2. TESTS, Isometric Example (C++)Profas @ 3:41 pm

Hello,

I’ve decided to put here an isometric test programmed with C++. I tried to create a game “Pro Pizza” which should have been a strategic pizzeria simulator. Is this project going to be developed I haven’t decided yet.

Screenshot:
Free Image Hosting at www.ImageShack.us
.

.

.

.

.

Dowload: Link

If anyone needs a code or an example, don’t hesitate, write me.

Profas


Sep 13 2009

Internet Explorer, why!?

Tag: 3. ARTICLES, IE, WHY!? (WEB)Profas @ 11:52 pm

Hello everyone,

Currently IE got on my nerves so much that I’ve decided to share my resentment with everybody. For starters, have you (IE users) ever thought about how much time do programmers waste adapting their page also on IE? Well, really much I have to say! If you were allowed to use a computer then at least have some respect for it not polluting it with this browser.

Even though it is really difficult to estimate the percentage of browsers usage, however, according to the statistics and many theories IE users take about 10-40%, the rest part has of course Mozilla FireFox and another small percentages belongs to Opera, Safari, Chrome, etc. Also I’ve noticed that the more serious the page is the bigger percentage of FireFox users (if comparing with IE) is. Many pages block IE users because they don’t care about them. Nevertheless, WOW! To 40%?… You have got to be kidding me…We live in modern times and technologies (which aren’t maintained by IE) are developing at a fast pace. Programers try to create programmes so that you stupid IE users could use them, so have at least some sence and update your software.

I wish all users spread Mozilla FireFox and page programmers had this function:
// index.php

  1. function get_browser_($user_agent)
  2. {
  3. $browsers = array (
  4. ‘IE6′ => ‘(MSIE 6\.[0-9]+)’,
  5. ‘IE5′ => ‘(MSIE 5\.[0-9]+)’,
  6. ‘IE4′ => ‘(MSIE 4\.[0-9]+)’,
  7. );
  8.  
  9. foreach($browsers as $browser=>$pattern)
  10. {
  11. if(eregi($pattern,$user_agent))
  12. return $browser;
  13. }
  14.  
  15. return ;
  16. }
  17.  
  18. $browser = get_browser_($_SERVER[‘HTTP_USER_AGENT’]);
  19.  
  20. if(($browser=="IE6")||($browser=="IE5")||($browser=="IE4"))
  21. {
  22. header(‘location:using_ie.php’);
  23. }
  24. ?>

// using_ie.php

  1. <span><strong>Internet Explorer 4/5/6 WILL NOT BE TOLERATED IN THIS PAGE.</strong>
  2. <a href="http://www.mozilla-europe.org/">DOWNLOAD MOZILLA FIREFOX</a> AND COMBACK LATER.</span>

Waiting for better times!

Don’t forget -  http://www.mozilla-europe.org

-Profas


Feb 27 2009

Pro-ColorTetris v2.0

Tag: 1. GAMES, Pro-ColorTetris (C++)Profas @ 12:48 pm

Hello,

Since I dropped C# technologies a little bit away I have created a new game with C++ and SDL.

About Pro-ColorTetris v2.0:

Game objective and possibilities:
Comparing with the first version of the game, there are several updates: created animations for sprites, completely corrected Lithuanian language, sounds, fast drop, score calculations with different combinations, personal best score and ONLINE TOP-10. Game objective is the same: you need to collect same collor boxes in all axes (vertical, horizontal, diagonal) more than 4 and collect as much scores as you can and beat all other players.

Created with:
C++, SDL, Code::Blocks, MySQL, php, brains.

Screenshots:
Image ImageImage Image

.

.

.

.

.

.

Game Download.

P.S.: I know this game is not fully finished and there are things that need to be done, however I will not come back to game updates. Also don’t compare my game to others, not all tetris should be the same.

So C&C are welcome and also it would be fun to have some competition.

Profas


Dec 25 2008

Pro-Balloons

Tag: 1. GAMES, Pro-Balloons (C#)Profas @ 12:37 am

Hi,
I introduce you to my new project created with C# + SDL. I have spent about 1 month making this game (especially on the game engine). Graphics are very simple, however maybe in the future with someone’s help I will insert more sprite animations in the game. Game objective is to kill all baloons, not to let them reach the end of the map, build and upgrade towers. For some people this game will be easy and for some may be hard. Try to find your best strategy.

Game includes:
1) 70 levels.
2) 4 maps.
3) 3 choices of difficulty.
4) 12 towers.

Screenshots:
ImageFree Image Hosting at www.ImageShack.us.
.
.
.
.
.
.
.
.

Game Download: Link.
Code: Link.
Requirements: Framework.NET (minimum v2.0).

Profas


Nov 08 2008

Pro-Snake

Tag: 1. GAMES, Pro-Snake (C#)Profas @ 5:02 pm

Hello,

This is my first game created with C# (DotNet SDL). Old but still fine game.

Requirements:
Framework – 2.0 or higher.

Game Download.

Game Code.

Screenshot:
Free Image Hosting at www.ImageShack.us

.

.

.

.

.

Profas


Apr 14 2008

Final BMP to TXT converter and coordinator in one with an example.

Tag: 4. PROGRAMS, R/W BMP Converter (C++)Profas @ 2:50 am

Hi,

Now you can easily download this project and try it yourself. Link to download is there.

In project you will find:
1) final.cpp – C/C++ main program code.
2) mapas.bmp – this is BMP file that we will convert to text.
3) pavyzdys.jpg – this is an example how it works.
4) final.exe – program execute file.

Program instructions with example:
1) Enter file name:  mapas.bmp
2) Enter width: 400
3) Enter height: 400
4) Now wait till program generates all information.
5) Turn off program.

You will get:
1) BMPcode.txt file you will find all bmp file pixels color codes.
2) result.txt file you will find generated text code from bmp but in reverse (GBR).
3) finished_result.txt you will find normal generated from BMP to TXT file (RGB).
4) coordinates.txt you will find all BMP file square coordinates (write a comment if you need more information).

If you would like to preview your result:
1) Open finished_result.txt with notepad.
2) Make Font: Tahoma, Bold, 1px.

final.cpp CODE: View.