2d engine demo

Started by
3 comments, last by gregd 20 years, 11 months ago
Here's a demo of a 2D engine I've been working on for a little less than a month. Here is the deal. I want to create a GBA'ish environment on a PC, so it will be possible to make cool "platform"-looking games with it (side scrollers, etc). It supports most common resolutions and only 8bit pixel depth right now. It even supports 240x160x8, although only in the windowed mode. (I just want to get the 8bit part going completely first, then it's easy to rewrite the functions to 16 and 32 bits) Run at your own risk! It was pretty stable, I haven't had any problems with it. If it "crashes" (which I doubt it will, but dont take my word for it, i only tested it on 2 computers), it will most likely write stuff into system.log file and exit quietly, and you'll be able to identify what caused it. This is some of the solidest code I've written in the entire 5 years of programming, if it crashes, it's most likely the problem of your computer OR some windows-related issues that I missed (windows has a bunch of insignificant little tricks you need to know). Other than that, don't switch to full-screen from the 240x160 windowed mode, it will report that the resolution is not supported (look in system.log) and exit. Well, enuff talk, here's the testing bundle: http://www.falloutsoftware.com/soft/!ranha_release_demo1.zip (40kb) here are some precautions: - by running this demo you agree your desktop will be switched to 256 colors, and back (: - dont modify the config file! - use arrow keys to rotate and zoom the bitmap. - don't switch to full-screen from the 240x160 windowed mode - bitmap rotation is not optimized completely yet, its smooth enough on p2 and p3 though. it still needs cos/sin calculations done per scan line though, not perpixel. - I warned you it might crash, so run at your own risk. basically i'd appreciate some feedback/thoughts. Greg [edited by - gregd on April 23, 2003 11:24:22 PM]
Greg Damon
Advertisement
Seems fine. When you say "environment" do you mean basically an engine? Or a program that runs game scripts or DLLs? If so then that sounds good, though it would most likely be used just by yourself, as most programmers don''t use others'' engines unless they''re complicated 3D engines. But who knows.

~CGameProgrammer( );
DevImg.net - Post screenshots, comment on others.
Town 3D Engine - A city-rendering 3D engine. Download the demo.
~CGameProgrammer( );Developer Image Exchange -- New Features: Upload screenshots of your games (size is unlimited) and upload the game itself (up to 10MB). Free. No registration needed.
Not that I care because I''m on a lab computer but you should probably know this. After running in full screen 800x600, all buttons (Start button, minimize, maximize, and close for the windows) were changed to a shade of blue. This system is running Win2k with a generic video card. Also the title bar for some of my currently opened windows doesn''t have that blue gradient anymore, it''s just solid blue.

--------------------
Nicholas Skapura
skapura.2@wright.edu
http://skap.8k.com
AIM: skap35
--------------------Nicholas Skapuraskapura.2@wright.eduhttp://skap.8k.comAIM: skap35
quote:by running this demo you agree your desktop will be switched to 256 colors


You''re kidding right???????
---------------------http://www.stodge.net
@skap - prolly the reason he said to switch to fulscreen

This topic is closed to new replies.

Advertisement