game-engine

Models for 3d game programming?

I'm a beginner in game development and game programming. I have experience in computer graphics - mainly OpenGL In those days Finally, I have some spare time to polish my game coding skills. But when coming to program a simple 3d game, I couldn't find any good resource for free textures and models for 3d graphics (for 2d game for exampl...

DirectDraw: Clipping fails if surface is larger than backbuffer

Hello, I'm writing a game engine for mobile devices, and I'm trying to support multiple resolutions. The game world can be much larger than the screen, so I'm using a clipper to create a viewport on the world. My device has a resolution of 240x320. When I set the viewport to 240x320 and my world to 240x320, all is fine. I can slide the...

Making a hack proof game in Javascript

Suppose you created an online game in HTML5/Javascript. All the code would be downloaded into the users browser, and they would run the game. What is stopping someone from copying the game onto their computer, and injecting functions and modules to cheat? IE, they could write a function that autoaims at the nearest enemy sprite for ex...

Any code samples open-source-engines, or open source hex tile games, references for writing Hex Tile based Games?

Using other questions on here I found Amit's Page on Games including a section on Hex Tiles which also links to a game coding wiki here. I am looking for suggestions: (a) libraries, engines or code samples in any language. I have found one in python, PGU+pygame, but looking for more. (b) open source hex-tile tactics or strategy games....

why is my Win32 gdi+ game unusably slow on Windows 7?

[important new information available below at bottom of this entry] I have what I believe is a very standard game loop using GDI+. It works reasonably well (about 25 fps for a complex game, 40 fps for a simple game) on Vista and XP. When I run it on Windows 7 (with a significantly faster CPU, and more memory), it slows down so much the ...

Game engine design with dynamic properties

I am currently developing a C# .net XNA game engine. I had a question about the design of the engine. First of all I would like to have my engine be able to incorporate my own scripting language. To do so I was thinking I would have to be able to access to all the properties of all the objects in the game, or just the ones I would like...

C# delegate performance in xna game

I am currently developing a C# .net xna game engine. I have been trying to figure out a way to have an update manager / scheduler / event system. I currently am using delegates to provide a way to create dynamic scheduled tasks and events. I have recently read that delegates can be slow. The delegates in my game are being invoked every...

Several second computation in a game while maintaining 60 FPS

I've got an algorithm that takes more than several seconds to complete. I'm trying to implement it into a 60fps flash game i'm creating. I am wondering if there is some provision in ActionScript3 to interrupt a computation in order to update the frame and continue the computation afterwards. There probably isn't, so I'm assuming the best...

Any Games Engine for Delphi?

I want to create a game in Delphi Is there any good game engine for Delphi? based on directx 10 or OpenGL? I need it for 3D games, or only I can do that with C++? ...

How to create logic bricks programmatically in Blender?

I would like to let my initializing script to create additional sensors/controller/actuators necessary for an interactive Blender application (not necessarily a game). This is preferable for two reasons: I can use this script in multiple applications. Creating common logic over and over again is tedious. And there is no other way to im...

Good 2D Collision Response References

Hey, I'm currently looking for various methods of implementing collision response in 2D video games, something similar to this tutorial Metanet has: N Tutorial I'm looking to implement something in XNA, but any language would be fine. I'm more interested in implementing programmatically than actual theory. I'd prefer more beginner frien...

debug output of game objects in Haskell/Yampa and HOOD

I'm stuck with generating debug output for my game objects using Haskell/Yampa (=Arrows) (with HOOD). My engine basically runs a list of game objects which produce Output states (line, circle) which are then rendered. data Output = Circle Position2 Double | Line Vector2 output :: [Output] -> IO () output oos = mapM render oos render ...

Modifier System C#

I am trying to figure out a system that can easily modify objects on the fly. here is an example, Lets say I have an Entity2D that inherits from Entity. Entity2D has a Position property. Now I have a class called ModifyPosition that inherits from Modifier. Here is some code public class Entity { /// <summary> /// Applies the modifier...

GameSalad like tools for PC

Anyone knows of a tool like GameSalad for PC in which you don't have to write scripts or anything but just use the existing behaviors and events to create custom game logic? Thanks ...

ORPG Engine Development, structuring the code (C++, 2D)

Hey, I've been working on a game 2d ORPG Engine with a friend of mine, however we're having some troubles organizing and structuring the code. I could use some pointers, guides, tutorials, etc. on how to keep the code flexible, extendible and maintainable. Thanks for your time, Xeross ...

Writing my own 3D Game Engine

I want to write a simple 3d game engine for apply. I have bought some vital Books like : Ultimate 3D game programming by sherrod Advanced 3D Game Programming with DirectX 10.0 Real-Time Rendering, Third Edition 3D Game Engine Design, Second Edition: A Practical Approach to Real-Time Computer Graphics COMPLETE-Effect-HLSL-Guide ShaderX ...

Importing real world models into a game engine

What are the hardware and software tools required to import physical worlds into a game engine? Can i use a HD camera to do that? What do the popular game engines support? ...

Ogre3D engine based open source game?

I'm planning to use Ogre3d for 3d rendering to make a game prototype. Wanted to see how people use it. Does anybody know open source engine based on Ogre3d that is worth looking at? I have tried to search at sourceforge, but couldn't anything good. Thanks ...

Open-source urban driving simulator

Open-source urban driving simulator needed to build an automated taxi driver. The dream feature-set may include: * easy import of external AI code * other agents, such as cars and pedestrians * simulated programmable traffic and traffic regulations * relatively realistic physics engine I had a look at TORCS, which has most of these fe...

Storing spawn information for 2d platformer/scroller

I'm looking for some idea's how best to store spawn information for a side scroller. The game I'm writing is very similar to Super Mario Bros. What I'm trying to implement is as you move through a level, enemies should spawn at particular locations. I want to store this information in the level and I don't want to just randomly spawn ene...