Home » Community » Forums » Image of the Day » Twilight Game Engine
  Intel sponsors gamedev.net search:   
[Control Panel] [Register] [Bookmarks] [Who's Online] [Active Topics] [Stats] [FAQ] [Search]
GameDev.Net Discussion Forums Image of the Day  Twilight Game Engine
Send Topic To a Friend | View Forum FAQ | Track this topic | View Forum

 Last Image Next Image 
 Twilight Game Engine
Post Reply 



Editor 1

Editor 2

Editor 3

Hi all!

This is my first image post ever and ive been visiting the GameDev website for many years so im quite happy! :D

These a only a few quickly taken screenshots of the project ive been working on for the past 7 months or so. Its called the Twilight Game Engine. It is a 2D game engine that uses the Windows API. Its extremely easy to code with and can be used to create any kind of 2D game. From Vertical shooters, side scrollers, stratedy and isometric games. When done creating 90% of the engine, i realized that i wanted users to have a way of creating maps. My solution was the Twilight Editor.
The editor allows users to choose a project type(2D tile maps or Isometric tile maps) and create a map that can be saved and then easily load into the programme you create with the engine. The editor is still in its early stages so there are only a few textures at the users disposal.

Here are a few more features/abilities of the engine:

-Creating backgrounds and cycling backgrounds.
-Dynamic sprite creation.
-Frame animation.
-Velocity and motion.
-Collision detection.
-Gravity.
-Sounds(.wav and .midi).
-Joystick control.
-Saving and loading games.
-Isometric maps.
-Tile maps.
-Keyboard and mouse control.
-Different resolutions.

The main image is a screenshot from the example game "Space Defender".
I hope someone finds this interesting. There is currently no place to download and try this(Im working on that!) ^^ Any questions and feedback welcome.


When you say "keyboard control" I suppose (since you're using win32) you mean proper keyboard management for non QWERTY layouts. It's a while I keep stumbling on games assuming QWERTY-EN. In 2009 it seems so retro (I use DVORAK-DEV mostly).


To be honest with you, i dont see the need for the ability to use non qerty layouts if qirty is the most common? I could be wrong, im not a professional, so i wouldnt really know. But its something that could still be added. So its something to think about... Thanks!


You're right in what you say - why to spend time on a feature which is not going to be used?
Because there are various QWERTY layouts for first. You probably have tilde '~' near your top left 1 key. I have '\' '|' (QWERTY-IT), if memory serves you should have ';':' right to 'l'L' (QWERTY-US), I have 'ò'ç'. Basically, everything not a digit or letter is messed up in some national QWERTY layout.

But, you may say, it's fine for now! Correct! Eventually, you'll reach a point where you'll need to have various notions around:
- Keybindings, gestures: by button, i.e. by keycode. WASD by keycode transparently becomes ,aoe in dvorak-dev. Most windows apps use this approach for undo, cut, paste, as they're really neant to be gestures rather than ctrl-'x' as char. In practice it has to bypass national layouts.
- Char input: this must respect layouts, win32 makes it easy.

Allowing the notions to blend may eventually bite you somewhere in the future. Cut-paste in GIMP (which incorrectly binds by chars) is an unnecessary punishment!

So, it's just design for some next iteration in the end.


That editor looks really nice.

As for keyboard layouts, I've found the wikipedia entry on it to be an effective tool.


Thanks for the kind words... Will keep working on it and ill check out that link..


The WP link is going to drive you mad.
Check out http://msdn.microsoft.com/en-us/library/dd458622(VS.85).aspx

In particular: GetKeyNameText, MapVirtualKeyEx, ToUnicode, VkKeyScan.


Regardless of all the constructive criticism, I just wanted to say it looks really neat, and a lot of effort has clearly gone into it.

Thumbs up.


Of course... I am fan of constructive critisism... So i apreciate everyones replies! Thats how people learn.

-_^


All times are ET (US)

Post Reply
 Last Image Next Image 
Forum Rules:
You may not post new threads
You may not post replies
You may not edit your posts
You may not use HTML in your posts
Jump To:
Administrative Options: